Browse Source

Implement pgp-sign.py

master
PapaTutuWawa 1 year ago
parent
commit
3bc9fe0d74
  1. 1
      .gitignore
  2. 12
      Makefile
  3. 3
      layout/page.html

1
.gitignore

@ -1,2 +1,3 @@
.jekyll-cache/
_site/
xmpp-invite-web.tar.gz

12
Makefile

@ -1,7 +1,4 @@
DEPS := content/de.html content/en.html layout/page.html params.de.json params.en.json
_site: ${DEPS}
python ../shared-assets/makesite.py \
-v page_assets=/assets
serve: ${DEPS}
python ../shared-assets/makesite.py \
@ -12,4 +9,11 @@ serve: ${DEPS}
-i ../shared-assets/assets/img
cd _site/ && python -m http.server 8080
build: _site
build: ${DEPS}
python ../shared-assets/makesite.py \
-v page_assets=https://cdn.polynom.me \
--assets ./assets \
--copy-assets \
-i ../shared-assets/assets/img
python ../shared-assets/pgp-sign.py $(wildcard _site/*.html)
tar -czf xmpp-invite-web.tar.gz _site

3
layout/page.html

@ -1,4 +1,7 @@
<!DOCTYPE html>
<!--!
%%%SIGNED_PAGES_PGP_SIGNATURE%%%
-->
<html lang="{{ language }}" prefix="og: https://ogp.me/ns#">
<head>
<title>{{ page_title }}</title>

Loading…
Cancel
Save