header&footer
This commit is contained in:
parent
c5876330f3
commit
0d57449004
1 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,7 @@ mycursor.execute("SELECT post_url, post_title, post_content_xhtml FROM dc_post W
|
||||||
myresult = mycursor.fetchall()
|
myresult = mycursor.fetchall()
|
||||||
|
|
||||||
f = open("index.gmi", "w")
|
f = open("index.gmi", "w")
|
||||||
|
f.write("# Tourmentine's blog-to-gemlog\n\n");
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
for x in myresult:
|
for x in myresult:
|
||||||
|
@ -58,3 +59,6 @@ for x in myresult:
|
||||||
f.write("\n\n=> /blog/ Retour au menu du blog")
|
f.write("\n\n=> /blog/ Retour au menu du blog")
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
f = open("index.gmi", "a")
|
||||||
|
f.write("\n=> Retour")
|
||||||
|
f.close()
|
||||||
|
|
Loading…
Reference in a new issue