Merge branch 'master' into i18n-en

This commit is contained in:
Matthias Thym 2021-08-30 14:19:31 +02:00 committed by GitHub
commit 6b3312159c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 4 deletions

View File

@ -17,23 +17,37 @@ list:
other: Unterabschnitte other: Unterabschnitte
article: article:
back:
other: Zurück
tableOfContents:
other: Inhaltsverzeichnis
relatedContents: relatedContents:
other: Verwandte Inhalte other: Verwandte Inhalte
lastUpdatedOn: lastUpdatedOn:
other: Zuletzt aktualisiert am other: Zuletzt aktualisiert am
readingTime:
one: "{{ .Count }} Minute Lesezeit"
other: "{{ .Count }} Minuten Lesezeit"
notFound: notFound:
title: title:
other: Seite nicht gefunden other: Seite nicht gefunden
subtitle: subtitle:
other: Diese Seite existiert nicht. other: Diese Seite existiert nicht
widget: widget:
archives: archives:
title: title:
other: Archiv other: Archiv
more: more:
other: Weitere other: Weitere
tagCloud: tagCloud:
title: title:
other: Schlagwörter other: Schlagwörter
@ -41,13 +55,16 @@ widget:
search: search:
title: title:
other: Suche other: Suche
placeholder: placeholder:
other: Etwas tippen... other: Etwas tippen...
resultTitle: resultTitle:
other: "#PAGES_COUNT pages (#TIME_SECONDS seconds)" other: "#PAGES_COUNT Seiten (#TIME_SECONDS Sekunden)"
footer: footer:
builtWith: builtWith:
other: Erstellt mit {{ .Generator }} other: Erstellt mit {{ .Generator }}
designedBy: designedBy:
other: Theme {{ .Theme }} gestaltet von {{ .DesignedBy }} other: Theme {{ .Theme }} gestaltet von {{ .DesignedBy }}

View File

@ -17,14 +17,26 @@ list:
other: Subsecciones other: Subsecciones
article: article:
back:
other: Volver
tableOfContents:
other: Tabla de contenido
relatedContents: relatedContents:
other: Contenidos relacionados other: Contenidos relacionados
lastUpdatedOn: lastUpdatedOn:
other: Última vez actualizado other: Última vez actualizado
readingTime:
one: "{{ .Count }} minuto a leer"
other: "{{ .Count }} minutos a leer"
notFound: notFound:
title: title:
other: No Encontrado other: No Encontrado
subtitle: subtitle:
other: Esta página no existe other: Esta página no existe
@ -32,8 +44,10 @@ widget:
archives: archives:
title: title:
other: Archivo other: Archivo
more: more:
other: Más other: Más
tagCloud: tagCloud:
title: title:
other: Etiquetas other: Etiquetas
@ -41,13 +55,16 @@ widget:
search: search:
title: title:
other: Búsqueda other: Búsqueda
placeholder: placeholder:
other: Teclea algo... other: Teclea algo...
resultTitle: resultTitle:
other: "#PAGES_COUNT páginas en (#TIME_SECONDS segundos)" other: "#PAGES_COUNT páginas en (#TIME_SECONDS segundos)"
footer: footer:
builtWith: builtWith:
other: Creado con {{ .Generator }} other: Creado con {{ .Generator }}
designedBy: designedBy:
other: Tema {{ .Theme }} diseñado por {{ .DesignedBy }} other: Tema {{ .Theme }} diseñado por {{ .DesignedBy }}

View File

@ -1,13 +1,14 @@
{{- $src := .Get "src" | default (.Get 0) -}}
<div class="video-wrapper"> <div class="video-wrapper">
<video <video
controls controls
src="{{- $src -}}"
{{ with .Get "poster" }}poster="{{- . -}}"{{ end }} {{ with .Get "poster" }}poster="{{- . -}}"{{ end }}
{{ with .Get "src" }}src="{{- . -}}"{{ end }}
{{ with .Get "autoplay" }}autoplay{{ end }} {{ with .Get "autoplay" }}autoplay{{ end }}
> >
<p> <p>
Your browser doesn't support HTML5 video. Here is a Your browser doesn't support HTML5 video. Here is a
<a href="{{ with .Get "src" }}{{- . -}}{{ end }}">link to the video</a> instead. <a href="{{- $src -}}">link to the video</a> instead.
</p> </p>
</video> </video>
</div> </div>