Skip to content

Commit

Permalink
translate "Formats" and add RDF/XML format
Browse files Browse the repository at this point in the history
  • Loading branch information
TimidRobot committed Nov 21, 2023
1 parent 2dd1a77 commit 06a0442
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions templates/legalcode.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@ <h2>{% trans "Canonical URL" %}</h2>
<a href="{{ canonical_url_cc}}">{{ canonical_url_cc }}</a>
</article>

{% if plain_text_url %}
<article class="formats">
<h2>Formats</h2>
<h2>{% trans "Formats" %}</h2>
<ul>
<li><a href="{{ plain_text_url }}">{% trans "plain text" %}</a></li>
{% if plain_text_url %}
<li><a href="{{ plain_text_url }}">{% trans "Plain Text" %}</a></li>
{% endif %}
<li><a href="rdf">RDF/XML</a></li>
</ul>
</article>
{% endif %}

</div>

Expand Down

0 comments on commit 06a0442

Please sign in to comment.