From b182ea79b3a7ac07f673870edab1bd3d6074c618 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 8 Jan 2019 00:11:20 -0500 Subject: Majority of work on generation of new static site I didn't originally intend for all of this to be in a single commit. But here we are. I don't have the time to split these up more cleanly; this project is taking more time than I originally hoped that it would. This is a new static site generator. More information to follow in the near future (hopefully in the form of an article), but repo2html is now removed. See code comments for additional information; I tried to make it suitable as a learning resource for others. It is essentially a set of shell scripts with a fairly robust build for incremental generation. The site has changed drastically, reflecting that its purpose has changed over the years: it is now intended for publishing quality works (or at least I hope), not just a braindump. This retains most of the text of the original pages verbatim, with the exception of the About page. Other pages may have their text modified in commits that follow. Enhancements to follow in future commits. --- images/tp/SHA256SUM | 1 - images/tp/SHA512SUM | 3 +++ images/tp/gen-makefile | 6 +++--- images/tp/remote-list | 4 ++++ 4 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 images/tp/SHA256SUM create mode 100644 images/tp/SHA512SUM (limited to 'images') diff --git a/images/tp/SHA256SUM b/images/tp/SHA256SUM deleted file mode 100644 index a77793c..0000000 --- a/images/tp/SHA256SUM +++ /dev/null @@ -1 +0,0 @@ -3a2fb99c4cbb929ee7a5c404f7b356fa9c5133145feaf834220cad4362d651d0 eff-42.png diff --git a/images/tp/SHA512SUM b/images/tp/SHA512SUM new file mode 100644 index 0000000..9dbaa90 --- /dev/null +++ b/images/tp/SHA512SUM @@ -0,0 +1,3 @@ +3a91c74bec2dc9b65df8a0208b2f640b1971131c2791c8f3f8431219405702e600bdc476f0f792856f7c31f8b8144d125c934105287913a822d14c0aef058993 eff-42.png +81db76e73f274194c82695eb314cae4b371f3a1cb246a18ff702b26440dbe73bb110a8695230c4d75e628f652a245e3675541144003975a650aa5edecb5f72f3 eff-privacy.png +794b6aca4d20e60f876b38127a5d3f5975e4c99b0520dfd8a1895df00b9168f07cf650fb2d2a4d7d818a74d3a9e5a252b94ef70cf50fb17484f4272408420ba9 fsfs-icons-beige.png diff --git a/images/tp/gen-makefile b/images/tp/gen-makefile index 85764e2..0b99526 100755 --- a/images/tp/gen-makefile +++ b/images/tp/gen-makefile @@ -29,11 +29,11 @@ images := $( cut -d' ' -f1 "$remote_file" | tr '\n' ' ' ) .PHONY: all check clean all: \$(images) -SHA256SUM: \$(images) - sha256sum \$(images) > \$@ +SHA512SUM: \$(images) + sha512sum \$(images) > \$@ check: - sha256sum -c SHA256SUM + sha512sum -c SHA512SUM clean: \$(RM) \$(images) diff --git a/images/tp/remote-list b/images/tp/remote-list index 84119f5..f92aaf1 100644 --- a/images/tp/remote-list +++ b/images/tp/remote-list @@ -1 +1,5 @@ eff-42.png https://web.archive.org/web/20170922020250/https://www.eff.org/files/2014/01/24/eff-logo-plain-rgb.png -trim -resize 42 -gravity center -extent 42x42 +eff-privacy.png https://web.archive.org/web/20190102234255/https://www.eff.org/files/issues/icon-privacy-1_0.png -scale x250 -crop 250x250+125+0 +fsfs-icons-beige.png https://web.archive.org/web/20190105011705/http://static.fsf.org/nosvn/images/badges/fsfs_icons_beige-bg.png +lp-2017-crop.png https://web.archive.org/web/20181208025632/https://libreplanet.org/2017/assets/img/site_logo_alternate.png -crop 75x75+29+0 + -- cgit v1.2.1