Compare commits

..

No commits in common. "2e5ddecd863e15904ea1bc30e13a5bf88dd10949" and "f387177da50a55027c715424bbe3db95f84bed93" have entirely different histories.

3 changed files with 1 additions and 10 deletions

View file

@ -115,9 +115,3 @@ article {
text-align: center;
}
}
hgroup {
p {
text-align: center;
}
}

View file

@ -1,13 +1,10 @@
{{ define "main" }}
<hgroup>
<h1>{{ .Title }}</h1>
{{ .Content }}
</hgroup>
{{ range .Pages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ $dateHuman := .Date.Format "January 2, 2006" }}
{{ $dateMachine := .Date.Format "2006-01-02T15:04:05-07:00" }}
<p><b>reading time:</b> {{ lower .ReadingTime }} mins</p>
<p><b>first posted:</b> <time datetime="{{ $dateMachine }}">{{ lower $dateHuman }}</time></p>
<caption><blockquote>{{ .Description }}</blockquote></caption>
{{ end }}

View file

@ -6,7 +6,6 @@
{{ $lastUpdated := .Lastmod.Format "January 2, 2006" }}
{{ $lastMachine := .Lastmod.Format "2006-01-02T15:04:05-07:00" }}
<blockquote>
<p><b>reading time:</b> {{ lower .ReadingTime }} mins</p>
<p><b>first posted:</b> <time datetime="{{ $dateMachine }}">{{ lower $dateHuman }}</time></p>
{{ if ne $lastUpdated $dateHuman }}
<p><b>last updated:</b> <time datetime="{{ $lastMachine }}">{{ lower $lastUpdated }}</time></p>
@ -17,5 +16,6 @@
{{ .TableOfContents }}
<hr>
{{ .Content }}
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
</article>
{{ end }}