diff options
-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> |