citra-emu
/
citra-web
Archived
1
0
Fork 0

Change /users/ to /u/

This commit is contained in:
sakuramipha 2023-03-08 02:59:45 +00:00 committed by GitHub
parent 0eee5eaba3
commit 47bc5edb16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -11,27 +11,27 @@
<div class="entry-written-by"> <div class="entry-written-by">
{{ if $author }} {{ if $author }}
<a href="https://community.citra-emu.org/users/{{ $author.key }}"> <a href="https://community.citra-emu.org/u/{{ $author.key }}">
<img src="{{ $author.avatar }}" class="avatar"> <img src="{{ $author.avatar }}" class="avatar">
</a> </a>
{{ end }} {{ end }}
{{ if $coauthor }} {{ if $coauthor }}
<a href="https://community.citra-emu.org/users/{{ $coauthor.key }}"> <a href="https://community.citra-emu.org/u/{{ $coauthor.key }}">
<img src="{{ $coauthor.avatar }}" class="avatar"> <img src="{{ $coauthor.avatar }}" class="avatar">
</a> </a>
{{ end }} {{ end }}
{{ if $coauthor2 }} {{ if $coauthor2 }}
<a href="https://community.citra-emu.org/users/{{ $coauthor2.key }}"> <a href="https://community.citra-emu.org/u/{{ $coauthor2.key }}">
<img src="{{ $coauthor2.avatar }}" class="avatar"> <img src="{{ $coauthor2.avatar }}" class="avatar">
</a> </a>
{{ end }} {{ end }}
{{ if and (and $author $coauthor) $coauthor2 }} {{ if and (and $author $coauthor) $coauthor2 }}
<p>Written by <a href="https://community.citra-emu.org/users/{{ $author.key }}">{{ $author.name }}</a>, <a href="https://community.citra-emu.org/users/{{ $coauthor.key }}">{{ $coauthor.name }}</a> and <a href="https://community.citra-emu.org/users/{{ $coauthor2.key }}">{{ $coauthor2.name }}</a> on {{ .Date.Format "Monday January 02, 2006" }}</p> <p>Written by <a href="https://community.citra-emu.org/u/{{ $author.key }}">{{ $author.name }}</a>, <a href="https://community.citra-emu.org/u/{{ $coauthor.key }}">{{ $coauthor.name }}</a> and <a href="https://community.citra-emu.org/u/{{ $coauthor2.key }}">{{ $coauthor2.name }}</a> on {{ .Date.Format "Monday January 02, 2006" }}</p>
{{ else if and $author $coauthor }} {{ else if and $author $coauthor }}
<p>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 "Monday January 02, 2006" }}</p> <p>Written by <a href="https://community.citra-emu.org/u/{{ $author.key }}">{{ $author.name }}</a> and <a href="https://community.citra-emu.org/u/{{ $coauthor.key }}">{{ $coauthor.name }}</a> on {{ .Date.Format "Monday January 02, 2006" }}</p>
{{ else if $author }} {{ else if $author }}
<p>Written by <a href="https://community.citra-emu.org/users/{{ $author.key }}">{{ $author.name }}</a> on {{ .Date.Format "Monday January 02, 2006" }}</p> <p>Written by <a href="https://community.citra-emu.org/u/{{ $author.key }}">{{ $author.name }}</a> on {{ .Date.Format "Monday January 02, 2006" }}</p>
{{ else }} {{ else }}
<p>No author was provided. Written on {{ .Date.Format "Monday January 02, 2006" }}</p> <p>No author was provided. Written on {{ .Date.Format "Monday January 02, 2006" }}</p>
{{ end }} {{ end }}