hugo-theme-stack-stars/layouts/_default/single.html

30 lines
983 B
HTML
Raw Normal View History

2020-08-22 11:20:08 +00:00
{{ define "body_class" }}2-column{{ end }}
{{ define "main" }}
2020-09-07 09:49:33 +00:00
<div class="container extended flex on-phone--column align-items--flex-start article-page with-toolbar">
2020-08-22 11:20:08 +00:00
{{ partial "sidebar/left.html" . }}
<div class="flex column do-not-overflow full-width">
2020-08-22 11:20:08 +00:00
<main class="main">
<div id="article-toolbar">
<a href="{{ .Site.BaseURL }}" class="back-home">
{{ (resources.Get "icons/back.svg").Content | safeHTML }}
<span>Back</span>
</a>
</div>
{{ partial "article/article.html" . }}
{{ partial "article/components/related-contents" . }}
{{ if or (not (isset .Params "comments")) (eq .Params.comments "true")}}
{{ partial "comments/include" . }}
2020-08-22 11:20:08 +00:00
{{ end }}
{{ partialCached "footer/footer" . }}
2020-08-22 11:20:08 +00:00
</main>
</div>
</div>
{{- partial "article/components/photoswipe.html" . -}}
{{ end }}