mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Add mising <p>
This commit is contained in:
parent
010ada8292
commit
16bf64f009
2 changed files with 11 additions and 7 deletions
|
@ -17,9 +17,11 @@
|
|||
{{ .Title }}
|
||||
</a>
|
||||
</h2>
|
||||
<p>
|
||||
Noted <time itemprop="datePublished" class="dt-published published" datetime="{{ .Date.Format "2006-01-02 15:04:05Z07:00" }}">{{ .Date.Format "2006-01-02 15:04:05" }}</time>
|
||||
{{- if gt (sub .Lastmod.Unix .Date.Unix) 3600 -}}
|
||||
, updated <time{{ if not (.Params.evergreen) }} itemprop="dateModified" class="dt-updated updated"{{ end }} datetime="{{ .Lastmod.Format "2006-01-02 15:04:05Z07:00" }}">{{ .Lastmod.Format "2006-01-02 15:04:05" }}</time>
|
||||
</p>
|
||||
{{- end }}
|
||||
<div class="e-content entry-content" itemprop="articleBody">
|
||||
{{- if .Params.replyURI -}}
|
||||
|
|
|
@ -39,10 +39,12 @@
|
|||
{{- else -}}
|
||||
</h3>
|
||||
{{- end }}
|
||||
<p>
|
||||
Posted <time itemprop="datePublished" class="dt-published published" datetime="{{ .Date.Format "2006-01-02 15:04:05Z07:00" }}">{{ .Date.Format "2006-01-02" }}</time>
|
||||
{{- if lt .Date .Lastmod -}}
|
||||
, updated <time{{ if not (.Params.evergreen) }} itemprop="dateModified" class="dt-updated updated"{{ end }} datetime="{{ .Lastmod.Format "2006-01-02 15:04:05Z07:00" }}">{{ .Lastmod.Format "2006-01-02" }}</time>
|
||||
{{- end }}
|
||||
</p>
|
||||
|
||||
<p class="p-summary entry-summary" itemprop="description">{{ .Description }}</p>
|
||||
<p>{{- partial "wordcount.html" . -}}</p>
|
||||
|
|
Loading…
Reference in a new issue