Fixed numerous hugo warnings and errors that were showing up when building.
This commit is contained in:
parent
aa9ca7da82
commit
8e1be68674
@ -1,5 +1,7 @@
|
||||
baseurl = "https://citra-emu.org/"
|
||||
languageCode = "en-us"
|
||||
|
||||
DefaultContentLanguage = "en"
|
||||
theme = "citra-bs-theme"
|
||||
|
||||
# Define how many objects appear per pagination.
|
||||
|
2
site/i18n/en.toml
Normal file
2
site/i18n/en.toml
Normal file
@ -0,0 +1,2 @@
|
||||
[home]
|
||||
other = "Home"
|
@ -8,7 +8,9 @@
|
||||
<meta property="og:title" content="{{ if ne .URL "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}" />
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
||||
<meta property="og:url" content="{{ .Permalink }}" />
|
||||
{{- if eq .IsPage true }}
|
||||
{{ .Render "meta" }}
|
||||
{{- end }}
|
||||
|
||||
{{ .Hugo.Generator }}
|
||||
|
||||
@ -115,7 +117,7 @@
|
||||
</div>
|
||||
<div id="footer-bottom">
|
||||
<div id="footer-brand"></div>
|
||||
<div id="footer-legal">Copyright © {{ .Now.Format "2006" }} Citra Emulator Project</div>
|
||||
<div id="footer-legal">Copyright © {{ now.Format "2006" }} Citra Emulator Project</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
1
site/themes/citra-bs-theme/layouts/_default/list.json
Normal file
1
site/themes/citra-bs-theme/layouts/_default/list.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
11
site/themes/citra-bs-theme/layouts/_default/terms.html
Normal file
11
site/themes/citra-bs-theme/layouts/_default/terms.html
Normal file
@ -0,0 +1,11 @@
|
||||
{{ define "main" }}
|
||||
{{- if eq .IsPage true }}
|
||||
{{ $paginator := .Paginate .Data.Pages }}
|
||||
|
||||
{{ range $paginator.Pages }}
|
||||
{{ .Render "summary" }}
|
||||
{{ end }}
|
||||
|
||||
{{ partial "pagination" . }}
|
||||
{{- end }}
|
||||
{{ end }}
|
Loading…
Reference in New Issue
Block a user