From 72abf7440a0770d869b86733b11bb18f20f1f0da Mon Sep 17 00:00:00 2001 From: Haseop Lee Date: Sun, 9 Jan 2022 14:49:12 +0900 Subject: [PATCH 1/5] Add korean translations (#713) --- i18n/ko.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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: "복사완료!" From 0fe857539b26f408847095ee33ee842f60b6b4a7 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 13 Jan 2022 20:35:56 +0530 Subject: [PATCH 2/5] Add `absURL` to `label.icon` and `profileMode.imageUrl` fixes: #622 #623 --- layouts/partials/header.html | 2 +- layouts/partials/index_profile.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }}

From 587ab1672594ed4efb6fe9ad8daa72737369c76f Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 13 Jan 2022 21:05:57 +0530 Subject: [PATCH 3/5] Remove `.Page` method being used reference: https://github.com/gohugoio/hugo/releases/tag/v0.92.0 --- layouts/partials/cover.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -}} From 54a3c6073518005182f3c3250ddb7e8c0cacd7ad Mon Sep 17 00:00:00 2001 From: janga1 <35235201+janga1@users.noreply.github.com> Date: Thu, 13 Jan 2022 16:51:03 +0100 Subject: [PATCH 4/5] Adding 'Phone' to Socials (#635) --- layouts/partials/svg.html | 6 ++++++ 1 file changed, 6 insertions(+) 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") -}}