mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-25 19:54:31 +01:00
Alan Orth
3042101003
I think this should be an H1 since it's in a standalone article tag but for some reason WordPress' latest themes use an H2, so I'll use one too until I go read the W3C docs.
17 lines
650 B
HTML
17 lines
650 B
HTML
<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-8 blog-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 -->
|
|
</div> <!-- /.blog-main -->
|
|
|
|
{{ if not .Site.Params.sidebar.hide }}
|
|
{{ partial "sidebar.html" . }}
|
|
{{ end }}
|
|
|
|
</div> <!-- /.row -->
|
|
</div> <!-- /.container -->
|