# HG changeset patch # User Jens-Uwe Grooss # Date 1582895159 -3600 # Node ID 0559fcb555f10048b016e56ac8d39e326c7d84a4 # Parent 68cc21f541fbca778f708713916adced884601db determining and replacing link to newest date for map plot in subpage ozoneloss.html diff -r 68cc21f541fb -r 0559fcb555f1 eskp.py --- a/eskp.py Fri Feb 28 12:54:49 2020 +0100 +++ b/eskp.py Fri Feb 28 14:05:59 2020 +0100 @@ -261,6 +261,9 @@ def ozoneloss(): filename = os.path.join("templates", get_locale(), "rst", "ozoneloss.rst") content = get_content(filename) + ref_date = "200119" + newest_date = get_newest_date() + content = content.replace(ref_date, newest_date, 1) vcard_file = os.path.join("vcards", "jug.vcf") author = u""