From 60dfb747b3f912610a67544376853f69464530d2 Mon Sep 17 00:00:00 2001 From: Admin Date: Fri, 2 Dec 2022 23:31:56 -0500 Subject: Add make deploy, add source code link --- Makefile | 5 +++++ config.toml | 5 +++++ 2 files changed, 10 insertions(+) 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 -- cgit v1.2.3