Add missing trailing slash to generated URL for sitemap.
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Wed, 2 May 2018 16:18:43 +0000 (12:18 -0400)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Wed, 2 May 2018 17:26:51 +0000 (13:26 -0400)
pgweb/core/struct.py

index b04d8b82a6eddd9fe7004e04839c74b669973454..e3c697b314f38a556f1e52e75ebd8e81acacca9f 100644 (file)
@@ -3,7 +3,7 @@ import os
 def get_struct():
        yield ('', None)
        yield ('community/', None)
-       yield ('support/versioning', None)
+       yield ('support/versioning/', None)
 
        # Enumerate all the templates that will generate pages
        pages_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '../../templates/pages/'))