Merge branch 'main' of https://github.com/nanxiaobei/hugo-paper
# Conflicts: # yarn.lock
This commit is contained in:
commit
134ef1cc53
5 changed files with 16 additions and 0 deletions
1
exampleSite/.gitignore
vendored
1
exampleSite/.gitignore
vendored
|
@ -27,3 +27,4 @@ _testmain.go
|
||||||
/public
|
/public
|
||||||
/themes
|
/themes
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.hugo_build.lock
|
|
@ -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
5
i18n/bn.yaml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
- id: prev_page
|
||||||
|
translation: 'পূর্ববর্তী পাতা'
|
||||||
|
|
||||||
|
- id: next_page
|
||||||
|
translation: 'পরবর্তী পাতা'
|
|
@ -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 }}
|
||||||
|
|
|
@ -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" . }}
|
||||||
|
|
Loading…
Reference in a new issue