summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSylvain Gauthier <s94.gauthier@laposte.net>2021-03-12 11:55:40 +1100
committerSylvain Gauthier <s94.gauthier@laposte.net>2021-03-15 10:35:05 +1100
commit1d7d2b6ab801b1e8388a4d7ba751ec1e7f2729f7 (patch)
treeaccf0092af77f7613ceaac91beb22914bdd213ac /templates
parent1b4eca2c284e2cd8c4335a92b3405237f606a6be (diff)
downloadbased.cooking-1d7d2b6ab801b1e8388a4d7ba751ec1e7f2729f7.tar
based.cooking-1d7d2b6ab801b1e8388a4d7ba751ec1e7f2729f7.tar.gz
based.cooking-1d7d2b6ab801b1e8388a4d7ba751ec1e7f2729f7.tar.lz
based.cooking-1d7d2b6ab801b1e8388a4d7ba751ec1e7f2729f7.tar.xz
based.cooking-1d7d2b6ab801b1e8388a4d7ba751ec1e7f2729f7.zip
fix
- Set correct title on pages (remove leading '#') - Remove main title on recipe pages - Put metadata at the end of articles
Diffstat (limited to 'templates')
-rw-r--r--templates/article_footer.html1
-rw-r--r--templates/article_header.html2
-rw-r--r--templates/footer.html1
-rw-r--r--templates/header.html6
-rw-r--r--templates/index_header.html4
-rw-r--r--templates/tag_index_header.html5
6 files changed, 11 insertions, 8 deletions
diff --git a/templates/article_footer.html b/templates/article_footer.html
index e69de29bb..331e55b5c 100644
--- a/templates/article_footer.html
+++ b/templates/article_footer.html
@@ -0,0 +1 @@
+<p><i>Recipe posted on: $DATE_POSTED, last edited on: $DATE_EDITED, written by: $AUTHOR</i></p>
diff --git a/templates/article_header.html b/templates/article_header.html
index e66f98c99..e69de29bb 100644
--- a/templates/article_header.html
+++ b/templates/article_header.html
@@ -1,2 +0,0 @@
-<p><a href=".">index</a></p>
-<p><i>Recipe posted on: $DATE_POSTED, last edited on: $DATE_EDITED, written by: $AUTHOR</i></p>
diff --git a/templates/footer.html b/templates/footer.html
index b7cd6bfdb..a342f926f 100644
--- a/templates/footer.html
+++ b/templates/footer.html
@@ -1,6 +1,7 @@
<p>This website is a fork from <a href="https://based.cooking">Luke Smith's Based Cooking</a></p>
<div class="footer">
<hr/>
+ <a href=".">homepage</a>
<a href="./rss.xml">RSS</a>
<a href="./atom.xml">atom</a>
</div>
diff --git a/templates/header.html b/templates/header.html
index 9b6f9f400..7756d4f54 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -3,10 +3,6 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="./style.css">
- <title>$TITLE</title>
+ <title>$PAGE_TITLE</title>
</head>
<body>
- <div class="banner">
- <h1>🍳 Based Cooking 🍲</h1>
- <hr/>
- </div>
diff --git a/templates/index_header.html b/templates/index_header.html
index a222e9a6e..0026f086f 100644
--- a/templates/index_header.html
+++ b/templates/index_header.html
@@ -1 +1,5 @@
+<div class="banner">
+ <h1>🍳 $TITLE 🍲</h1>
+ <hr/>
+</div>
<p>Only Based cooking. No ads, no tracking, nothing but based cooking.</p>
diff --git a/templates/tag_index_header.html b/templates/tag_index_header.html
index 2d7315301..57fd89f4c 100644
--- a/templates/tag_index_header.html
+++ b/templates/tag_index_header.html
@@ -1,2 +1,5 @@
-<p><a href=".">index</a></p>
+<div class="banner">
+ <h1>🍳 $TITLE 🍲</h1>
+ <hr/>
+</div>
<p><i>Filtering recipes tagged:</i> <b>$TAGS</b></p>