Add file download information window + SHA-256 + more checksums
I'm not the biggest fan of how the info window works, but it works anyway, and it's easy to apply to *all* the download links. Also decided to sign & checksum static binaries. Those are just as important (if not more so) than the source tarballs. Yes, I did verify that my copies of all the files were still in line with the other checksums before creating the SHA256 checksums. :) And I think I'm done fiddling with the site now; This is the last of my planned changes. ...except that the site kinda sucks in text-mode browsers now. Hmm. But how do I improve that?
This commit is contained in:
parent
7367b44edc
commit
de0227cdbd
94 changed files with 216 additions and 5 deletions
2
Makefile
2
Makefile
|
|
@ -128,7 +128,7 @@ ${HTML_OUT}: pub/%.html: dat/%.md template.html
|
|||
@echo "HTML $*"
|
||||
@mkdir -p $$(dirname "$@")
|
||||
@cat "$<" |\
|
||||
perl -pe 's{\[dllink ([^ \]]+)\]}{<a href="/download/$$1">$$1</a><b class="sig"><a href="/download/$$1.asc">pgp</a>-<a href="/download/$$1.sha1">sha1</a>-<a href="/download/$$1.md5">md5</a></b>}' |\
|
||||
./dllink.pl |\
|
||||
pandoc -f markdown -t html5 --template template.html \
|
||||
--metadata path1=$$(echo "$*" | sed 's/\/.*//') \
|
||||
--metadata path2=$$(echo "$*" | sed 's/\//-/' | sed 's/\/.*//') \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue