diff options
| author | Blaise Thompson <blaise@untzag.com> | 2021-07-05 15:28:06 -0500 | 
|---|---|---|
| committer | Blaise Thompson <blaise@untzag.com> | 2021-07-05 15:28:06 -0500 | 
| commit | bb1e4faf894b1da14eee79ee41183a16fb1df922 (patch) | |
| tree | 2801dfecd01c2018c5a729cd7fd2e6a0c1b3e1e5 | |
| parent | ac9cb28d852c750b251359397a2c361d3cf7176a (diff) | |
new footer
| -rwxr-xr-x | build.py | 3 | ||||
| -rwxr-xr-x | publicize.sh | 5 | ||||
| -rw-r--r-- | templates/footer.html | 6 | 
3 files changed, 8 insertions, 6 deletions
| @@ -62,9 +62,6 @@ if not os.path.isdir(__here__ / "public"):      os.mkdir(__here__ / "public") -shutil.copytree("posts", "public", dirs_exist_ok=True) - -  template = env.get_template("index.html")  with open(__here__ / "public" / "index.html", "w") as f:      f.write(template.render(posts=posts, title="blog", date=date)) diff --git a/publicize.sh b/publicize.sh index 11d8d7d..4ae264e 100755 --- a/publicize.sh +++ b/publicize.sh @@ -1,3 +1,6 @@ +#!/bin/bash +cd "$(dirname "$0")" +git pull  python3 build.py -scp -r ./public/* root@blaise.zone:/var/www/blog.blaise.zone/html/ +cp -r ./public/* /var/www/blog.blaise.zone/html/ diff --git a/templates/footer.html b/templates/footer.html index 3cc1a0e..10419e2 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,9 +1,11 @@  <hr> -<p> +<p style="display:inline;">  built {{ date }} -{{ "\xa0" * 36 }} +<div style="float:right;">  <a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0</a>: no copyright +(<a href="http://git.blaise.zone/website/blog.git/">source</a>) +</div>  </p>  </body> | 
