Permalink
Browse files

move file

  • Loading branch information...
tarpdalton committed Feb 3, 2018
1 parent 7957906 commit e9b659a27797aaf77beca714a3fd3e1699cf9765
Showing with 44 additions and 0 deletions.
  1. +44 −0 layouts/page/index.html
View
@@ -0,0 +1,44 @@
{{ partial "header.html" . }}
{{if .Site.Params.cover}}
{{if or (eq (substr .Site.Params.cover 0 7) "http://") (eq (substr .Site.Params.cover 0 8) "https://")}}
<header class="main-header" style="background-image: url({{.Site.Params.cover}})">
{{ else }}
<header class="main-header" style="background-image: url({{.Site.Params.cover | relURL}})">
{{ end }}
{{else}}
<header class="main-header no-cover">
{{end}}
<nav class="main-nav overlay clearfix">
{{ if .Site.Params.logo }}
<a class="blog-logo" href="{{ .Permalink }}"><img src="{{ .Site.Params.logo | relURL}}" alt="Blog Logo" /></a>
{{end}}
{{ if .Site.Menus.main }}
<a class="menu-button" href="#"><span class="burger">&#9776;</span><span class="word">Menu</span></a>
{{else}}
{{ if .Site.Params.RSSLink}}
<a class="menu-button icon-feed" href="{{.Site.Params.RSSLink }}">&nbsp;&nbsp;Subscribe</a>
{{else}}
<a class="menu-button icon-feed" href="{{ .RSSLink }}">&nbsp;&nbsp;Subscribe</a>
{{end}}
{{end}}
</nav>
<div class="vertical">
<div class="main-header-content inner">
{{ partial "social.html" . }}
<h1 class="page-title">{{ .Site.Title }}</h1>
<h2 class="page-description">{{ .Site.Params.description }}</h2>
</div>
</div>
<a class="scroll-down icon-arrow-left" href="#content"><span class="hidden">Scroll Down</span></a>
</header>
<main id="content" class="content" role="main">
{{ partial "home-content.html" . }}
</main>
{{ partial "footer.html" . }}

0 comments on commit e9b659a

Please sign in to comment.