mirror of
https://github.com/yuzu-emu/shared-bulma-theme
synced 2024-11-22 17:13:38 +00:00
Added help layout. Modified list theme.
This commit is contained in:
parent
8917bfd351
commit
d7252947b1
4 changed files with 34 additions and 16 deletions
|
@ -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 }}
|
||||
|
|
|
@ -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
16
layouts/help/header.html
Normal 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 }}
|
|
@ -4,7 +4,7 @@ licenselink = ""
|
|||
description = "Shared Bulma Theme"
|
||||
homepage = "https://citra-emu.org/"
|
||||
tags = []
|
||||
features = ["", ""]
|
||||
features = []
|
||||
min_version = 0.16
|
||||
|
||||
[author]
|
||||
|
|
Loading…
Reference in a new issue