From c7b120a1e5c2abf81af37ae25a1ab79336d393e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=CC=81scar=20M=2E=20Lage?= Date: Fri, 11 Oct 2024 22:42:35 +0200 Subject: [PATCH] Added if in Overview field in templates --- templates/book.md.tpl | 2 +- templates/game.md.tpl | 2 +- templates/movie.md.tpl | 2 +- templates/music.md.tpl | 2 +- templates/serie.md.tpl | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/book.md.tpl b/templates/book.md.tpl index 90de81a..0370519 100644 --- a/templates/book.md.tpl +++ b/templates/book.md.tpl @@ -17,6 +17,6 @@ tags: {{ .Tags }} ## Overview -{{ .Overview }} +{{ if .Overview }}{{ .Overview }}{{ end }} ## My thoughts diff --git a/templates/game.md.tpl b/templates/game.md.tpl index 5ba5d31..e9718d0 100644 --- a/templates/game.md.tpl +++ b/templates/game.md.tpl @@ -17,6 +17,6 @@ tags: {{ .Tags }} ## Overview -{{ .Overview }} +{{ if .Overview }}{{ .Overview }}{{ end }} ## My thoughts diff --git a/templates/movie.md.tpl b/templates/movie.md.tpl index 97e8b7b..753cc8d 100644 --- a/templates/movie.md.tpl +++ b/templates/movie.md.tpl @@ -16,6 +16,6 @@ tags: {{ .Tags }} ## Overview -{{ .Overview }} +{{ if .Overview }}{{ .Overview }}{{ end }} ## My thoughts diff --git a/templates/music.md.tpl b/templates/music.md.tpl index f02b5da..39891f8 100644 --- a/templates/music.md.tpl +++ b/templates/music.md.tpl @@ -16,6 +16,6 @@ tags: {{ .Tags }} ## Overview -{{ .Overview }} +{{ if .Overview }}{{ .Overview }}{{ end }} ## My thoughts diff --git a/templates/serie.md.tpl b/templates/serie.md.tpl index 46c4315..cacf982 100644 --- a/templates/serie.md.tpl +++ b/templates/serie.md.tpl @@ -18,6 +18,6 @@ tags: {{ .Tags }} ## Overview -{{ .Overview }} +{{ if .Overview }}{{ .Overview }}{{ end }} ## My thoughts