mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-12-22 18:55:30 +00:00
commit
380c9bcf50
|
@ -10,11 +10,11 @@
|
||||||
{{ if and $author .Params.coauthor }}
|
{{ if and $author .Params.coauthor }}
|
||||||
<div>
|
<div>
|
||||||
<p class="h3 px-md py-sm">
|
<p class="h3 px-md py-sm">
|
||||||
Written by <a href="https://community.citra-emu.org/users/{{ $author.key }}">{{ $author.name }}</a>
|
Written by <a href="https://community.citra-emu.org/u/{{ $author.key }}/summary">{{ $author.name }}</a>
|
||||||
{{/* if len($coauthors) < 2 */}}
|
{{/* if len($coauthors) < 2 */}}
|
||||||
{{ if lt (len $coauthors) 2 }}
|
{{ if lt (len $coauthors) 2 }}
|
||||||
{{ $coauthor := index .Site.Data.authors ( .Params.coauthor | default "" ) }}
|
{{ $coauthor := index .Site.Data.authors ( .Params.coauthor | default "" ) }}
|
||||||
and <a href="https://community.citra-emu.org/users/{{ $coauthor.key }}">{{ $coauthor.name }}</a>
|
and <a href="https://community.citra-emu.org/u/{{ $coauthor.key }}/summary">{{ $coauthor.name }}</a>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
in collaboration with
|
in collaboration with
|
||||||
{{ $length := len $coauthors }}
|
{{ $length := len $coauthors }}
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
{{ if eq $i (sub $length 1) }}
|
{{ if eq $i (sub $length 1) }}
|
||||||
and
|
and
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<a href="https://community.citra-emu.org/users/{{ $coauthor.key }}">{{ $coauthor.name }}</a>{{- if lt $i (sub $length 1) -}},{{- end -}}
|
<a href="https://community.citra-emu.org/u/{{ $coauthor.key }}/summary">{{ $coauthor.name }}</a>{{- if lt $i (sub $length 1) -}},{{- end -}}
|
||||||
{{/* if i < (length - 1) */}}
|
{{/* if i < (length - 1) */}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
{{ else if $author }}
|
{{ else if $author }}
|
||||||
<div>
|
<div>
|
||||||
<span class="h3 px-md py-sm">
|
<span class="h3 px-md py-sm">
|
||||||
Written by <a href="https://community.citra-emu.org/users/{{ $author.key }}">{{ $author.name }}</a>
|
Written by <a href="https://community.citra-emu.org/u/{{ $author.key }}/summary">{{ $author.name }}</a>
|
||||||
on {{ .Date.Format $.Site.Params.fmt.Date }}
|
on {{ .Date.Format $.Site.Params.fmt.Date }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -74,4 +74,4 @@
|
||||||
baguetteBox.run('.is-img-preview');
|
baguetteBox.run('.is-img-preview');
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue