commit 750c260f8d01d499439d8b20191b4ded098ee8b8
parent 60f83a39bfc59160ec41ba158d71734f533585c9
Author: lash <dev@holbrook.no>
Date: Mon, 24 Jan 2022 20:10:08 +0000
Reorganize builds
Diffstat:
4 files changed, 29 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
@@ -5,9 +5,11 @@ PELICANOPTS=
BASEDIR=$(CURDIR)
INPUTDIR=$(BASEDIR)/content
OUTPUTDIR=$(BASEDIR)/output
-LOCALDIR=${HOME}/public_html/site
+#LOCALDIR=${HOME}/public_html/site
+LOCALDIR=${HOME}/pub/manbytesgnu.com
CONFFILE=$(BASEDIR)/pelicanconf.py
PUBLISHCONF=$(BASEDIR)/publishconf.py
+KEYID=59A844A484AC11253D3A3E9DCDCBD24DD1D0E001
DEBUG ?= 0
@@ -70,8 +72,15 @@ publish:
"$(PELICAN)" "$(INPUTDIR)" -t ./lash -o "$(OUTPUTDIR)" -s "$(PUBLISHCONF)" $(PELICANOPTS)
local:
- "$(PELICAN)" "$(INPUTDIR)" -o "$(LOCALDIR)" -s "$(CONFFILE)" $(PELICANOPTS)
-
+ "$(PELICAN)" "$(INPUTDIR)" -t ./lash -o "$(LOCALDIR)" -s "$(CONFFILE)" $(PELICANOPTS)
+
+git:
+ cd $(LOCALDIR) && git rev-parse HEAD
+ rm -vrf $(LOCALDIR)/*
+ PYTHONPATH=$(BASEDIR) "$(PELICAN)" "$(INPUTDIR)" -t ./lash -o "$(LOCALDIR)" -s "$(CONFFILE)" $(PELICANOPTS)
+ rm -vrf $(LOCALDIR)/drafts
+ cd $(LOCALDIR) && git add *
+ cd $(LOCALDIR) && git commit -a --gpg-sign="$(KEYID)"
.PHONY: html help clean regenerate serve serve-global devserver publish
diff --git a/content/pages/shares.rst b/content/pages/shares.rst
@@ -17,10 +17,11 @@ The repository list for my code projects, hosted on `cgit`_
Python modules
==============
-https://holbrook.no/python
+https://holbrook.no/python | `<rsync://holbrook.no/python>`_
A copy of python modules used within the `chaintool`_, `cicnet`_ and `grassrootseconomics`_ projects.
+
..
.. _cgit: https://git.zx2c4.com/cgit/
diff --git a/lash/static/css/style.css b/lash/static/css/style.css
@@ -4,7 +4,12 @@ a:hover {
filter: invert(.33);
}
-a:visited {
+hav#menu a,
+nav#menu a:visited {
+ color: #0000ff;
+}
+
+section.body a:visited {
color: #30303f;
}
@@ -21,6 +26,7 @@ header div {
padding-right: 2em;
}
+
#ol {
# list-style-type: none;
#}
@@ -229,3 +235,10 @@ div#keys dd tt {
#at-the-mercy-of-others dt {
text-transform: uppercase;
}
+
+
+div.entry-content > p:first-of-type::first-letter {
+ font-size: 2.8em;
+ font-weight: 900;
+ color: #840020;
+}
diff --git a/lash/templates/base.html b/lash/templates/base.html
@@ -35,7 +35,7 @@
<footer id="contentinfo" class="body">
<hr/>
<address id="about" class="vcard body">
- Powered by <a href="https://getpelican.com/">Pelican</a> | ETH <a href="./images/donate_eth_qr.png" title="Ethereum address for tipping">0x185Cbce7650FF7Ad3B587E26B2877d95568805e3</a> | BTC <a href="./images/donate_btc_qr.png" title="Bitcoin address for tipping">12DnRH9HpJ6cfET2LKHrURn2yZBDfDEwHv</a>
+ Powered by <a title="Pelican is a static site generator" href="https://getpelican.com/">Pelican</a> | <a title="manbytesgnu.com is licensed under Creative Commons Attribution-ShareAlike 4.0 International" href="https://holbrook.no/share/licenses/cc/cc-by-sa-4.0.txt">CC-BY-SA 4.0</a> | <a title="GIT site history since jan 15th 2022" href="https://git.defalsify.org/manbytesgnu_site">Site history</a> | ETH <a href="./images/donate_eth_qr.png" title="Ethereum address for tipping">0x185Cbce7650FF7Ad3B587E26B2877d95568805e3</a> | BTC <a href="./images/donate_btc_qr.png" title="Bitcoin address for tipping">12DnRH9HpJ6cfET2LKHrURn2yZBDfDEwHv</a>
</address><!-- /#about -->
</footer><!-- /#contentinfo -->
</body>