From: alex Date: Sun, 5 Mar 2023 10:25:48 +0000 (+0000) Subject: Generate uri properly X-Git-Tag: 20240214-emacs~226^2~6 X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=75a875bc8320ab3e7cd324eecd8af412c46a8177;p=alex.git Generate uri properly This avoids one redirection --- diff --git a/build.py b/build.py index 7f46759..8486727 100755 --- a/build.py +++ b/build.py @@ -23,7 +23,7 @@ class Post: def uri(self): yyyy = self.posted.strftime("%Y") mm = self.posted.strftime("%m") - return f"{yyyy}/{mm}/{self.slug}" + return f"{yyyy}/{mm}/{self.slug}/" def __repr__(self):