Misc updates on phrasing for post meta information
- Posted "on" - Last updated "on" - Tags:/Tag: -> Tagged - Use configurable author email everywhere
This commit is contained in:
parent
2b58f28c95
commit
94678da810
|
@ -1,5 +1,5 @@
|
|||
{{ if lt .Date .Lastmod -}}
|
||||
|
|
||||
Last updated:
|
||||
Last updated on
|
||||
<time itemprop="dateModified" class="dt-updated">{{ .Lastmod.Format "2006-01-02" }}</time>
|
||||
{{- end -}}
|
||||
|
|
|
@ -1,12 +1,7 @@
|
|||
{{ $taxonomy := "tags" -}}
|
||||
{{ with .Param $taxonomy -}}
|
||||
{{- if gt (len .) 1 -}}
|
||||
|
|
||||
Tags:
|
||||
{{- else if gt (len .) 0 -}}
|
||||
|
|
||||
Tag:
|
||||
{{- end }}
|
||||
Tagged
|
||||
{{ range $index, $tag := . -}}{{- with $.Site.GetPage (printf "/%s/%s" $taxonomy $tag) -}}
|
||||
{{- if $index -}}, {{ end -}}<a href="{{ .RelPermalink }}">{{ $tag | urlize }}</a>{{- end -}}{{- end }}
|
||||
{{- end -}}
|
||||
|
|
|
@ -24,7 +24,7 @@ Tag:
|
|||
Questions/comments:
|
||||
|
||||
=> mailto:~hedy/posts@lists.sr.ht Public gemlog mailing list (plain-text only)
|
||||
=> mailto:{{ .Site.Author.Email }} Or email me directly
|
||||
=> mailto:{{ .Site.Author.email }} Or email me directly
|
||||
|
||||
=> .. Home
|
||||
{{- end }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{ define "main" }}
|
||||
{{ define "main" -}}
|
||||
<div itemscope itemtype="https://schema.org/BlogPosting" class="h-entry">
|
||||
<article itemprop="mainEntityOfPage">
|
||||
<header id="post-header">
|
||||
|
@ -7,8 +7,8 @@
|
|||
<div class="post-description"><p><em>{{ . }}</em></p></div>
|
||||
{{- end }}
|
||||
<div class="post-meta">
|
||||
<p>
|
||||
<time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006-01-02" }}</time>
|
||||
<p>Posted on
|
||||
<time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006-01-02" }}</time>
|
||||
{{ partial "tags.html" . }}
|
||||
{{ partial "lastmod.html" . }}
|
||||
|
|
||||
|
@ -22,7 +22,7 @@
|
|||
</section>
|
||||
</article>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
{{- define "after" }}
|
||||
<p id="#EOF">EOF</p>
|
||||
<section class="comments">
|
||||
|
@ -30,7 +30,7 @@
|
|||
Questions, comments? Send an email to my
|
||||
<a href="mailto:~hedy/posts@lists.sr.ht">blog-post mailing list</a>
|
||||
(with <a href="https://useplaintext.email">plain text</a>)
|
||||
or to me <a href="mailto:hedy@tilde.cafe">directly</a>.
|
||||
or to me <a href="mailto:{{ .Site.Author.email }}">directly</a>.
|
||||
</p>
|
||||
</section>
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in New Issue