From faff99603a950f9e5ee511cf88ca95f9c48e9138 Mon Sep 17 00:00:00 2001 From: chimchooree Date: Sun, 4 Oct 2020 18:49:02 -0500 Subject: [PATCH] removed headlines folder for now; random bullets for index headlines --- src/entries/raw/news/100504.html | 1 - src/entries/raw/news/200811.html | 1 - src/entries/raw/news/201004.html | 1 - src/index.py | 2 -- src/views/index.tpl | 4 +++- 5 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 src/entries/raw/news/100504.html delete mode 100644 src/entries/raw/news/200811.html delete mode 100644 src/entries/raw/news/201004.html 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
link to developer's Twitter
@@ -16,7 +17,8 @@