article footer file is named 'tail;' snippet shows title, full text, and link

This commit is contained in:
Mimi Momo
2020-09-25 17:03:18 -05:00
parent 92c7389e5c
commit d0304a5b57
3 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ def file_to_string(f):
return text
def fill_text(f):
return file_to_string('../res/head.txt') + file_to_string(f) + file_to_string('../res/foot.txt')
return file_to_string('../res/head.txt') + file_to_string(f) + file_to_string('../res/tail.txt')
def create_files(files, directory):
for f in files: