Lanyon update
This commit is contained in:
parent
a56b6f866f
commit
6283825517
28 changed files with 452 additions and 474 deletions
|
@ -1,12 +1,19 @@
|
|||
{{ define "main" -}}
|
||||
<div class="post">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<time datetime={{ .Date.Format "2006-01-02T15:04:05Z0700" }} class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</time>
|
||||
|
||||
{{ if ne .Type "page" -}}
|
||||
<div class="post-date">
|
||||
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time> · {{ .ReadingTime }} min read
|
||||
</div>
|
||||
{{- end }}
|
||||
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
{{ if .Site.DisqusShortname -}}
|
||||
{{ if (and .Site.DisqusShortname (eq .Params.DisableComments false)) -}}
|
||||
<h2>Comments</h2>
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
{{- end }}
|
||||
|
||||
{{- end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue