Add 'SOURCE_LINK' variable

This commit is contained in:
Jesús 2020-04-16 16:24:00 -05:00
parent 9694ed47ec
commit 75e218b80c
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
2 changed files with 3 additions and 2 deletions

View File

@ -303,7 +303,7 @@
</p>
<p>{{ _('Este sitio es Software Libre') }}</p>
<p>
<a href="https://libregit.org/heckyel/cl">{{ _('Código fuente') }}</a>
<a href="{{ SOURCE_LINK }}" rel="noopener noreferrer" target="_blank">{{ _('Código fuente') }}</a>
<span class="soumaicon">
<svg>
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#code"/>

View File

@ -46,10 +46,11 @@ PLUGINS = [
# Optional: 'comments' is the default
COMMENTS_DIR = ['comments']
AUTHOR = 'Jesús E.'
SITENAME = 'Conocimientos Libres'
SITENAME_SINGLE = 'CL'
SITEURL = 'https://conocimientoslibres.tuxfamily.org'
AUTHOR = 'Jesús E.'
SOURCE_LINK = 'https://libregit.org/heckyel/cl'
# URL settings
# https://docs.getpelican.com/en/stable/settings.html#url-settings