Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Reddington <791642+chrisreddington@users.noreply.github.com>2021-01-02 03:01:36 +0300
committerGitHub <noreply@github.com>2021-01-02 03:01:36 +0300
commitae4829556267548be35c41bfe60f098d2e05a9f9 (patch)
tree3ed22d39b5666212fb00e4a4503099d0123fe082 /layouts
parent9b222b3abf1c60279c8fe6433fec450c70d13e69 (diff)
Initial implementation for pronouns (#312)
Signed-off-by: Chris Reddington <791642+chrisreddington@users.noreply.github.com>
Diffstat (limited to 'layouts')
-rw-r--r--layouts/episode/single.html4
-rw-r--r--layouts/guest/list.html2
-rw-r--r--layouts/guest/single.html4
-rw-r--r--layouts/host/single.html4
-rw-r--r--layouts/partials/hosts.html2
5 files changed, 8 insertions, 8 deletions
diff --git a/layouts/episode/single.html b/layouts/episode/single.html
index 58b894e..c4cb99b 100644
--- a/layouts/episode/single.html
+++ b/layouts/episode/single.html
@@ -132,7 +132,7 @@
{{- end -}}
</div>
<div class="col-md-8">
- <h2><a href = "{{(printf "guest/%s/" .File.BaseFileName) | absURL }}">{{ .Title }}</a></h2>
+ <h2><a href = "{{(printf "guest/%s/" .File.BaseFileName) | absURL }}">{{ .Title }}</a> {{ with .Params.Pronouns }}({{ . }}){{ end }}</h2>
{{ .Content }}
{{- with .Params.Website -}}
<a href="{{ . }}">
@@ -251,7 +251,7 @@
{{- end -}}
</div>
<div class="col-md-8">
- <h2><a href = "{{(printf "host/%s/" .File.BaseFileName) | absURL }}">{{ .Title }}</a></h2>
+ <h2><a href = "{{(printf "host/%s/" .File.BaseFileName) | absURL }}">{{ .Title }}</a> {{ with .Params.Pronouns }}({{ . }}){{ end }}</h2>
{{ .Content }}
{{- with .Params.Website -}}
<a href="{{ . }}">
diff --git a/layouts/guest/list.html b/layouts/guest/list.html
index 49a8660..5f752ff 100644
--- a/layouts/guest/list.html
+++ b/layouts/guest/list.html
@@ -40,7 +40,7 @@
{{- end -}}
</div>
<div class= "col-md-6">
- <h3><a href = "{{(printf "guest/%s/" .File.BaseFileName) | absURL }}">{{ .Title }}</a></h3>
+ <h3><a href = "{{(printf "guest/%s/" .File.BaseFileName) | absURL }}">{{ .Title }}</a> {{ with .Params.Pronouns }}({{ . }}){{ end }}</h3>
<p>{{ .Content }}</p>
{{ with .Params.Website }}
<a href = "{{ . }}"><i class="fas fa-home fa-2x"></i></a>
diff --git a/layouts/guest/single.html b/layouts/guest/single.html
index f058f60..e4d851b 100644
--- a/layouts/guest/single.html
+++ b/layouts/guest/single.html
@@ -2,7 +2,7 @@
<div class = "hero_container">
<div class="row">
<div class="col">
- <h1>{{ title .Title }}</h1>
+ <h1>{{ title .Title }} {{ with .Params.Pronouns }}({{ . }}){{ end }}</h1>
</div>
</div>
{{ .Scratch.Delete "guest-names" }}
@@ -82,7 +82,7 @@
<div class="col-lg-4">
<div class = "row">
<div class="col">
- <h3>Episodes Featuring {{ .Title }}</h3>
+ <h3>Episodes Featuring {{ .Title }} {{ with .Params.Pronouns }}({{ . }}){{ end }}</h3>
{{- with .Params.guest_group -}}
{{- range where $.Site.Pages "Params.guest_group" . -}}
diff --git a/layouts/host/single.html b/layouts/host/single.html
index 92d42a9..0b000c6 100644
--- a/layouts/host/single.html
+++ b/layouts/host/single.html
@@ -2,7 +2,7 @@
<div class = "hero_container">
<div class="row">
<div class="col">
- <h1>{{ title .Title }}</h1>
+ <h1>{{ title .Title }} {{ with .Params.Pronouns }}({{ . }}){{ end }}</h1>
</div>
</div>
@@ -81,7 +81,7 @@
<div class="col-lg-4">
<div class = "row">
<div class="col">
- <h3>Episodes Hosted By {{ .Title }}</h3>
+ <h3>Episodes Hosted By {{ .Title }} {{ with .Params.Pronouns }}({{ . }}){{ end }}</h3>
<div class="list-group guest_episode_list">
{{ $.Scratch.Set "host-name" .File.BaseFileName }}
{{ range $page := (where ( where site.RegularPages "Type" "in" site.Params.mainSections) ".Params.upcoming" "!=" true ) }}
diff --git a/layouts/partials/hosts.html b/layouts/partials/hosts.html
index ac76bb7..79f1e1a 100644
--- a/layouts/partials/hosts.html
+++ b/layouts/partials/hosts.html
@@ -21,7 +21,7 @@
{{- end -}}
</div>
<div class= "col-md-6">
- <h3><a href = "{{(printf "host/%s/" .File.BaseFileName) | absURL }}">{{ .Title }}</a></h3>
+ <h3><a href = "{{(printf "host/%s/" .File.BaseFileName) | absURL }}">{{ .Title }}</a> {{ with .Params.Pronouns }}({{ . }}){{ end }}</h3>
<p>{{ .Content }}</p>
{{ with .Params.Website }}
<a href = "{{ . }}"><i class="fas fa-home fa-2x"></i></a>