diff options
-rw-r--r-- | cl-theme/templates/article.html | 6 | ||||
-rw-r--r-- | cl-theme/templates/base.html | 20 | ||||
-rw-r--r-- | pelicanconf.py | 11 |
3 files changed, 24 insertions, 13 deletions
diff --git a/cl-theme/templates/article.html b/cl-theme/templates/article.html index 5195d18..136fd5c 100644 --- a/cl-theme/templates/article.html +++ b/cl-theme/templates/article.html @@ -86,7 +86,7 @@ <!-- post footer --> <div class="card-content-footer-small"> <div class="navbar is-social-center"> - <a class="navbar-item" href=""> + <a class="navbar-item" href="{{ SOCIAL['gnusocial'] }}"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial" /> @@ -94,7 +94,7 @@ </svg> </span> </a> - <a class="navbar-item" href=""> + <a class="navbar-item" href="{{ SOCIAL['diaspora'] }}"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora" /> @@ -102,7 +102,7 @@ </svg> </span> </a> - <a class="navbar-item" href=""> + <a class="navbar-item" href="{{ SOCIAL['mastodom'] }}"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodom" /> diff --git a/cl-theme/templates/base.html b/cl-theme/templates/base.html index 409f4d6..6d27382 100644 --- a/cl-theme/templates/base.html +++ b/cl-theme/templates/base.html @@ -147,7 +147,7 @@ <div class="card-content"> <div class="content social"> <div class="navbar is-social-center"> - <a class="navbar-item" href=""> + <a class="navbar-item" href="{{ SOCIAL['gnusocial'] }}"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial" /> @@ -155,7 +155,7 @@ </svg> </span> </a> - <a class="navbar-item" href=""> + <a class="navbar-item" href="{{ SOCIAL['diaspora'] }}"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora" /> @@ -163,7 +163,7 @@ </svg> </span> </a> - <a class="navbar-item" href=""> + <a class="navbar-item" href="{{ SOCIAL['mastodom'] }}"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mastodom" /> @@ -198,7 +198,7 @@ <!-- header nav content --> <div class="navbar is-social-center"> - <a class="navbar-item" href=""> + <a class="navbar-item" href="{{ SOCIAL['diaspora'] }}"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#diaspora"/> @@ -206,7 +206,7 @@ </svg> </span> </a> - <a class="navbar-item" href=""> + <a class="navbar-item" href="{{ SOCIAL['gnusocial'] }}"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#gnusocial"/> @@ -214,7 +214,7 @@ </svg> </span> </a> - <a class="navbar-item" href=""> + <a class="navbar-item" href="{{ SOCIAL['pump'] }}"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#pump"/> @@ -222,7 +222,7 @@ </svg> </span> </a> - <a class="navbar-item" href=""> + <a class="navbar-item" href="{{ SOCIAL['pixelfed'] }}"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#pixelfed"/> @@ -230,7 +230,7 @@ </svg> </span> </a> - <a class="navbar-item" href=""> + <a class="navbar-item" href="{{ SOCIAL['peertube'] }}"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#peertube"/> @@ -238,7 +238,7 @@ </svg> </span> </a> - <a class="navbar-item" href=""> + <a class="navbar-item" href="{{ SOCIAL['mediagoblin'] }}"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#mediagoblin"/> @@ -246,7 +246,7 @@ </svg> </span> </a> - <a class="navbar-item" href=""> + <a class="navbar-item" href="{{ SOCIAL['matrix'] }}"> <span class="soumaicon"> <svg> <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#matrix"/> diff --git a/pelicanconf.py b/pelicanconf.py index 15a6160..9521cde 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -102,6 +102,17 @@ SITEMAP = { } } +SOCIAL = { + 'diaspora': '#', + 'gnusocial': '#', + 'mastodom': '#', + 'matrix': '#', + 'mediagoblin': '#', + 'peertube': '#', + 'pixelfed': '#', + 'pump': '#' +} + ANOTHER_READ_MORE_LINK = 'ContinĂșa leyendo <span class="screen-reader-text">{title}</span>' ANOTHER_READ_MORE_LINK_FORMAT = ' <a class="more-link" href="{url}#read_more_link">{text}</a>' |