1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-22 10:22:19 +01:00
hugo-theme-bootstrap4-blog/layouts/_default/single.html

11 lines
520 B
HTML
Raw Normal View History

{{ define "title" }}{{ .Title }} | {{ .Site.Title }}{{ end }}
{{ define "main" }}
<article class="blog-post">
<header>
<h1 class="blog-post-title"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h1>
<p class="blog-post-meta"><time datetime="{{ .Date }}">{{ .Date.Format .Site.Params.date_format }}</time> by <a href="#">{{ .Params.author | default .Site.Params.author }}</a></p>
</header>
{{ .Content }}
</article> <!-- /.blog-post -->
{{ end }}