From 62d0aa159fc046a27bed47e337d787a08f4687d0 Mon Sep 17 00:00:00 2001 From: Sunaina Pai Date: Sat, 17 Mar 2018 14:45:21 +0530 Subject: Add makesite: A simple static site generator --- layout/feed.xml | 12 ++++++++++++ layout/item.html | 10 ++++++++++ layout/item.xml | 13 +++++++++++++ layout/list.html | 5 +++++ layout/page.html | 42 ++++++++++++++++++++++++++++++++++++++++++ layout/post.html | 5 +++++ 6 files changed, 87 insertions(+) create mode 100644 layout/feed.xml create mode 100644 layout/item.html create mode 100644 layout/item.xml create mode 100644 layout/list.html create mode 100644 layout/page.html create mode 100644 layout/post.html (limited to 'layout') diff --git a/layout/feed.xml b/layout/feed.xml new file mode 100644 index 0000000..388c39e --- /dev/null +++ b/layout/feed.xml @@ -0,0 +1,12 @@ + + + + +{{ title }} +{{ site_url }}/ +Grow with Technology + +{{ content }} + + + diff --git a/layout/item.html b/layout/item.html new file mode 100644 index 0000000..b16a097 --- /dev/null +++ b/layout/item.html @@ -0,0 +1,10 @@ +
+

{{ title }}

+

Published on {{ date }} by {{ author }}

+

+{{ summary }} ... +

+
+Read More +
+
diff --git a/layout/item.xml b/layout/item.xml new file mode 100644 index 0000000..65b9679 --- /dev/null +++ b/layout/item.xml @@ -0,0 +1,13 @@ + +{{ title }} +{{ site_url }}/{{ blog }}/{{ slug }}/ + + +{{ summary }} ... +

+

Read More

+]]> +
+{{ date }} +
diff --git a/layout/list.html b/layout/list.html new file mode 100644 index 0000000..79a6aab --- /dev/null +++ b/layout/list.html @@ -0,0 +1,5 @@ +

{{ title }}

+{{ content }} +
+RSS +
diff --git a/layout/page.html b/layout/page.html new file mode 100644 index 0000000..16482e1 --- /dev/null +++ b/layout/page.html @@ -0,0 +1,42 @@ + + + + {{ title }} - {{ subtitle }} + + + + + + + + + +
+{{ content }} +
+ + + + + diff --git a/layout/post.html b/layout/post.html new file mode 100644 index 0000000..f0a42be --- /dev/null +++ b/layout/post.html @@ -0,0 +1,5 @@ +
+

{{ title }}

+

Published on {{ date }} by {{ author }}

+{{ content }} +
-- cgit v1.2.3