summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdmin <admin@marx.cafe>2022-12-02 23:31:56 -0500
committerAdmin <admin@marx.cafe>2022-12-02 23:31:56 -0500
commit60dfb747b3f912610a67544376853f69464530d2 (patch)
tree50489c20937dbfab2b7908559d1e9710b9e510ff
parent7c0a482b321fa27ad320df91642296b7a83faeaa (diff)
Add make deploy, add source code link
-rw-r--r--Makefile5
-rw-r--r--config.toml5
2 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ceed5f1..ae12892 100644
--- a/Makefile
+++ b/Makefile
@@ -3,3 +3,8 @@ compile:
dev:
hugo server -D
+
+deploy: compile
+ rsync -v -P -a --delete public/ marx:/var/www/html/
+
+.PHONY: compile dev deploy
diff --git a/config.toml b/config.toml
index 35243d0..741b120 100644
--- a/config.toml
+++ b/config.toml
@@ -7,3 +7,8 @@ theme = 'hugo-book'
BookTheme = 'auto'
BookSection = '*'
+[menu]
+[[menu.after]]
+ name = "Source Code"
+ url = "https://git.marx.cafe/site/"
+ weight = 10