From 66b27aad178e6205ded47f867a34aa1e26f796ce Mon Sep 17 00:00:00 2001 From: Karol Kuczmarski Date: Thu, 20 Aug 2015 22:25:56 -0700 Subject: [PATCH] Use THEME_STATIC_DIR for asset URL's --- templates/base.html | 10 +++++----- templates/partial/jsonld_article.html | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/base.html b/templates/base.html index 783f2a6..7fd92f4 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,13 +3,13 @@ {% if USE_LESS %} - + {% else %} - + {% endif %} - - + + {% if FEED_ALL_ATOM %} {% endif %} @@ -39,7 +39,7 @@ {% if SITELOGO %} {{ SITETITLE }} {% else %} - {{ SITETITLE }} + {{ SITETITLE }} {% endif %}

{{ SITETITLE }}

diff --git a/templates/partial/jsonld_article.html b/templates/partial/jsonld_article.html index ee2872d..8d39aab 100644 --- a/templates/partial/jsonld_article.html +++ b/templates/partial/jsonld_article.html @@ -1,7 +1,7 @@ {% if SITELOGO %} {% set default_cover = SITELOGO %} {% else %} - {% set default_cover = '{{ SITEURL }}/theme/img/profile.png' %} + {% set default_cover = '{{ SITEURL }}/{{ THEME_STATIC_DIR }}/img/profile.png' %} {% endif %}