diff options
author | Chip Senkbeil <chip.senkbeil@gmail.com> | 2015-09-27 22:44:52 +0300 |
---|---|---|
committer | Chip Senkbeil <chip.senkbeil@gmail.com> | 2015-09-27 22:44:52 +0300 |
commit | 3abdf4f24f36cf27c2dd7f641c9c05f1654b331e (patch) | |
tree | 2b3dece2b4005e39d24c7c2aa17c4c38abd81c17 | |
parent | 30b31921b9f14595d5ce08768982d62d4eca0443 (diff) |
Updated project single listing to use same as post without the date
-rw-r--r-- | layouts/partials/project/single.html | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/layouts/partials/project/single.html b/layouts/partials/project/single.html index 145b1f3..f82033b 100644 --- a/layouts/partials/project/single.html +++ b/layouts/partials/project/single.html @@ -1,12 +1,41 @@ {{ partial "core/html-start.html" . }} + {{ partial "core/head.html" . }} <body class="page-colors minimum-viewport-height"> {{ partial "core/main-menu.html" . }} - <section class="main-content"> - {{ partial "project/item" . }} - </section> + <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> + {{ partial "extra/categories.html" . }} + <span class="separator">|</span> + {{ partial "extra/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> |