Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions config-epub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,51 +5,39 @@ languages:
en:
title: darktable user manual
languageName: English
weight: 1
fr:
title: darktable user manual
languageName: Français
weight: 2
de:
title: darktable user manual
languageName: German
weight: 4
eo:
title: darktable user manual
languageName: Esperanto
weight: 5
es:
title: darktable user manual
languageName: Español
weight: 6
gl:
title: darktable user manual
languageName: Galician
weight: 7
it:
title: darktable user manual
languageName: Italian
weight: 8
pl:
title: darktable user manual
languageName: Polish
weight: 9
pt_br:
title: manual do usuário darktable
languageName: Português
weight: 10
uk:
title: darktable user manual
languageName: Ukrainian
weight: 11
nl:
title: darktable user manual
languageName: Dutch
weight: 12
lo:
title: darktable user manual
languageName: Lao
weight: 13
theme:
- hugo-darktable-docs-epub-theme
markup:
Expand Down
12 changes: 0 additions & 12 deletions config-pdf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,51 +5,39 @@ languages:
en:
title: darktable user manual
languageName: English
weight: 1
fr:
title: darktable user manual
languageName: Français
weight: 2
de:
title: darktable user manual
languageName: German
weight: 4
eo:
title: darktable user manual
languageName: Esperanto
weight: 5
es:
title: darktable user manual
languageName: Español
weight: 6
gl:
title: darktable user manual
languageName: Galician
weight: 7
it:
title: darktable user manual
languageName: Italian
weight: 8
pl:
title: darktable user manual
languageName: Polish
weight: 9
pt_br:
title: manual do usuário darktable
languageName: Português
weight: 10
uk:
title: darktable user manual
languageName: Ukrainian
weight: 11
nl:
title: darktable user manual
languageName: Dutch
weight: 12
lo:
title: darktable user manual
languageName: Lao
weight: 13
theme:
- hugo-darktable-docs-pdf-theme
markup:
Expand Down
12 changes: 0 additions & 12 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,51 +5,39 @@ languages:
en:
title: darktable user manual
languageName: English
weight: 1
fr:
title: darktable user manual
languageName: Français
weight: 2
de:
title: darktable user manual
languageName: German
weight: 4
eo:
title: darktable user manual
languageName: Esperanto
weight: 5
es:
title: darktable user manual
languageName: Español
weight: 6
gl:
title: darktable user manual
languageName: Galician
weight: 7
it:
title: darktable user manual
languageName: Italian
weight: 8
pl:
title: darktable user manual
languageName: Polish
weight: 9
pt_br:
title: manual do usuário darktable
languageName: Português
weight: 10
uk:
title: darktable user manual
languageName: Ukrainian
weight: 11
nl:
title: darktable user manual
languageName: Dutch
weight: 12
lo:
title: darktable user manual
languageName: Lao
weight: 13
theme:
- hugo-darktable-docs-theme
markup:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ <h1>
{{ .Content }}

{{ if .IsTranslated }}
<h4>{{ i18n "translations" }}</h4>
<h4>{{ i18n "translations" | default "translations" }}</h4>
<ul>
{{ range .Translations }}
{{ range (sort .Translations ".Language.LanguageName") }}
<li><a href="{{ .Permalink }}">
{{ .Lang }}: {{ .Title }}{{ if .IsPage }}{{ end }}
</a></li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1 class="title">
{{ if .IsTranslated }}
<h3 class="translations_head">{{ i18n "translations" | default "translations" }}</h3>
<ul class="translations">
{{ range .Translations }}
{{ range (sort .Translations ".Language.LanguageName") }}
<li><a href="{{ .RelPermalink }}">
{{ .Language.LanguageName }}: {{ .Title }}{{ if .IsPage }}{{ end }}
</a></li>
Expand Down
2 changes: 1 addition & 1 deletion themes/hugo-darktable-docs-theme/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{{ if .IsTranslated }}
<h3 class="translations_head">{{ i18n "translations" | default "translations" }}</h3>
<ul class="translations">
{{ range .Translations }}
{{ range (sort .Translations ".Language.LanguageName") }}
<li><a href="{{ .RelPermalink }}">
{{ .Language.LanguageName }}: {{ .Title }}{{ if .IsPage }}{{ end }}
</a></li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
href="{{ .Permalink }}"
>{{ .Site.Language.LanguageName }}</a
>
{{ range .Translations }}
{{ range (sort .Translations ".Language.LanguageName") }}
<a
class="dropdown-item"
hreflang="{{ .Language.Lang }}"
Expand Down
Loading