diff --git a/i18n/de.yaml b/i18n/de.yaml index fcb5330..9a816e4 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -6,8 +6,8 @@ - id: read_time translation: - one: "1 min" - other: "{{ .Count }} min" + one: "1 Minute" + other: "{{ .Count }} Minuten" - id: toc translation: "Inhaltsverzeichnis" @@ -15,5 +15,14 @@ - id: translations translation: "Übersetzungen" +- id: home + translation: "Home" + - id: edit_post translation: "Bearbeiten" + +- id: code_copy + translation: "Kopieren" + +- id: code_copied + translation: "Kopiert!" diff --git a/i18n/en.yaml b/i18n/en.yaml index 24d11f9..4758d36 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -18,6 +18,9 @@ - id: home translation: "Home" +- id: edit_post + translation: "Edit" + - id: code_copy translation: "copy" diff --git a/i18n/es.yaml b/i18n/es.yaml index 0d3d69a..5e90ebb 100644 --- a/i18n/es.yaml +++ b/i18n/es.yaml @@ -18,6 +18,9 @@ - id: home translation: "Inicio" +- id: edit_post + translation: "Editar" + - id: code_copy translation: "copiar" diff --git a/i18n/ko.yaml b/i18n/ko.yaml index 129ad73..db0bcc7 100644 --- a/i18n/ko.yaml +++ b/i18n/ko.yaml @@ -3,3 +3,23 @@ - id: next_page translation: "다음 페이지" + +- id: read_time + translation: + one : "1 분" + other: "{{ .Count }} 분" + +- id: toc + translation: "목차" + +- id: translations + translation: "번역" + +- id: home + translation: "홈페이지" + +- id: code_copy + translation: "복사" + +- id: code_copied + translation: "복사완료!" diff --git a/layouts/partials/cover.html b/layouts/partials/cover.html index 8ba2cd3..b4e7c78 100644 --- a/layouts/partials/cover.html +++ b/layouts/partials/cover.html @@ -4,7 +4,7 @@
{{- $responsiveImages := (.Params.cover.responsiveImages | default .Site.Params.cover.responsiveImages) | default true }} {{- $addLink := (and .Site.Params.cover.linkFullImages (not $.IsHome)) }} - {{- $cover := (.Page.Resources.ByType "image").GetMatch (printf "*%s*" (.Params.cover.image)) }} + {{- $cover := (.Resources.ByType "image").GetMatch (printf "*%s*" (.Params.cover.image)) }} {{- if $cover -}}{{/* i.e it is present in page bundle */}} {{- if $addLink }}{{ end -}} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index f53ab52..cc63659 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -46,7 +46,7 @@ {{- if .Site.Title }} {{- if .Site.Params.label.icon }} - logo {{- end -}} {{- $label_text -}} diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html index b7753f9..4e961ba 100644 --- a/layouts/partials/index_profile.html +++ b/layouts/partials/index_profile.html @@ -2,7 +2,7 @@ {{- with .Site.Params.profileMode }}
{{- if .imageUrl -}} - {{ .imageTitle | default {{- end }}

{{ .title | default $.Site.Title | markdownify }}

diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 6e6c287..89446be 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -322,6 +322,12 @@ d="M7.144 19.532l1.049-5.751c.11-.606.691-1.002 1.304-.948 2.155.192 6.877.1 8.818-4.002 2.554-5.397-.59-7.769-6.295-7.769H7.43a1.97 1.97 0 0 0-1.944 1.655L2.77 19.507a.857.857 0 0 0 .846.994h2.368a1.18 1.18 0 0 0 1.161-.969zM7.967 22.522a.74.74 0 0 0 .666.416h2.313c.492 0 .923-.351 1.003-.837l.759-4.601c.095-.523.597-.866 1.127-.819 1.86.166 5.567-.118 6.85-3.821.554-1.6.705-2.954.408-4.018" style="font-variation-settings:normal" stroke="currentColor" stroke-linejoin="miter" /> +{{- else if (eq $icon_name "phone") -}} + + + + + {{- else if (eq $icon_name "polywork") -}}