From 6b02186505264dc5a05a74bce1f9dcc3f91d08e1 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 24 Jun 2017 12:11:46 +0200 Subject: refactor: Separate templates into layout/body --- src/templates/home.html | 7 +++++++ src/templates/index.html | 36 ------------------------------------ src/templates/layout.html | 13 +++++++++++++ src/templates/post.html | 11 +++++++++++ src/templates/taxon.html | 7 +++++++ 5 files changed, 38 insertions(+), 36 deletions(-) create mode 100644 src/templates/home.html delete mode 100644 src/templates/index.html create mode 100644 src/templates/layout.html create mode 100644 src/templates/post.html create mode 100644 src/templates/taxon.html (limited to 'src/templates') diff --git a/src/templates/home.html b/src/templates/home.html new file mode 100644 index 0000000..dfc4677 --- /dev/null +++ b/src/templates/home.html @@ -0,0 +1,7 @@ +
+ +
diff --git a/src/templates/index.html b/src/templates/index.html deleted file mode 100644 index 412b4ec..0000000 --- a/src/templates/index.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - -
-

hello world

- - -
-
-
-

post title

-
- Fringilla ut morbi tincidunt augue interdum velit euismod! - Interdum velit laoreet id donec ultrices tincidunt arcu, non - sodales neque sodales ut etiam sit amet nisl purus, in - mollis nunc sed. -
-
-
-
- -
- - diff --git a/src/templates/layout.html b/src/templates/layout.html new file mode 100644 index 0000000..733bbc4 --- /dev/null +++ b/src/templates/layout.html @@ -0,0 +1,13 @@ + + + + + + + +
+

hello world

+
+
+ + diff --git a/src/templates/post.html b/src/templates/post.html new file mode 100644 index 0000000..b6eba4e --- /dev/null +++ b/src/templates/post.html @@ -0,0 +1,11 @@ +
+
+

post title

+
+ Fringilla ut morbi tincidunt augue interdum velit euismod! + Interdum velit laoreet id donec ultrices tincidunt arcu, non + sodales neque sodales ut etiam sit amet nisl purus, in + mollis nunc sed. +
+
+
diff --git a/src/templates/taxon.html b/src/templates/taxon.html new file mode 100644 index 0000000..44e1bdc --- /dev/null +++ b/src/templates/taxon.html @@ -0,0 +1,7 @@ +
+ +
-- cgit 1.4.1