2018-04-14 08:08:43 +02:00
|
|
|
{{ define "header" }}
|
|
|
|
{{ $author := index .Site.Data.authors ( .Params.author | default "" ) }}
|
|
|
|
<div class="container">
|
2018-04-16 03:51:49 +02:00
|
|
|
<div class="mb-md blog-entry-header single" style="background-image: url('{{ .Site.BaseURL }}/{{ .Dir }}banner.png')">
|
2018-04-14 22:19:56 +02:00
|
|
|
<div>
|
|
|
|
<span class="title px-md py-sm has-background-dark">{{ .Title }}</span>
|
2018-04-14 08:08:43 +02:00
|
|
|
</div>
|
2018-04-14 22:19:56 +02: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-15 01:34:02 +02:00
|
|
|
on {{ .Date.Format $.Site.Params.fmt.Date }}
|
2018-04-14 22:19:56 +02:00
|
|
|
</span>
|
2018-04-14 08:08:43 +02:00
|
|
|
</div>
|
2018-04-14 22:19:56 +02:00
|
|
|
{{ else }}
|
|
|
|
<div>
|
|
|
|
<span class="h3 px-md py-sm has-background-dark">
|
2018-04-15 01:34:02 +02:00
|
|
|
Written on {{ .Date.Format $.Site.Params.fmt.Date }}
|
2018-04-14 22:19:56 +02:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2018-04-14 08:08:43 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "main" }}
|
2018-04-26 04:55:34 +02:00
|
|
|
<section class="section content pt-sm">
|
2018-04-14 08:08:43 +02:00
|
|
|
{{ .Content }}
|
2018-04-26 04:55:34 +02:00
|
|
|
</section>
|
2018-04-14 08:08:43 +02:00
|
|
|
|
|
|
|
{{ if .Params.forum }}
|
2018-04-15 01:34:02 +02: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 08:08:43 +02:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
2018-04-15 01:34:02 +02:00
|
|
|
|
2018-07-13 05:22:43 +02:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "css" }}
|
2020-07-28 09:32:51 +02:00
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.11.1/baguetteBox.min.css" type="text/css" />
|
2018-07-13 05:22:43 +02:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "scripts" }}
|
2020-07-28 09:32:51 +02:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.11.1/baguetteBox.min.js" type="text/javascript"></script>
|
2018-07-13 05:22:43 +02:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
window.addEventListener("DOMContentLoaded", function() {
|
|
|
|
baguetteBox.run('.is-img-preview');
|
|
|
|
});
|
|
|
|
</script>
|
2018-04-14 08:08:43 +02:00
|
|
|
{{ end }}
|