Merge branch 'main' of github.com:nanxiaobei/hugo-paper
This commit is contained in:
commit
e3d39acf6c
2 changed files with 10 additions and 1 deletions
5
i18n/fr.yaml
Normal file
5
i18n/fr.yaml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
- id: prev_page
|
||||||
|
translation: 'Page précédente'
|
||||||
|
|
||||||
|
- id: next_page
|
||||||
|
translation: 'Page suivante'
|
|
@ -33,10 +33,14 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- Preload -->
|
<!-- Preload -->
|
||||||
|
{{ $dark_icon := "theme.png" }}
|
||||||
|
{{ if site.Params.monoDarkIcon }}
|
||||||
|
{{ $dark_icon := "theme.svg" }}
|
||||||
|
{{ end }}
|
||||||
<link
|
<link
|
||||||
rel="preload"
|
rel="preload"
|
||||||
as="image"
|
as="image"
|
||||||
href="{{ `theme.{{ if site.Params.monoDarkIcon }}svg{{ else }}png{{ end }}` | absURL }}"
|
href="{{ $dark_icon | absURL }}"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{{ $avatar_url := $.Scratch.Get "avatar_url" }}
|
{{ $avatar_url := $.Scratch.Get "avatar_url" }}
|
||||||
|
|
Loading…
Reference in a new issue