From a6db62b926647cc882dba08d0a9fb8bf251f97d616cba2fdbd0ca1221207524e Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Fri, 25 Aug 2023 00:00:00 +0000 Subject: Make logo required Pages look ugly without a logo. This also makes templates simpler. --- layouts/partials/header.gmi | 4 +--- layouts/partials/header.html | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'layouts') diff --git a/layouts/partials/header.gmi b/layouts/partials/header.gmi index 48155f5..acd249b 100644 --- a/layouts/partials/header.gmi +++ b/layouts/partials/header.gmi @@ -1,5 +1,3 @@ -{{ if fileExists "templates/logo.txt" -}} ```plaintext {{ readFile "templates/logo.txt" | safeHTML }} -``` -{{- end }} \ No newline at end of file +``` \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index a0c7194..2379d84 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,5 +1,3 @@ -{{ if fileExists "templates/logo.txt" -}} -{{- end }} \ No newline at end of file + \ No newline at end of file -- cgit v1.2.3