diff options
author | rsiddharth <s@ricketyspace.net> | 2019-05-15 21:25:16 -0400 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2019-05-15 21:25:16 -0400 |
commit | c079bf2601dd797d1b73393fa30dcb13e1ceeb9a (patch) | |
tree | 3a623c892f39a75b2d4f63f3394466aa8be2a053 | |
parent | 086f890f3e602c2a2fa5de8124d512856b7f9ed6 (diff) |
bin/news: Update process.
* bin/news (process): Dump html to _build/news/
-rw-r--r-- | bin/news | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -115,12 +115,15 @@ def html(t, d, c): def process(f): c = read(f.path) + s = slug(f.path) t = title(c) d = date(c) c = content(c) h = html(t, d, c) + write('/'.join(['_build', 'news', s, 'index.html']), h) + def run(): for f in files(): |