From d7252947b11d5b66584b05c742f3623e7294631d Mon Sep 17 00:00:00 2001 From: "chris062689@gmail.com" Date: Mon, 1 Oct 2018 21:09:47 -0400 Subject: [PATCH] Added help layout. Modified list theme. --- layouts/_default/list.html | 17 ++++++++--------- layouts/_default/summary.html | 15 +++++++++------ layouts/help/header.html | 16 ++++++++++++++++ theme.toml | 2 +- 4 files changed, 34 insertions(+), 16 deletions(-) create mode 100644 layouts/help/header.html diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e5dc6d1..606b102 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,15 +1,14 @@ -{{ define "main" }} {{ $paginator := .Paginate .Data.Pages }} - -
+{{ define "main" }} +

{{ .Title }}

- -
- {{ range $paginator.Pages }} -
+

{{ .Content }}

+ +
+ {{ range .Pages }} +
{{ .Render "summary" }}
{{ end }}
- -{{ partial "layout/pagination" . }} {{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 6ac6b5f..033e793 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,6 +1,9 @@ - - - - - {{ .Title }} - +
+ + + + + {{ .Title }} + +

{{ .Description }}

+
\ No newline at end of file diff --git a/layouts/help/header.html b/layouts/help/header.html new file mode 100644 index 0000000..2de5b2b --- /dev/null +++ b/layouts/help/header.html @@ -0,0 +1,16 @@ +{{ if .IsPage }} +
+ +
+{{ end }} \ No newline at end of file diff --git a/theme.toml b/theme.toml index 569d0f1..63cc440 100644 --- a/theme.toml +++ b/theme.toml @@ -4,7 +4,7 @@ licenselink = "" description = "Shared Bulma Theme" homepage = "https://citra-emu.org/" tags = [] -features = ["", ""] +features = [] min_version = 0.16 [author]