fix: adapt repository.hostname -> repository.url name change

This commit is contained in:
Aravinth Manivannan 2022-07-23 22:10:13 +05:30
parent 0d1f42d5e4
commit 3c6ccc278b
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -1,4 +1,4 @@
{% set name = repository.hostname ~ "/" ~ repository.username ~ "/" ~ repository.name %} {% set name = repository.url ~ "/" ~ repository.username ~ "/" ~ repository.name %}
<div class="repository__container"> <div class="repository__container">
<h3><a href="/{{ name }}">{{ name }}</a></h3> <h3><a href="/{{ name }}">{{ name }}</a></h3>
@ -15,7 +15,7 @@
{% endif %} {% endif %}
</div> </div>
<a class="" href="{{ repository.html_url }}" target="_blank">On {{ repository.hostname }}</a> <a class="" href="{{ repository.html_url }}" target="_blank">On {{ repository.url }}</a>
{% if repository.website %} {% if repository.website %}
<a href="{{ repository.website }}" target="_blank">Homeage</a> <a href="{{ repository.website }}" target="_blank">Homeage</a>
{% endif %} {% endif %}