mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 11:01:12 +00:00
show Wikidata link on author page
Supporting Wikidata is very wonderful. And how about make Wikidata link visible on author page? Modified bookwyrm\templates\author\author.html
This commit is contained in:
parent
13381b9b4d
commit
f8650bbb1c
1 changed files with 8 additions and 0 deletions
|
@ -73,6 +73,14 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if author.wikidata %}
|
||||||
|
<div>
|
||||||
|
<a itemprop="sameAs" href="https://www.wikidata.org/wiki/{{ author.wikidata }}" rel="nofollow noopener noreferrer" target="_blank">
|
||||||
|
{% trans "View on Wikidata" %}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if author.website %}
|
{% if author.website %}
|
||||||
<div>
|
<div>
|
||||||
<a itemprop="sameAs" href="{{ author.website }}" rel="nofollow noopener noreferrer" target="_blank">
|
<a itemprop="sameAs" href="{{ author.website }}" rel="nofollow noopener noreferrer" target="_blank">
|
||||||
|
|
Loading…
Reference in a new issue