removed headlines folder for now; random bullets for index headlines
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
ancient text
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
nothing new sorry
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
1 sample news <b>whoa</b>
|
|
||||||
@@ -4,8 +4,6 @@ from bottle import error, route, run, static_file, template
|
|||||||
# make article-to-html work with entries
|
# 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
|
# 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):
|
def list_headlines(articles):
|
||||||
head = count_lines('entries/raw/res/head.txt')
|
head = count_lines('entries/raw/res/head.txt')
|
||||||
result = []
|
result = []
|
||||||
|
|||||||
+3
-1
@@ -1,4 +1,5 @@
|
|||||||
% rebase('frame.tpl')
|
% rebase('frame.tpl')
|
||||||
|
% import random
|
||||||
<div class="social">
|
<div class="social">
|
||||||
<a href="https://twitter.com/lilchimchooree"><img class="img-social-ribbon" src="static/img/ele/twitter-ribbon.png" alt="link to developer's Twitter"></a>
|
<a href="https://twitter.com/lilchimchooree"><img class="img-social-ribbon" src="static/img/ele/twitter-ribbon.png" alt="link to developer's Twitter"></a>
|
||||||
</div>
|
</div>
|
||||||
@@ -16,7 +17,8 @@
|
|||||||
<br>
|
<br>
|
||||||
<ul>
|
<ul>
|
||||||
% for n in news:
|
% for n in news:
|
||||||
<li>★ <a href={{n[0]}}>{{!n[1]}}</a><br></li>
|
% bullet = random.choice(['.','•','☆','★'])
|
||||||
|
<li>{{bullet}}	<a href={{n[0]}}>{{!n[1]}}</a><br></li>
|
||||||
% end
|
% end
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
Reference in New Issue
Block a user