website/themes/scroll/layouts/post/post.html

36 lines
883 B
HTML
Raw Permalink Normal View History

2024-05-24 11:01:02 -04:00
<div class='post-holder'>
{{ if .Params.class }}
<article class="{{ .Params.class }}">
{{ else }}
<article class="post">
{{ end }}
<header class="post-header">
<a id="blog-logo" href="{{ .Site.BaseURL}}">
2024-05-27 10:12:09 -04:00
{{ if .Site.Params.logo_later }}
<a id="blog-logo" href="{{ .Site.BaseURL}}"><img src="{{ .Site.Params.logo_later }}" alt="Blog Logo" /></a>
2024-05-24 11:01:02 -04:00
{{else}}
{{ .Site.Title }}
{{ end }}
</a>
</header>
<h1 class="post-title">{{ .Title }}</h1>
<section class="post-content">
{{ .Content }}
</section>
<footer class="post-footer">
{{ if .Site.Author }}
<section class="author">
<h4>{{ .Site.Author.name}}</h4>
<p>{{ .Site.Author.bio }}</p>
</section>
{{ end }}
</footer>
</article>
</div>
<div class='post-after'></div>