From b770912b5e296a2b79166063094ebbb43fb36c4c Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Tue, 8 Aug 2023 15:59:08 +0200 Subject: Added openring --- .gitignore | 1 + Makefile | 21 ++++++++++++++++++--- templates/base.html | 14 ++++++++------ templates/includes/.gitkeep | 0 templates/openring.html | 14 ++++++++++++++ 5 files changed, 41 insertions(+), 9 deletions(-) create mode 100644 templates/includes/.gitkeep create mode 100644 templates/openring.html diff --git a/.gitignore b/.gitignore index a4c395b..bc7b684 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ public/ +templates/includes/openring.html .DS_Store \ No newline at end of file diff --git a/Makefile b/Makefile index 7d84d05..9f41e95 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,25 @@ MAKEFLAGS=-j4 # Using: https://github.com/mitjafelicijan/jbmafp -build: - jbmafp --build +dev: + jbmafp --build --server + +openring: + openring -l 165 -n 8 -p 1 \ + -s https://jcs.org/rss \ + -s https://chotrin.org/rss.xml \ + -s https://drewdevault.com/feed.xml \ + -s https://offbeatpursuit.com/blog/index.rss \ + -s https://mirzapandzo.com/rss.xml \ + -s https://journal.valeriansaliou.name/rss/ \ + -s https://neil.computer/rss/ \ + -s https://solar.lowtechmagazine.com/posts/index.xml \ + < templates/openring.html \ + > templates/includes/openring.html -deploy: +build: openring jbmafp --build + +deploy: build rsync -az --delete public/ root@mitjafelicijan.com:/var/www/html/mitjafelicijan.com/ ssh root@mitjafelicijan.com chown www-data:www-data /var/www/html/mitjafelicijan.com/ -Rf diff --git a/templates/base.html b/templates/base.html index c4dfa3b..abee062 100644 --- a/templates/base.html +++ b/templates/base.html @@ -173,21 +173,23 @@ {{ block "content" . }}{{ end }} +
+
+ {{ template "openring.html" }} +
+ diff --git a/templates/includes/.gitkeep b/templates/includes/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/templates/openring.html b/templates/openring.html new file mode 100644 index 0000000..37776ab --- /dev/null +++ b/templates/openring.html @@ -0,0 +1,14 @@ +

Posts from blogs I follow around the net

+ + + +

+ Generated with openring. +

-- cgit v1.2.3