2018-04-14 06:08:43 +00:00
|
|
|
{{ define "header" }}
|
|
|
|
{{ $author := index .Site.Data.authors ( .Params.author | default "" ) }}
|
|
|
|
<div class="container">
|
2018-04-16 01:51:49 +00:00
|
|
|
<div class="mb-md blog-entry-header single" style="background-image: url('{{ .Site.BaseURL }}/{{ .Dir }}banner.png')">
|
2018-04-14 20:19:56 +00:00
|
|
|
<div>
|
|
|
|
<span class="title px-md py-sm has-background-dark">{{ .Title }}</span>
|
2018-04-14 06:08:43 +00:00
|
|
|
</div>
|
2018-04-14 20:19:56 +00:00
|
|
|
{{ if $author }}
|
|
|
|
<div class="mt-lg">
|
|
|
|
<span class="h3 px-md py-sm has-background-dark">
|
|
|
|
Written by <a href="https://community.citra-emu.org/users/{{ $author.key }}">{{ $author.name }}</a>
|
2018-04-14 23:34:02 +00:00
|
|
|
on {{ .Date.Format $.Site.Params.fmt.Date }}
|
2018-04-14 20:19:56 +00:00
|
|
|
</span>
|
2018-04-14 06:08:43 +00:00
|
|
|
</div>
|
2018-04-14 20:19:56 +00:00
|
|
|
{{ else }}
|
|
|
|
<div>
|
|
|
|
<span class="h3 px-md py-sm has-background-dark">
|
2018-04-14 23:34:02 +00:00
|
|
|
Written on {{ .Date.Format $.Site.Params.fmt.Date }}
|
2018-04-14 20:19:56 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2018-04-14 06:08:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "main" }}
|
2018-04-26 02:55:34 +00:00
|
|
|
<section class="section content pt-sm">
|
2018-04-14 06:08:43 +00:00
|
|
|
{{ .Content }}
|
2018-04-26 02:55:34 +00:00
|
|
|
</section>
|
2018-04-14 06:08:43 +00:00
|
|
|
|
|
|
|
{{ if .Params.forum }}
|
2018-04-14 23:34:02 +00:00
|
|
|
<div class="has-text-centered">
|
|
|
|
<a class="pagination-next" href="https://community.citra-emu.org/t/{{ .Params.forum }}">Continue the discussion on our forums.</a>
|
2018-04-14 06:08:43 +00:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
2018-04-14 23:34:02 +00:00
|
|
|
|
2018-04-14 06:08:43 +00:00
|
|
|
{{ end }}
|