diff options
Diffstat (limited to '_libs/postprocess')
-rwxr-xr-x | _libs/postprocess | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/_libs/postprocess b/_libs/postprocess index a031a9f..7c46105 100755 --- a/_libs/postprocess +++ b/_libs/postprocess @@ -33,7 +33,9 @@ site = Path(__file__).parent.parent / '__site' for html in site.rglob('*.html'): print('Fixing up', html) html.write_text(fix_footnotes(html.read_text())) + html.chmod(0o644) for rss in site.rglob('feed.xml'): print('Fixing up', rss) rss.write_text(fix_footnotes(rss.read_text())) + rss.chmod(0o644) with suppress(FileNotFoundError): rmtree(site/'libs') |