From c5dd48544f335ed55711b94ddb2a61841132ef35 Mon Sep 17 00:00:00 2001
From: Karl Semich <0xloem@gmail.com>
Date: Sat, 27 Aug 2016 09:38:32 -0400
Subject: Workaround for Freenet's CSS content filter hiding the title

---
 backend/resilient/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'backend/resilient')

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:
-- 
cgit v1.2.3