aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/head.html2
-rw-r--r--layouts/partials/header.html2
-rw-r--r--layouts/partials/metadata.html6
4 files changed, 6 insertions, 6 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 673e170..daf7cd3 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,4 +1,4 @@
<footer>
<p>Unless otherwise noted, the writing in this journal is licensed under {{ $.Site.Copyright }}<br>
Copyright {{ .Site.Params.beginCopyrightYear }}-{{ now.Format "2006" }} {{ $.Site.Author.name }}</p>
-</footer>
+</footer> \ No newline at end of file
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 2e5db26..bc92fc2 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -6,4 +6,4 @@
<meta name="theme-color" content="#000">
<link rel="stylesheet" type="text/css" href="/css/style.css">
<title>{{ $.Site.Title }}</title>
-</head>
+</head> \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 391a013..2a23191 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,3 +1,3 @@
<header>
<pre>{{ $.Site.Params.logo }}</pre>
-</header>
+</header> \ No newline at end of file
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html
index aec5e8c..92c0b83 100644
--- a/layouts/partials/metadata.html
+++ b/layouts/partials/metadata.html
@@ -1,9 +1,9 @@
-{{ range (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }}
-{{ $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" }}
+{{ range (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse -}}
+{{ $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" -}}
<article>
<header>
<p>{{ .PublishDate.Format $dateFormat }} - {{ .ReadingTime }} minute read<br>
<a href="{{ .RelPermalink }}" rel="noreferrer">{{ .Title }}</a></p>
</header>
</article>
-{{ end }}
+{{ end }} \ No newline at end of file