diff --git a/prep.py b/prep.py index f6e1c1c..5f884e2 100755 --- a/prep.py +++ b/prep.py @@ -157,7 +157,7 @@ with open("pages/en/events.html", "w") as file: # Build Serbian Archive page past_events_html = build_html(past_events, DAYS_SR, sr_types) -with open("pages/sr/events_archive.html", "r") as file: +with open("template/events_archive-sr.html", "r") as file: page_template = ([line for line in file]) with open("pages/sr/events_archive.html", "w") as file: @@ -165,7 +165,7 @@ with open("pages/sr/events_archive.html", "w") as file: # Build English Archive page past_events_html = build_html(past_events, DAYS_EN, en_types) -with open("pages/en/events_archive.html", "r") as file: +with open("template/events_archive-en.html", "r") as file: page_template = ([line for line in file]) with open("pages/en/events_archive.html", "w") as file: