From 4ded6599059c8f3999c6ad02c02828084a44e94b Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Thu, 30 Jul 2020 17:00:13 +0200 Subject: Make theme work with relative paths --- themes/elenq/static/css/prism.css | 1 + themes/elenq/templates/base.html | 25 +++++++++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) (limited to 'themes/elenq') diff --git a/themes/elenq/static/css/prism.css b/themes/elenq/static/css/prism.css index 48351b6..4258e59 100644 --- a/themes/elenq/static/css/prism.css +++ b/themes/elenq/static/css/prism.css @@ -8,6 +8,7 @@ https://prismjs.com/download.html#themes=prism&languages=bash+clojure+latex+lisp * Edited by Ekaitz Zarraga to make it fit in ElenQ Technology style. */ +pre.highlight, code[class*="language-"], pre[class*="language-"] { background: none; diff --git a/themes/elenq/templates/base.html b/themes/elenq/templates/base.html index c0f2811..e21c4e8 100644 --- a/themes/elenq/templates/base.html +++ b/themes/elenq/templates/base.html @@ -31,14 +31,14 @@ {% endif %} {% endblock head %} - - - - - + + + + + - - + + @@ -51,15 +51,20 @@ {% endfor %} {% if DISPLAY_CATEGORIES_ON_MENU -%} {% for cat, null in categories %} - {{ cat }} + {{ cat }} {% endfor %} {% endif %}
-

{{ SITENAME }}{% if SITESUBTITLE %}:
{{ SITESUBTITLE }}{% endif %}

+

{{ SITENAME }}{% if SITESUBTITLE %}:
{{ SITESUBTITLE }}{% endif %}

{% block content %} {% endblock content %}
-- cgit v1.2.3