mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2025-08-17 15:51:15 +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 "" ) }}
|
||||
<div class="mb-md blog-entry-header single" style="background-image: url('{{ .Site.BaseURL }}/{{ .Dir }}banner.png')"></div>
|
||||
<div class="has-text-centered">
|
||||
<div>
|
||||
<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>
|
||||
<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>
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue