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/"
|
baseurl = "https://citra-emu.org/"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
|
|
||||||
|
DefaultContentLanguage = "en"
|
||||||
theme = "citra-bs-theme"
|
theme = "citra-bs-theme"
|
||||||
|
|
||||||
# Define how many objects appear per pagination.
|
# Define how many objects appear per pagination.
|
||||||
|
|
|
@ -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:title" content="{{ if ne .URL "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}" />
|
||||||
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
||||||
<meta property="og:url" content="{{ .Permalink }}" />
|
<meta property="og:url" content="{{ .Permalink }}" />
|
||||||
|
{{- if eq .IsPage true }}
|
||||||
{{ .Render "meta" }}
|
{{ .Render "meta" }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{ .Hugo.Generator }}
|
{{ .Hugo.Generator }}
|
||||||
|
|
||||||
|
@ -115,7 +117,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="footer-bottom">
|
<div id="footer-bottom">
|
||||||
<div id="footer-brand"></div>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ $paginator := .Paginate .Data.Pages }}
|
{{ $paginator := .Paginate .Data.Pages }}
|
||||||
|
|
||||||
{{ range $paginator.Pages }}
|
{{ range $paginator.Pages }}
|
||||||
{{ .Render "summary" }}
|
{{ .Render "summary" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
{}
|
|
@ -0,0 +1,11 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
{{- if eq .IsPage true }}
|
||||||
|
{{ $paginator := .Paginate .Data.Pages }}
|
||||||
|
|
||||||
|
{{ range $paginator.Pages }}
|
||||||
|
{{ .Render "summary" }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ partial "pagination" . }}
|
||||||
|
{{- end }}
|
||||||
|
{{ end }}
|
Reference in New Issue