From 2c4f4e2ae6f503e7153f91280327b785c1d69dca Mon Sep 17 00:00:00 2001 From: Julien Voisin Date: Fri, 15 Aug 2025 04:40:30 +0200 Subject: [PATCH] perf(templates): removes superfluous whitespaces in two templates --- .../template/templates/common/item_meta.html | 16 +++++++--------- .../template/templates/views/unread_entries.html | 10 +++++----- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/internal/template/templates/common/item_meta.html b/internal/template/templates/common/item_meta.html index b4b7431c..04c89abc 100644 --- a/internal/template/templates/common/item_meta.html +++ b/internal/template/templates/common/item_meta.html @@ -1,4 +1,4 @@ -{{ define "item_meta" }} +{{ define "item_meta" -}}
{{ end }} diff --git a/internal/template/templates/views/unread_entries.html b/internal/template/templates/views/unread_entries.html index 7dfdae82..2956b449 100644 --- a/internal/template/templates/views/unread_entries.html +++ b/internal/template/templates/views/unread_entries.html @@ -42,10 +42,10 @@ {{ else }}
- {{ template "pagination" .pagination }} + {{ template "pagination" .pagination -}}
- {{ range .entries }} + {{ range .entries -}} {{ end }}