Attempt 1 to resolve #72
Signed-off-by: GitHub Action <action@github.com>
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
{{- if (and (in .Site.Params.human "single") (ne .Type "posts")) -}}
|
||||
<div class="human single"><a href="https://humanmademark.com/" target="_blank" rel="external noreferrer noopener"><abbr title="I don't hate AIs; but I love humans!">{{- partial "svg.html" (dict "context" . "name" "human-made") -}}</abbr></a></div>
|
||||
<div class="human single"><a href="https://humanmademark.com/" target="_blank" rel="external noreferrer noopener"><abbr title="{{- if fileExists "i18n" -}} {{ i18n "humanMade" }} {{- else -}} I don't hate AIs; but I love humans! {{- end -}}">{{- partial "svg.html" (dict "context" . "name" "humanMade") -}}</abbr></a></div>
|
||||
{{- end -}}
|
||||
{{- if (and (in .Site.Params.human "posts") (eq .Type "posts")) -}}
|
||||
<div class="human posts"><a href="https://humanmademark.com/" target="_blank" rel="external noreferrer noopener"><abbr title="I don't hate AIs; but I love humans!">{{- partial "svg.html" (dict "context" . "name" "human-made") -}}</abbr></a></div>
|
||||
|
||||
<div class="human posts"><a href="https://humanmademark.com/" target="_blank" rel="external noreferrer noopener"><abbr title="{{- if fileExists "i18n" -}} {{ i18n "humanMade" }} {{- else -}} I don't hate AIs; but I love humans! {{- end -}}">{{- partial "svg.html" (dict "context" . "name" "humanMade") -}}</abbr></a></div>
|
||||
{{- end -}}
|
@ -9,7 +9,7 @@
|
||||
{{- with .Params.categories }}
|
||||
<p>{{- partial "svg.html" (dict "context" . "name" "posts_single_categories") -}}{{- range . -}}<span class="category"><a href="{{ "categories/" | absLangURL }}{{ . | urlize }}">{{.}}</a></span>{{- end }}</p>
|
||||
{{- end }}
|
||||
<p>{{- partial "svg.html" (dict "context" . "name" "posts_single_wordcount") }}{{ i18n "wordCount" . -}} {{- partial "readTime.html" . -}}</p>
|
||||
<p>{{- partial "svg.html" (dict "context" . "name" "posts_single_wordcount") }}{{- if fileExists "i18n" -}} {{ i18n "wordCount" . -}} {{- else -}} {{ .WordCount }} Words {{- end -}} {{- partial "readTime.html" . -}}</p>
|
||||
<p>{{- partial "svg.html" (dict "context" . "name" "posts_single_date") }}{{ dateFormat .Site.Params.dateformNumTime .Date.Local -}}
|
||||
{{- if and (not (eq .Page.Params.ShowLastmod nil)) (.Page.Params.ShowLastmod) -}}
|
||||
{{- if and .GitInfo .Site.Params.gitUrl -}}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{{- $related := .Site.RegularPages.Related . | first 5 }}
|
||||
{{ with $related }}
|
||||
<div class="related-posts thin">
|
||||
<h2>{{ i18n "seeAlso" }}</h2>
|
||||
<h2>{{- if fileExists "i18n" -}} {{ i18n "seeAlso" }} {{- else -}} See Also {{- end -}}</h2>
|
||||
<ul>
|
||||
{{ range . }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user