diff --git a/themes/briar/layouts/_default/section.html b/themes/briar/layouts/_default/section.html new file mode 100644 index 0000000000000000000000000000000000000000..ce70db856601fef233bed4a8dbd6cd712192413a --- /dev/null +++ b/themes/briar/layouts/_default/section.html @@ -0,0 +1,18 @@ +{{ define "main" }} + <div id="container"> + <div id="content"> + <h1>{{ with .Title }} {{ . }} {{ else }} {{ .Site.Title }} {{ end }}</h1> + {{ range first 10 .Pages.ByDate.Reverse }} + <h3 itemprop="headline" class="blog-post-title"> + <a href="{{.Permalink}}">{{.Title}}</a> + </h3> +<p class="blog-post-meta">{{.Date.Format "2006-01-02"}} + {{ if (isset .Params "author") }} + by {{ markdownify .Params.author }} + {{ end }} + </p> + {{ end }} + {{ .Content }} + </div> <!-- content --> + </div> <!-- container --> +{{ end }}