Tweak configuration and template
This commit is contained in:
parent
14ae098c18
commit
e7c4816d31
3 changed files with 11 additions and 2 deletions
|
@ -2,8 +2,14 @@ baseURL = 'https://ctrlz.es/'
|
||||||
languageCode = 'es-es'
|
languageCode = 'es-es'
|
||||||
title = 'Control + Z'
|
title = 'Control + Z'
|
||||||
theme = 'clean'
|
theme = 'clean'
|
||||||
|
disableHugoGeneratorInject = true
|
||||||
|
enableEmoji = true
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
[params.contact]
|
[params.contact]
|
||||||
|
name = 'Miguel de la Cruz'
|
||||||
email = 'mgdelacroix@gmail.com'
|
email = 'mgdelacroix@gmail.com'
|
||||||
mastodon = 'https://social.ctrlz.es/@mgdelacroix'
|
mastodon = 'https://social.ctrlz.es/@mgdelacroix'
|
||||||
|
[params.author]
|
||||||
|
name = 'Miguel de la Cruz'
|
||||||
|
email = 'mgdelacroix@gmail.com'
|
||||||
|
|
|
@ -2,4 +2,3 @@
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
|
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
|
||||||
{{ partialCached "head/css.html" . }}
|
{{ partialCached "head/css.html" . }}
|
||||||
{{ partialCached "head/js.html" . }}
|
|
||||||
|
|
|
@ -13,7 +13,11 @@ For a given taxonomy, renders a list of terms assigned to the page.
|
||||||
{{- with $page.GetTerms $taxonomy }}
|
{{- with $page.GetTerms $taxonomy }}
|
||||||
{{- $label := (index . 0).Parent.LinkTitle }}
|
{{- $label := (index . 0).Parent.LinkTitle }}
|
||||||
<div>
|
<div>
|
||||||
<div>{{ $label }}:</div>
|
{{if eq $label "Tags"}}
|
||||||
|
<div>Etiquetas</div>
|
||||||
|
{{else}}
|
||||||
|
<div>{{ $label }}:</div>
|
||||||
|
{{end}}
|
||||||
<ul>
|
<ul>
|
||||||
{{- range . }}
|
{{- range . }}
|
||||||
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
||||||
|
|
Loading…
Reference in a new issue