working on private blogging

first, breaking out all the setup optiosn into smaller functions for
better readability. adding an option to set blog to be published or not,
and checks this before printing public feels list.
This commit is contained in:
endorphant
2016-05-15 18:15:53 -04:00
parent e2bde9a42a
commit fecb5b9907
5 changed files with 176 additions and 36 deletions

View File

@@ -187,7 +187,7 @@ def write_global_feed(blogList):
<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 3.2//EN\">
<html>
<head>
<title>tilde.town global feels engine</title>
<title>tilde.town feels engine</title>
<link rel=\"stylesheet\" href=\"style.css\" />
</head>
<body>
@@ -202,6 +202,7 @@ def write_global_feed(blogList):
<p>&nbsp;</p>
<h3>live feels-sharing:</h3>
<p><i>(time not exactly to scale)</i></p>
<div class=\"feed\">
<ul>
""")