From 868c9714d852761bf3ee389e4730098e2bc59b46 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 15 Apr 2021 00:32:28 +0300 Subject: [WIP] Add template support --- templates/css.html | 8 ++++++++ templates/footer.html | 2 ++ templates/header.html | 11 +++++++++++ templates/menu.html | 5 +++++ templates/welcome.html | 8 ++++++++ 5 files changed, 34 insertions(+) create mode 100644 templates/css.html create mode 100644 templates/footer.html create mode 100644 templates/header.html create mode 100644 templates/menu.html create mode 100644 templates/welcome.html (limited to 'templates') diff --git a/templates/css.html b/templates/css.html new file mode 100644 index 0000000..c9d54e3 --- /dev/null +++ b/templates/css.html @@ -0,0 +1,8 @@ + diff --git a/templates/footer.html b/templates/footer.html new file mode 100644 index 0000000..2ab5c0d --- /dev/null +++ b/templates/footer.html @@ -0,0 +1,2 @@ + + diff --git a/templates/header.html b/templates/header.html new file mode 100644 index 0000000..fffbefe --- /dev/null +++ b/templates/header.html @@ -0,0 +1,11 @@ + + + Bookstore + {% include "css.html" %} + + +
+

Bookstore

+
+ {% include "menu.html" %} +
diff --git a/templates/menu.html b/templates/menu.html new file mode 100644 index 0000000..0f4e85f --- /dev/null +++ b/templates/menu.html @@ -0,0 +1,5 @@ + diff --git a/templates/welcome.html b/templates/welcome.html new file mode 100644 index 0000000..ca60f33 --- /dev/null +++ b/templates/welcome.html @@ -0,0 +1,8 @@ +{% include "header.html" %} +
+

{{title}}

+
+ {{body}} +
+
+{% include "footer.html" %} -- cgit v1.2.3-70-g09d2