diff options
author | Jesús <heckyel@hyperbola.info> | 2020-04-16 16:24:00 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-04-16 16:24:00 -0500 |
commit | 75e218b80c21cdeeca053864d75b5e065e5adc20 (patch) | |
tree | 3c70bf2a4bcce066b4b194632de00bbeb136d1be | |
parent | 9694ed47ec2b30555713a1a498c085f1bebd2c9a (diff) | |
download | cl-75e218b80c21cdeeca053864d75b5e065e5adc20.tar.lz cl-75e218b80c21cdeeca053864d75b5e065e5adc20.tar.xz cl-75e218b80c21cdeeca053864d75b5e065e5adc20.zip |
Add 'SOURCE_LINK' variable
-rw-r--r-- | cl-theme/templates/base.html | 2 | ||||
-rw-r--r-- | pelicanconf.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/cl-theme/templates/base.html b/cl-theme/templates/base.html index 0bc836c..589920a 100644 --- a/cl-theme/templates/base.html +++ b/cl-theme/templates/base.html @@ -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"/> diff --git a/pelicanconf.py b/pelicanconf.py index fc90c0a..1e28703 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -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 |