Fixed numerous hugo warnings and errors that were showing up when building.

This commit is contained in:
chris062689 2017-06-24 10:55:01 -04:00
parent aa9ca7da82
commit 8e1be68674
6 changed files with 20 additions and 2 deletions

View File

@ -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
View File

@ -0,0 +1,2 @@
[home]
other = "Home"

View File

@ -8,7 +8,9 @@
<meta property="og:title" content="{{ if ne .URL "/" }}{{ .Title }} &middot; {{ 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>

View File

@ -1,6 +1,6 @@
{{ define "main" }}
{{ $paginator := .Paginate .Data.Pages }}
{{ range $paginator.Pages }}
{{ .Render "summary" }}
{{ end }}

View File

@ -0,0 +1 @@
{}

View 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 }}