summaryrefslogtreecommitdiff
path: root/backend/resilient
diff options
context:
space:
mode:
authorKarl Semich <0xloem@gmail.com>2016-08-27 09:38:32 -0400
committerKarl Semich <0xloem@gmail.com>2016-08-27 09:38:32 -0400
commitc5dd48544f335ed55711b94ddb2a61841132ef35 (patch)
treedd4ec5141afd197832242aaa21bc108883774b7b /backend/resilient
parent75a2cc7acb5a2a83dae172003b13729baf2e2756 (diff)
downloadstandingwithresilience-c5dd48544f335ed55711b94ddb2a61841132ef35.tar.gz
standingwithresilience-c5dd48544f335ed55711b94ddb2a61841132ef35.zip
Workaround for Freenet's CSS content filter hiding the title
Diffstat (limited to 'backend/resilient')
-rw-r--r--backend/resilient/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/resilient/__init__.py b/backend/resilient/__init__.py
index fca9441..c8675d2 100644
--- a/backend/resilient/__init__.py
+++ b/backend/resilient/__init__.py
@@ -81,6 +81,8 @@ class ikiwiki:
os.mkdir(html_path)
status = os.system("ikiwiki --setup '%s' '%s' '%s'" % (ikiwiki_setup_path, wiki_src_path, html_path))
+ # workaround for ikistrap overwriting custom css files, which are included for freenet's filter
+ os.system("git checkout -- '%s'/css" % html_path)
ikiwiki.synced = (status == 0)
if ikiwiki.synced: