summaryrefslogtreecommitdiffhomepage
path: root/include/footer.gsp
blob: 9643dad747296000d911dfd2bc917644b8994db0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
m4_define(⁨m4___id__⁩, m4_esyscmd(git rev-list -1 HEAD m4___caller__))
small {-
	Page last edited:
	@a
		href="https://git.thomasvoss.com/www.thomasvoss.com/commit?id=m4___id__"
		target="_blank"
	{-
		m4_esyscmd(
			git log -1 --pretty='format:%cI' m4___caller__ \
			| ifne xargs date +'%-d %B %Y (%A) — %T %Z' -d \
			| ifne -n echo 'No commit yet…'
		)
	}
}