1
0
Fork 0
# Conflicts:
#	yarn.lock
This commit is contained in:
nanxiaobei 2022-07-01 01:16:38 +08:00
commit 134ef1cc53
5 changed files with 16 additions and 0 deletions

View file

@ -27,3 +27,4 @@ _testmain.go
/public /public
/themes /themes
.DS_Store .DS_Store
.hugo_build.lock

View file

@ -20,6 +20,12 @@ title = "Paper"
instagram = 'nan.xiaobei' instagram = 'nan.xiaobei'
# ------------------------------ # ------------------------------
# needed to render raw HTML (e.g. <sub>, <sup>, <kbd>, <mark>)
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[menu] [menu]
[[menu.main]] [[menu.main]]

5
i18n/bn.yaml Normal file
View file

@ -0,0 +1,5 @@
- id: prev_page
translation: 'পূর্ববর্তী পাতা'
- id: next_page
translation: 'পরবর্তী পাতা'

View file

@ -3,7 +3,9 @@
<article class="post-single"> <article class="post-single">
<header class="post-title"> <header class="post-title">
<p> <p>
{{ if .Date }}
<time>{{ .Date | time.Format ":date_medium" }}</time> <time>{{ .Date | time.Format ":date_medium" }}</time>
{{ end }}
{{ if or .Params.Author site.Author.name }} {{ if or .Params.Author site.Author.name }}
<span>{{ .Params.Author | default site.Author.name }}</span> <span>{{ .Params.Author | default site.Author.name }}</span>
{{ end }} {{ end }}

View file

@ -61,6 +61,8 @@
<!----> <!---->
{{ template "_internal/google_analytics_async.html" . }} {{ template "_internal/google_analytics_async.html" . }}
<!----> <!---->
{{ template "_internal/google_analytics.html" . }}
<!---->
{{ template "_internal/google_news.html" . }} {{ template "_internal/google_news.html" . }}
<!----> <!---->
{{ template "_internal/opengraph.html" . }} {{ template "_internal/opengraph.html" . }}