diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 16dfbec..6e6a52e 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,9 +6,16 @@ + - {{- if eq .IsPage true }} {{ .Render "meta" }} {{- end }} {{ .Hugo.Generator }} + + + {{- if eq .IsPage true }} + + + + {{- end }} @@ -39,7 +46,13 @@ - {{- if not .IsHome }} {{ partial "layout/navbar" . }} {{- end }} {{ block "main" . }}{{ end }} + {{- if not .IsHome }} + {{ partial "layout/navbar" . }} + {{- end }} + + {{ .Render "header" }} + + {{ block "main" . }}{{ end }}
+ {{- block "scripts" . }}{{- end }} {{- if eq (getenv "HUGO_ENV") "PRD" }} {{- end }} - - {{- block "scripts" . }}{{- end }} \ No newline at end of file diff --git a/layouts/_default/header.html b/layouts/_default/header.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 2529465..d64271d 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,11 +1,13 @@ -{{ define "main" }} -{{ $paginator := .Paginate .Data.Pages }} +{{ define "main" }} {{ $paginator := .Paginate .Data.Pages }} -{{ range $paginator.Pages }} -
- {{ .Render "summary" }} -
-{{ end }} +
+
+

{{ .Title }}

-{{ partial "layout/pagination" . }} -{{ end }} \ No newline at end of file +
+ {{ range $paginator.Pages }} {{ .Render "summary" }} {{ end }} +
+
+
+ +{{ partial "layout/pagination" . }} {{ end }} \ No newline at end of file diff --git a/layouts/_default/meta.html b/layouts/_default/meta.html deleted file mode 100644 index d50230e..0000000 --- a/layouts/_default/meta.html +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 387ad66..3b8d781 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,18 +1,8 @@ - -
-
-
- -
-
- -
-

{{ .Title }}

-

{{ .Date.Format "January 02 2006" }} by {{ .Params.author }}

- -
- {{ .Summary }} -
-
-
-
\ No newline at end of file +
+ + + + + {{ .Title }} + +
\ No newline at end of file diff --git a/layouts/page/downloads.html b/layouts/page/downloads.html new file mode 100644 index 0000000..d315eb8 --- /dev/null +++ b/layouts/page/downloads.html @@ -0,0 +1,86 @@ +{{ define "main" }} +
+
+

{{ .Title }}

+ +
+
+

At this time, yuzu does not run any commercial Switch games. yuzu can boot some games, to varying degrees + of success, but does not implement any of the necessary GPU features to render 3D graphics.

+

+ Click here for homebrew games you can download and test.

+
+
+ +
+ {{ .Content }} +
+
+
+ + +
+
+
+ +
+
+
+ +
+
+
+ +
+

Nightly Build + + Last release was + + +

+ +
+
+ + +
+ + +
+
+

Canary Build + + Last release was + + +

+ +
+
+ + +
+ + +
+
+
+
+{{ end }} + +{{ define "scripts" }} + + +{{ end }} \ No newline at end of file diff --git a/layouts/partials/layout/pagination.html b/layouts/partials/layout/pagination.html index 3f5a248..90ee66c 100755 --- a/layouts/partials/layout/pagination.html +++ b/layouts/partials/layout/pagination.html @@ -1,21 +1,27 @@ -{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }} - + + +{{ end }} \ No newline at end of file diff --git a/layouts/wiki/single.html b/layouts/wiki/header.html similarity index 72% rename from layouts/wiki/single.html rename to layouts/wiki/header.html index 4eb060d..2a58204 100644 --- a/layouts/wiki/single.html +++ b/layouts/wiki/header.html @@ -1,5 +1,4 @@ -{{ define "main" }} -
+
- -

{{ .Title }}

-
- {{ .Content }} -
-
-{{ end }} \ No newline at end of file +
\ No newline at end of file