From 575b0b0e38ccf8446bcc3c4995ae3616c8159ffc Mon Sep 17 00:00:00 2001 From: Aniket Teredesai <50461557+icy-comet@users.noreply.github.com> Date: Sat, 16 Jul 2022 12:28:52 +0530 Subject: [PATCH 1/7] Update hindi translation (#977) --- i18n/hi.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/i18n/hi.yaml b/i18n/hi.yaml index 24e8fc6..681efdc 100644 --- a/i18n/hi.yaml +++ b/i18n/hi.yaml @@ -1,14 +1,17 @@ - id: prev_page - translation: "पिछला पृष्ठ" + translation: "पिछला" - id: next_page - translation: "अगला पृष्ठ" + translation: "अगला" - id: read_time translation: one : "एक मिनट" other: "{{ .Count }} मिनट" +- id: edit_post + translation: "सुधारें" + - id: toc translation: "विषय - सूची" From 450e8867a64eafe1ca301a25e3e0878b4da5cbfa Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 17 Jul 2022 00:19:07 +0530 Subject: [PATCH 2/7] Update inTextImg.html Fix Bad value 15px for attribute height on element img: Expected a digit but saw p instead. --- layouts/shortcodes/inTextImg.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/inTextImg.html b/layouts/shortcodes/inTextImg.html index 5e6d84d..0239fd6 100644 --- a/layouts/shortcodes/inTextImg.html +++ b/layouts/shortcodes/inTextImg.html @@ -2,4 +2,4 @@ {{- $height := (.Get "height") }} {{- $alt := (.Get "alt") }} -{{$alt}} \ No newline at end of file +{{$alt}} From bb6d4647bdf5716bfa6ccf5f91ef87d5297da758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Achim=20Kr=C3=A4mer?= <39946364+pxlfrk@users.noreply.github.com> Date: Sun, 17 Jul 2022 08:12:42 +0200 Subject: [PATCH 3/7] add missing Icons, update Icon style (#733) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 💄 Update Icons - add Icon for Micro.blog - add Icon for xmpp - add Icon for session messenger - update Steam Icon to fit to line icon style of papermod-theme Signed-off-by: Achim Krämer <39946364+pxlfrk@users.noreply.github.com> * refactor alphabetically Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com> --- layouts/partials/svg.html | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 9d8616b..f66fa9c 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -360,6 +360,17 @@ d="M0 380 l0 -380 380 0 380 0 0 380 0 380 -380 0 -380 0 0 -380z m334 85 c30 -63 57 -115 59 -115 2 0 16 30 31 68 15 37 37 88 49 115 l20 47 76 0 76 -1 -27 -20 -28 -21 0 -151 c0 -150 0 -151 27 -179 l27 -28 -109 0 -109 0 27 28 c26 27 27 32 26 143 0 131 3 134 -71 -58 -24 -62 -48 -113 -53 -113 -6 0 -17 16 -24 35 -7 19 -36 83 -64 142 l-52 108 -3 -98 c-3 -97 -2 -99 28 -133 16 -19 30 -39 30 -44 0 -6 -31 -10 -70 -10 -45 0 -70 4 -70 11 0 6 14 27 30 46 30 33 30 35 30 151 0 116 0 118 -31 155 l-30 37 75 0 76 0 54 -115z" /> +{{- else if (eq $icon_name "microblog") -}} + + + + + + {{- else if (eq $icon_name "mixcloud") -}} +{{- else if (eq $icon_name "sessionmessenger") -}} + + + + {{- else if (eq $icon_name "soundcloud") -}} + d="M-24.6 20.8c-1.4-.8-2.7-1.5-4.1-2.3-2.4-1.5-3.6-3.6-3.3-6.5.3-3 2.8-5.2 5.8-5.3h11c2.6 0 4.6 2.2 4.7 4.7 0 2.6-2 4.8-4.6 4.9h-2.8v.2c.2.2.5.3.7.5 1.2.7 2.4 1.3 3.6 2 2.5 1.5 3.7 4.5 2.9 7.2-.8 2.7-3.1 4.3-6.1 4.4h-10.6c-2.4 0-4.3-1.9-4.6-4.3-.3-2.3 1.2-4.5 3.5-5.1.6-.1 1.2-.1 1.7-.2h2.1c.1 0 .1-.1.1-.2zm4.3-3.8c-.1.3-.2.3-.2.4v3.9c0 1.1-.1 1.2-1.2 1.2h-5.1c-.4 0-.9 0-1.3.1-1.6.4-2.5 1.9-2.4 3.6.2 1.6 1.6 2.9 3.3 2.9h10.5c2.1 0 3.8-1.2 4.5-3.1.7-1.8.2-4.1-1.5-5.3-2.1-1.3-4.3-2.4-6.6-3.7zm-1.7 3.4v-4c0-1.4.1-1.5 1.4-1.5h5.3c1.5 0 2.7-1 3.1-2.4.6-2.2-1-4.2-3.4-4.3h-10.1c-2.4 0-4.3 1.3-4.9 3.4-.6 2.1.4 4.4 2.5 5.5 1.7 1 3.5 1.9 5.2 2.9.4.2.6.3.9.4z" /> + + + + + + {{- else if (eq $icon_name "strava") -}} @@ -555,6 +584,12 @@ +{{- else if (eq $icon_name "xmpp") -}} + + + + {{- else if (eq $icon_name "ycombinator") -}} Date: Sun, 17 Jul 2022 10:58:40 +0530 Subject: [PATCH 4/7] Remove alt for label.icon considering "iconic images that are redundant with text next to them or purely decorative should have alt="" instead." from https://validator.w3.org/ --- layouts/partials/header.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 63cf652..1e29e75 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -60,10 +60,10 @@ {{- $img = $img.Resize "x30" }} {{- end }} {{- end }} - logo {{- else }} - logo {{- end -}} {{- end -}} From 77ffb308c32a46a9336dcebbc242cb325ea98fa9 Mon Sep 17 00:00:00 2001 From: Aniket Teredesai <50461557+icy-comet@users.noreply.github.com> Date: Sat, 23 Jul 2022 09:45:32 +0530 Subject: [PATCH 5/7] Allow adding SVG in place of logo image (#976) Usage => Params.label.iconSVG: "" --- assets/css/common/header.css | 2 +- layouts/partials/header.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/css/common/header.css b/assets/css/common/header.css index 5a21384..64894da 100644 --- a/assets/css/common/header.css +++ b/assets/css/common/header.css @@ -27,7 +27,7 @@ font-weight: 700; } -.logo a img { +.logo a img, .logo a svg { display: inline; vertical-align: middle; pointer-events: none; diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 1e29e75..4a7291e 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -66,6 +66,8 @@ {{- end -}} + {{- else if hasPrefix site.Params.label.iconSVG " From 0f37c0615ec7f1996ea452045dae2da18a7d48ff Mon Sep 17 00:00:00 2001 From: Aniket Teredesai <50461557+icy-comet@users.noreply.github.com> Date: Sun, 24 Jul 2022 12:22:35 +0530 Subject: [PATCH 6/7] add vimeo icon (#975) --- layouts/partials/svg.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index f66fa9c..79b09ad 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -571,6 +571,11 @@ d="M37.892,13.5h-4.486 l-1.143-3.306C31.707,8.581,30.189,7.5,28.483,7.5h-9.045c-1.706,0-3.224,1.081-3.781,2.694L14.515,13.5H9.108 c-2.545,0-4.608,2.063-4.608,4.608v16.785c0,2.545,2.063,4.608,4.608,4.608h28.785c2.545,0,4.608-2.063,4.608-4.608V18.108 C42.5,15.563,40.437,13.5,37.892,13.5z" /> +{{- else if (eq $icon_name "vimeo") -}} + + + {{- else if (eq $icon_name "xda") -}} Date: Sun, 24 Jul 2022 15:55:28 +0900 Subject: [PATCH 7/7] Add a meta tag for naver site verification (#991) --- layouts/partials/head.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b9ebda2..35257fc 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -32,6 +32,9 @@ {{- if site.Params.analytics.bing.SiteVerificationTag }} {{- end }} +{{- if site.Params.analytics.naver.SiteVerificationTag }} + +{{- end }} {{- /* Styles */}}