Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions templates/macros/publication.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ <h2 class="text-xl font-bold text-blue-600 hover:text-blue-800 visited:text-purp
{% if bibdata and bibdata.url -%}
<a class="rounded-md border-solid border border-blue-600 inline-flex items-center text-blue-600 justify-center px-2 py-1 mr-2 text-xs font-bold" target="_blank" href="{{bibdata.url}}"> url </a>
{% endif -%}

{% if page.extra.code %}
<a class="rounded-md border-solid border border-blue-600 inline-flex items-center text-blue-600 justify-center px-2 py-1 mr-2 text-xs font-bold" target="_blank" href="{{ page.extra.code }}"> code </a>
{% endif -%}
{% endif -%}
</a>
{% if show_frame -%}
Expand Down
5 changes: 5 additions & 0 deletions templates/publication-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ <h1 class="grow font-bold font-sans break-normal text-gray-900 text-3xl">{{publi
{% if bibdata and bibdata.url %}
<a class="rounded-md border-solid border border-blue-600 inline-flex items-center text-blue-600 justify-center px-2 py-1 mr-2 text-xs font-bold" href="{{bibdata.url}}"> url </a>
{% endif %}

{% if page.extra.code %}
<a class="rounded-md border-solid border border-blue-600 inline-flex items-center text-blue-600 justify-center px-2 py-1 mr-2 text-xs font-bold" target="_blank" href="{{ page.extra.code }}"> code </a>
{% endif %}

</div>
</div>

Expand Down