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]] 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: 'পরবর্তী পাতা' 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 }} 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" . }}