1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Remove "last deployed" date

Visitors can see that on post update dates; I can see that in
builds.sr.ht.

This results in not having to upload every page on a trivial change. Add
the "-c" rsync flag to take advantage of that. Doing so should also
result in longer-lived cached copies, with etags and last-modified
headers.
This commit is contained in:
Rohan Kumar 2022-04-04 19:00:07 -07:00
parent 2f960ca7ec
commit e455703209
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 2 additions and 5 deletions

View file

@ -13,8 +13,8 @@ GEMINI_RSYNC_DEST = $(USER):$(GEMINI_ROOT)
OUTPUT_DIR = public
RSYNCFLAGS += -rlcv --zc=zstd --zl=6
# include br, jxl, and gmi in skip-compress
RSYNCFLAGS += --skip-compress=gz/br/zst/png/webp/jpg/avif/jxl/mp4/mkv/webm/opus/mp3
# include br, jxl, and gmi in skip-compress; skip unchanged files.
RSYNCFLAGS += --skip-compress=gz/br/zst/png/webp/jpg/avif/jxl/mp4/mkv/webm/opus/mp3 -c
# compression gets slow for extreme levels like the old "70109"
ECT_LEVEL=9

View file

@ -7,7 +7,4 @@
</span>
<a rel="alternate" href="http://wgq3bd2kqoybhstp77i3wrzbfnsyd27wt34psaja4grqiezqircorkyd.onion{{ .RelPermalink }}">Tor</a>
</p>
{{if .GitInfo -}}
<p>Site last deployed on <time datetime="{{ dateFormat "2006-01-02 15:04:05Z07:00" now }}">{{now.Format "2006-01-02 15:04:05 -0700" }}</time></p>
{{- end}}
</footer>