Browse Source

actualizar tema

master
tarteka 2 years ago
parent
commit
46cac96678
2 changed files with 33 additions and 1 deletions
  1. +32
    -0
      themes/hermit/i18n/es.toml
  2. +1
    -1
      themes/hermit/layouts/_default/list.html

+ 32
- 0
themes/hermit/i18n/es.toml View File

@ -0,0 +1,32 @@
# Translations for Spanish
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# 404.html
#
[notFound]
other = "Oops, esta página no existe..."
[home]
other = "Inicio"
[archives]
other = "Blog"
# posts/single.html
#
[wordCount]
other = "{{ .WordCount }} palabras"
[tableOfContents]
other = "Índice"
[newer]
other = "Anterior"
[older]
other = "Posterior"
# _default/list.html
#
[title]
other = "Blog"

+ 1
- 1
themes/hermit/layouts/_default/list.html View File

@ -4,7 +4,7 @@
{{ define "main" }}
<main class="site-main section-inner thin animated fadeIn faster">
<h1>{{ .Title }}</h1>
<h1>{{ i8n "title" }}</h1> <!-- .Title -->
{{- if .Content }}
<div class="content">
{{ .Content }}

Loading…
Cancel
Save