Added help layout. Modified list theme.

This commit is contained in:
chris062689@gmail.com 2018-10-01 21:09:47 -04:00
parent 8917bfd351
commit d7252947b1
4 changed files with 34 additions and 16 deletions

View File

@ -1,15 +1,14 @@
{{ define "main" }} {{ $paginator := .Paginate .Data.Pages }} {{ define "main" }}
<section class="section" style="padding-bottom: 0px;">
<section class="section">
<h1 class="title">{{ .Title }}</h1> <h1 class="title">{{ .Title }}</h1>
<p>{{ .Content }}</p>
<div class="columns is-multiline"> <div class="columns is-multiline" style="margin-top: 4px;">
{{ range $paginator.Pages }} {{ range .Pages }}
<div class="column is-6"> <div class="column is-12">
{{ .Render "summary" }} {{ .Render "summary" }}
</div> </div>
{{ end }} {{ end }}
</div> </div>
</section> </section>
{{ end }}
{{ partial "layout/pagination" . }} {{ end }}

View File

@ -1,6 +1,9 @@
<a class="is-size-6" href="{{ .Permalink }}"> <div>
<a class="is-size-6" href="{{ .Permalink }}">
<span class="icon"> <span class="icon">
<i class="fas fa-file-alt"></i> <i class="fas fa-file-alt"></i>
</span> </span>
{{ .Title }} {{ .Title }}
</a> </a>
<p style="margin-left: 28px;">{{ .Description }}</p>
</div>

16
layouts/help/header.html Normal file
View File

@ -0,0 +1,16 @@
{{ if .IsPage }}
<section class="section" style="padding-bottom: 0px;">
<div class="container">
<a href="/help/">
<article class="message">
<div class="message-body">
<span class="icon">
<i class="fas fa-arrow-circle-left"></i>
</span>
Return to the previous page.
</div>
</article>
</a>
</div>
</section>
{{ end }}

View File

@ -4,7 +4,7 @@ licenselink = ""
description = "Shared Bulma Theme" description = "Shared Bulma Theme"
homepage = "https://citra-emu.org/" homepage = "https://citra-emu.org/"
tags = [] tags = []
features = ["", ""] features = []
min_version = 0.16 min_version = 0.16
[author] [author]