mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-13 06:34:24 -04:00
Merge 53d2df34cb
into 7cf752f864
This commit is contained in:
commit
ca18b07e31
4 changed files with 9 additions and 3 deletions
|
@ -31,3 +31,9 @@
|
|||
|
||||
- id: code_copied
|
||||
translation: "已复制!"
|
||||
|
||||
- id: Series
|
||||
translation: "合集"
|
||||
|
||||
- id: Tags
|
||||
translation: "标签"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{{- if .Title }}
|
||||
<header class="page-header">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<h1>{{ i18n .Title| default .Title }}</h1>
|
||||
{{- if .Description }}
|
||||
<div class="post-description">
|
||||
{{ .Description }}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
{{- $bc_pg := site.GetPage ($scratch.Get "path") -}}
|
||||
|
||||
{{- if (and ($bc_pg) (gt (len . ) 0))}}
|
||||
{{- print " » " | safeHTML -}}<a href="{{ $bc_pg.Permalink }}">{{ $bc_pg.Name }}</a>
|
||||
{{- print " » " | safeHTML -}}<a href="{{ $bc_pg.Permalink }}">{{ i18n $bc_pg.Name | default $bc_pg.Name }}</a>
|
||||
{{- end }}
|
||||
|
||||
{{- end -}}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
{{- end }}
|
||||
|
||||
{{- /* Title */}}
|
||||
<title>{{ if .IsHome }}{{ else }}{{ if .Title }}{{ .Title }} | {{ end }}{{ end }}{{ site.Title }}</title>
|
||||
<title>{{ if .IsHome }}{{ else }}{{ if .Title }}{{ i18n .Title | default .Title }} | {{ end }}{{ end }}{{ site.Title }}</title>
|
||||
|
||||
{{- /* Meta */}}
|
||||
{{- if .IsHome }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue