diff options
Diffstat (limited to 'layouts/partials/_default/single.html')
-rw-r--r-- | layouts/partials/_default/single.html | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/layouts/partials/_default/single.html b/layouts/partials/_default/single.html new file mode 100644 index 0000000..c94f328 --- /dev/null +++ b/layouts/partials/_default/single.html @@ -0,0 +1,46 @@ +{{ partial "core/html-start.html" . }} + +{{ partial "core/head.html" . }} + +<body class="page-colors minimum-viewport-height"> + {{ partial "core/main-menu.html" . }} + + <div class="main-content"> + <div class="center-space"> + <div class="article-colors"> + {{ with .Params.image }} + <img src="{{ . }}" class="fill-container-width"></img> + {{ end }} + <article> + <header> + <h1 class="article-title">{{ .Title }}</h1> + <time class="date-color">{{ .Date.Format "Mon Jan 2, 2006" }}</time> + <span class="separator">|</span> + {{ partial "post/categories.html" . }} + <span class="separator">|</span> + {{ partial "post/tags.html" . }} + </header> + + <hr> + + <section> + {{ with .Params.redirect }} + <p>If you are not redirected automatically, follow the <a href="{{ . }}">link</a>.</p> + {{ else }} + {{ .Content }} + {{ end }} + </section> + + <footer class="right-align"> + <p><small>{{ .Site.Copyright | markdownify }}</small></p> + </footer> + </article> + </div> + </div> + </div> + + {{ partial "core/js.html" . }} +</body> + +{{ partial "core/html-end.html" . }} + |