diff --git a/src/entries/raw/news/100504.html b/src/entries/raw/news/100504.html deleted file mode 100644 index 63266f5..0000000 --- a/src/entries/raw/news/100504.html +++ /dev/null @@ -1 +0,0 @@ -ancient text diff --git a/src/entries/raw/news/200811.html b/src/entries/raw/news/200811.html deleted file mode 100644 index 85feb50..0000000 --- a/src/entries/raw/news/200811.html +++ /dev/null @@ -1 +0,0 @@ -nothing new sorry diff --git a/src/entries/raw/news/201004.html b/src/entries/raw/news/201004.html deleted file mode 100644 index a66bb2d..0000000 --- a/src/entries/raw/news/201004.html +++ /dev/null @@ -1 +0,0 @@ -1 sample news whoa diff --git a/src/index.py b/src/index.py index efc59c2..9769bb7 100644 --- a/src/index.py +++ b/src/index.py @@ -4,8 +4,6 @@ from bottle import error, route, run, static_file, template # make article-to-html work with entries # make index work with entries - later, they can be differentiated into features and weeklies with tags or title or whatever -# write diary - def list_headlines(articles): head = count_lines('entries/raw/res/head.txt') result = [] diff --git a/src/views/index.tpl b/src/views/index.tpl index 03edd8d..727a39b 100644 --- a/src/views/index.tpl +++ b/src/views/index.tpl @@ -1,4 +1,5 @@ % rebase('frame.tpl') +% import random
@@ -16,7 +17,8 @@