mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2025-08-18 04:01:11 +00:00
address comments
This commit is contained in:
parent
b3470b79dd
commit
8db001158a
|
@ -3,32 +3,31 @@
|
||||||
{{ $coauthor := index .Site.Data.authors ( .Params.coauthor | default "" ) }}
|
{{ $coauthor := index .Site.Data.authors ( .Params.coauthor | default "" ) }}
|
||||||
<div class="mb-md blog-entry-header single" style="background-image: url('{{ .Site.BaseURL }}/{{ .Dir }}banner.png')"></div>
|
<div class="mb-md blog-entry-header single" style="background-image: url('{{ .Site.BaseURL }}/{{ .Dir }}banner.png')"></div>
|
||||||
<div class="has-text-centered">
|
<div class="has-text-centered">
|
||||||
<div>
|
<div>
|
||||||
<span class="title px-md py-sm">{{ .Title }}</span>
|
<span class="title px-md py-sm">{{ .Title }}</span>
|
||||||
</div>
|
|
||||||
{{ if and $author $coauthor }}
|
|
||||||
<div>
|
|
||||||
<span class="h3 px-md py-sm ">
|
|
||||||
Written by <a href="https://community.citra-emu.org/users/{{ $author.key }}">{{ $author.name }}</a>
|
|
||||||
and <a href="https://community.citra-emu.org/users/{{ $coauthor.key }}">{{ $coauthor.name }}</a>
|
|
||||||
on {{ .Date.Format $.Site.Params.fmt.Date }}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
{{ else if $author }}
|
|
||||||
<div>
|
|
||||||
<span class="h3 px-md py-sm ">
|
|
||||||
Written by <a href="https://community.citra-emu.org/users/{{ $author.key }}">{{ $author.name }}</a>
|
|
||||||
on {{ .Date.Format $.Site.Params.fmt.Date }}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
{{ else }}
|
|
||||||
<div>
|
|
||||||
<span class="h3 px-md py-sm ">
|
|
||||||
Written on {{ .Date.Format $.Site.Params.fmt.Date }}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
</div>
|
||||||
|
{{ if and $author $coauthor }}
|
||||||
|
<div>
|
||||||
|
<span class="h3 px-md py-sm ">
|
||||||
|
Written by <a href="https://community.citra-emu.org/users/{{ $author.key }}">{{ $author.name }}</a>
|
||||||
|
and <a href="https://community.citra-emu.org/users/{{ $coauthor.key }}">{{ $coauthor.name }}</a>
|
||||||
|
on {{ .Date.Format $.Site.Params.fmt.Date }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
{{ else if $author }}
|
||||||
|
<div>
|
||||||
|
<span class="h3 px-md py-sm">
|
||||||
|
Written by <a href="https://community.citra-emu.org/users/{{ $author.key }}">{{ $author.name }}</a>
|
||||||
|
on {{ .Date.Format $.Site.Params.fmt.Date }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
{{ else }}
|
||||||
|
<div>
|
||||||
|
<span class="h3 px-md py-sm">
|
||||||
|
Written on {{ .Date.Format $.Site.Params.fmt.Date }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue