From c079bf2601dd797d1b73393fa30dcb13e1ceeb9a Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Wed, 15 May 2019 21:25:16 -0400 Subject: bin/news: Update process. * bin/news (process): Dump html to _build/news/ --- bin/news | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/news') diff --git a/bin/news b/bin/news index 8240c06..9498d9f 100644 --- a/bin/news +++ b/bin/news @@ -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(): -- cgit v1.2.3