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-07-13 03:22:43 +00:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "css" }}
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.10.0/baguetteBox.min.css" type="text/css" />
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "scripts" }}
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.10.0/baguetteBox.min.js" type="text/javascript"></script>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
window.addEventListener("DOMContentLoaded", function() {
|
|
|
|
baguetteBox.run('.is-img-preview');
|
|
|
|
});
|
|
|
|
</script>
|
2018-04-14 06:08:43 +00:00
|
|
|
{{ end }}
|