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 }}
<section class="section">
{{ define "main" }}
<section class="section" style="padding-bottom: 0px;">
<h1 class="title">{{ .Title }}</h1>
<p>{{ .Content }}</p>
<div class="columns is-multiline">
{{ range $paginator.Pages }}
<div class="column is-6">
<div class="columns is-multiline" style="margin-top: 4px;">
{{ range .Pages }}
<div class="column is-12">
{{ .Render "summary" }}
</div>
{{ end }}
</div>
</section>
{{ partial "layout/pagination" . }} {{ end }}
{{ end }}

View file

@ -1,6 +1,9 @@
<div>
<a class="is-size-6" href="{{ .Permalink }}">
<span class="icon">
<i class="fas fa-file-alt"></i>
</span>
{{ .Title }}
</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"
homepage = "https://citra-emu.org/"
tags = []
features = ["", ""]
features = []
min_version = 0.16
[author]