Commit Diff


commit - 151af94ebac619594e1f4599e395b8946cb47d32
commit + 1b626eae837ad61f2cd56fbd310ab9397b522c3a
blob - 7431a6328c8f7d85d30e234b2d9bf0a5d8b1b36d
blob + 3bb10cc67e859aa8993dc2dad113bf526d4c344c
--- site/Makefile
+++ site/Makefile
@@ -17,7 +17,8 @@ REPOLOGY_URL =		https://repology.org/project/gmid/vers
 SUBST =		./subst GITHUB=https://github.com/omar-polo/gmid \
 			VERS=1.7.5 \
 			CURV=1.7 \
-			NEXTV=1.8
+			NEXTV=1.8 \
+			TREE=https://git.omarpolo.com/gmid/tree
 
 SUBST_GEM =	${SUBST} MANEXT=txt  EXT=gmi  REPOLOGY=${REPOLOGY_URL}
 SUBST_WWW =	${SUBST} MANEXT=html EXT=html REPOLOGY=${REPOLOGY_BANNER}
blob - 59721e3ee36c7706a537d1dd9caed630c383c68b
blob + 050c2d127e96fac51c60d1dcacc245075bceb982
--- site/contrib.gmi
+++ site/contrib.gmi
@@ -4,7 +4,7 @@ This directory is for additional contributed files whi
 
 ## Dockerfile
 
-=> https://git.omarpolo.com/gmid/tree/contrib/Dockerfile contrib/Dockerfile
+=> TREE/contrib/Dockerfile contrib/Dockerfile
 
 A sample Dockerfile.  The resulting image is a classic alpine linux image with a statically linked gmid installed as /bin/gmid.  Build the image with:
 
@@ -24,13 +24,13 @@ and then run it with something along the lines of:
 
 ## gencert
 
-=> https://git.omarpolo.com/gmid/tree/contrib/gencert contrib/gencert
+=> TREE/contrib/gencert contrib/gencert
 
 contrib/gencert is a simple script to generate self-signed certificates.
 
 ## OpenBSD rc file
 
-=> https://git.omarpolo.com/gmid/tree/contrib/gmid contrib/gmid
+=> TREE/contrib/gmid contrib/gmid
 
 contrib/gmid is a sample service file for OpenBSD rc(8).  To install it:
 
@@ -42,7 +42,7 @@ then the usual ‘rcctl [start|stop|enable|restart] gm
 
 ## systemd unit file
 
-=> https://git.omarpolo.com/gmid/tree/contrib/gmid.service contrib/gmid.service
+=> TREE/contrib/gmid.service contrib/gmid.service
 
 A simple service file for systemd.  To install it
 
@@ -68,7 +68,7 @@ Some things to keep in mind:
 
 ## renew certificates automatically
 
-=> https://git.omarpolo.com/gmid/tree/contrib/renew-certs contrib/renew-certs
+=> TREE/contrib/renew-certs contrib/renew-certs
 
 NB: this script requires features that are currently available only in the master branch.
 
@@ -78,7 +78,7 @@ Read the documentation with: perldoc renew-certs
 
 ## vim syntax files
 
-=> https://git.omarpolo.com/gmid/tree/contrib/vim contrib/vim
+=> TREE/contrib/vim contrib/vim
 
 contrib/vim contains a syntax highlighting for vim.  To install it, just copy the files to ~/.vim or to /usr/share/vim/vimfiles, e.g.: