mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-21 10:02:17 +01:00
Alan Orth
9b9226ca99
A survey of a handful of websites shows that this is a more common separator of article and site title than the ndash.
9 lines
481 B
HTML
9 lines
481 B
HTML
{{ define "title" }}{{ .Title }} | {{ .Site.Title }}{{ end }}
|
|
{{ define "main" }}
|
|
<article class="blog-post">
|
|
<h2 class="blog-post-title"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h2>
|
|
<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>
|
|
{{ .Content }}
|
|
</article> <!-- /.blog-post -->
|
|
{{ end }}
|