diff options
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/aoidh/assets/aoidh.css | 2 | ||||
| -rw-r--r-- | themes/aoidh/layouts/_partials/terms.html | 23 |
2 files changed, 1 insertions, 24 deletions
diff --git a/themes/aoidh/assets/aoidh.css b/themes/aoidh/assets/aoidh.css index 0d52fc3..caf22b4 100644 --- a/themes/aoidh/assets/aoidh.css +++ b/themes/aoidh/assets/aoidh.css @@ -154,7 +154,7 @@ th, td { vertical-align: middle; } -th { +th, th * { font-weight: 500; } diff --git a/themes/aoidh/layouts/_partials/terms.html b/themes/aoidh/layouts/_partials/terms.html deleted file mode 100644 index 8a6ebec..0000000 --- a/themes/aoidh/layouts/_partials/terms.html +++ /dev/null @@ -1,23 +0,0 @@ -{{- /* -For a given taxonomy, renders a list of terms assigned to the page. - -@context {page} page The current page. -@context {string} taxonomy The taxonomy. - -@example: {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} -*/}} - -{{- $page := .page }} -{{- $taxonomy := .taxonomy }} - -{{- with $page.GetTerms $taxonomy }} - {{- $label := (index . 0).Parent.LinkTitle }} - <div> - <div>{{ $label }}:</div> - <ul> - {{- range . }} - <li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li> - {{- end }} - </ul> - </div> -{{- end }} |