fix missing translation.html file
This commit is contained in:
parent
8221736777
commit
3c2c82ac6c
16
cl-theme/templates/translations.html
Normal file
16
cl-theme/templates/translations.html
Normal file
@ -0,0 +1,16 @@
|
||||
{% macro translations_for(article) %}
|
||||
{% if article.translations %}
|
||||
{{ _('Traducciones:') }}
|
||||
{% for translation in article.translations %}
|
||||
<a href="{{ SITEURL }}/{{ translation.url }}" hreflang="{{ translation.lang }}">{{ translation.lang }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro entry_hreflang(entry) %}
|
||||
{% if entry.translations %}
|
||||
{% for translation in entry.translations %}
|
||||
<link rel="alternate" hreflang="{{ translation.lang }}" href="{{ SITEURL }}/{{ translation.url }}">
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
@ -1,11 +1,9 @@
|
||||
Author: Jesús E.
|
||||
Date: 2018-08-08 18:14
|
||||
Lang: eo
|
||||
Save_as: pages/regularo-pri-uzado
|
||||
Slug: política-de-uso
|
||||
Status: hidden
|
||||
Title: Regularo pri uzado
|
||||
Url: pages/regularo-pri-uzado
|
||||
|
||||
Oni akceptas sugestojn kaj aliigojn de ĉi tiu regularo adresitaj per la
|
||||
[koncernaĵo-administrilo de Conocimientos Libres](https://libregit.org/heckyel/cl/issues)
|
Loading…
x
Reference in New Issue
Block a user