diff options
-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 |