From 95991cb07f52fd6d0c179f4e1bbaa036ef8c85ef19fee246a27010a77afdb7e8 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Thu, 8 Dec 2022 00:00:00 +0000 Subject: Make logo optional --- layouts/partials/header.gmi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'layouts/partials/header.gmi') diff --git a/layouts/partials/header.gmi b/layouts/partials/header.gmi index 072ffae..9f5aa21 100644 --- a/layouts/partials/header.gmi +++ b/layouts/partials/header.gmi @@ -1,3 +1,5 @@ +{{ if fileExists "templates/logo.txt" -}} ```nicksphere logo {{ readFile "templates/logo.txt" | safeHTML }} -``` \ No newline at end of file +``` +{{- end }} \ No newline at end of file -- cgit v1.2.3