diff options
author | Karl Semich <0xloem@gmail.com> | 2016-08-27 09:38:32 -0400 |
---|---|---|
committer | Karl Semich <0xloem@gmail.com> | 2016-08-27 09:38:32 -0400 |
commit | c5dd48544f335ed55711b94ddb2a61841132ef35 (patch) | |
tree | dd4ec5141afd197832242aaa21bc108883774b7b /backend/resilient | |
parent | 75a2cc7acb5a2a83dae172003b13729baf2e2756 (diff) | |
download | standingwithresilience-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__.py | 2 |
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: |