add the greeting text to the page
This commit is contained in:
parent
ea81768d1f
commit
e0e6f60196
|
@ -16,6 +16,8 @@ def get_names(filename):
|
||||||
return names
|
return names
|
||||||
|
|
||||||
greeting = """
|
greeting = """
|
||||||
|
Re: AW: Exmatrikulationsgefährdete Studierende
|
||||||
|
---------
|
||||||
Englisch version below.
|
Englisch version below.
|
||||||
|
|
||||||
Hallo,
|
Hallo,
|
||||||
|
@ -94,6 +96,7 @@ def write_index(text, filename = "./deploy/index.html"):
|
||||||
def main():
|
def main():
|
||||||
template = read_template()
|
template = read_template()
|
||||||
generated = generate_text()
|
generated = generate_text()
|
||||||
|
generated = greeting + "\n" + generated
|
||||||
text = template.replace("<replace with text>", generated)
|
text = template.replace("<replace with text>", generated)
|
||||||
write_index(text)
|
write_index(text)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue