diff --git a/pelicanconf.py b/pelicanconf.py index ac4dde2..9d76ac4 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -42,17 +42,16 @@ EXTRA_PATH_METADATA = { THEME = 'themes/varia' THEME_STATIC_DIR = 'theme/' -STATIC_PATHS = "images/" I18N_SUBSITES = { 'en': { 'SITESUBTITLE':u'Centre for Everyday Technology', - 'SITEURL':'varia.zone/en/', + 'SITEURL':'varia.zone/en/', 'locale':'en_US.UTF-8' }, 'nl': { 'SITESUBTITLE':u'Centrum voor Alledaagse Technologie', - 'SITEURL':'varia.zone/', + 'SITEURL':'varia.zone/', 'locale':'nl.UTF-8' } } diff --git a/themes/varia/templates/syndication.html b/themes/varia/templates/syndication.html index c412348..c1cff3f 100644 --- a/themes/varia/templates/syndication.html +++ b/themes/varia/templates/syndication.html @@ -28,9 +28,16 @@ serves as the default image for posts whose featured_image is not set. #} {% if article.featured_image %} - - - + {% if I18N_SUBSITES %} + {% for lang, url in I18N_SUBSITES.items() %} + {% if lang == 'en' %} + + + + + {% endif %} + {% endfor %} +{% endif %} {% else %} {% if FEATURED_IMAGE %}