From fae51a0d6dded0e8bd143658ef31b44ad605ddb5 Mon Sep 17 00:00:00 2001 From: Kanematsu Gaku Date: Fri, 7 Jan 2022 00:06:05 +0900 Subject: [PATCH 1/6] add-google-analytics-v4-support --- layouts/partials/head.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b2aaef6..af9acc0 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -61,6 +61,8 @@ {{ template "_internal/google_analytics_async.html" . }} + {{ template "_internal/google_analytics.html" . }} + {{ template "_internal/google_news.html" . }} {{ template "_internal/opengraph.html" . }} From 74e87565aadf7727c4cf0c0f582ac473613f1282 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Fri, 11 Feb 2022 18:12:08 +0100 Subject: [PATCH 2/6] Allow rendering of subscript, superscript and other raw html markup --- exampleSite/.gitignore | 1 + exampleSite/config.toml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/exampleSite/.gitignore b/exampleSite/.gitignore index 62fc17f..66500fd 100644 --- a/exampleSite/.gitignore +++ b/exampleSite/.gitignore @@ -27,3 +27,4 @@ _testmain.go /public /themes .DS_Store +.hugo_build.lock \ No newline at end of file diff --git a/exampleSite/config.toml b/exampleSite/config.toml index da194ab..428a939 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -20,6 +20,12 @@ title = "Paper" instagram = 'nan.xiaobei' # ------------------------------ +# needed to render raw HTML (e.g. , , , ) +[markup] + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true + [menu] [[menu.main]] From d731827930c316e7566da7421e94fef5d3590924 Mon Sep 17 00:00:00 2001 From: Nils Ramsperger Date: Sat, 12 Feb 2022 20:01:09 +0100 Subject: [PATCH 3/6] Date is hidden when none is provided --- layouts/_default/single.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index fac5bd9..d1b471e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,7 +3,9 @@

+ {{ if .Date }} + {{ end }} {{ if or .Params.Author site.Author.name }} {{ .Params.Author | default site.Author.name }} {{ end }} From e0fbd671ec0243d0c8636402b9269fd97d86fe61 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 31 Mar 2022 02:35:44 +0000 Subject: [PATCH 4/6] Bump minimist from 1.2.5 to 1.2.6 Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 7f7065a..6c71fb6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1115,9 +1115,9 @@ minimist-options@4.1.0: kind-of "^6.0.3" minimist@^1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" - integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== + version "1.2.6" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" + integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== ms@2.1.2: version "2.1.2" From 7c6c686be0f4af48b04fe3febc2be9d0cf07d267 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 31 Mar 2022 22:08:25 +0000 Subject: [PATCH 5/6] Bump ansi-regex from 5.0.0 to 5.0.1 Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/chalk/ansi-regex/releases) - [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1) --- updated-dependencies: - dependency-name: ansi-regex dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 6c71fb6..c926634 100644 --- a/yarn.lock +++ b/yarn.lock @@ -275,9 +275,9 @@ ajv@^8.0.1: uri-js "^4.2.2" ansi-regex@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" - integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== ansi-styles@^3.2.1: version "3.2.1" From b848ebfc095be6e442f803c831acaffae0865967 Mon Sep 17 00:00:00 2001 From: Mehedi Hasan <0xmehedi@tutanota.com> Date: Tue, 21 Jun 2022 22:25:00 +0600 Subject: [PATCH 6/6] Add i18n support for Bengali --- i18n/bn.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 i18n/bn.yaml diff --git a/i18n/bn.yaml b/i18n/bn.yaml new file mode 100644 index 0000000..292442d --- /dev/null +++ b/i18n/bn.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'পূর্ববর্তী পাতা' + +- id: next_page + translation: 'পরবর্তী পাতা'