From 29231c17524aa55ff5915b207d1e697c709b7073 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 29 Jan 2022 06:35:54 +0100 Subject: Added YapYap --- Makefile | 10 ++- assets/yapyap/hello.png | Bin 0 -> 25962 bytes template/_navigation.html | 2 +- yapyap/feed.yaml | 10 +++ yapyap/template.xml | 26 +++++++ yapyap/theme.xsl | 192 ++++++++++++++++++++++++++++++++++++++++++++++ yapyap/yapyap.xml | 26 +++++++ 7 files changed, 264 insertions(+), 2 deletions(-) create mode 100644 assets/yapyap/hello.png create mode 100644 yapyap/feed.yaml create mode 100644 yapyap/template.xml create mode 100644 yapyap/theme.xsl create mode 100644 yapyap/yapyap.xml diff --git a/Makefile b/Makefile index b134590..73faa6c 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +MAKEFLAGS := --jobs=2 + provision: cd ~/Junk \ git clone https://git.sr.ht/~sircmpwn/openring \ @@ -17,7 +19,9 @@ openring: < template/openring.tmpl \ > template/openring-build.html -dev: openring +dev: alternator server + +alternator: openring alternator --watch build: @@ -33,6 +37,10 @@ build: alternator --build rm template/openring-build.html + cd yapyap && yapyap --gen + cp yapyap/yapyap.xml public/ + cp yapyap/theme.xsl public/ + server: python3 -m http.server 8000 --directory public diff --git a/assets/yapyap/hello.png b/assets/yapyap/hello.png new file mode 100644 index 0000000..d141cd3 Binary files /dev/null and b/assets/yapyap/hello.png differ diff --git a/template/_navigation.html b/template/_navigation.html index 4332ba2..6a4e8a6 100755 --- a/template/_navigation.html +++ b/template/_navigation.html @@ -7,7 +7,7 @@