From e40de080c312f38b692ff687fa10be66951223dc Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 5 Feb 2020 01:42:23 -0300 Subject: WIP Jekyll --- _layouts/default.html | 46 ++++++++++++++++++++++++++++++++++++++++++++++ _layouts/index.html | 34 ++++++++++++++++++++++++++++++++++ _layouts/page.html | 14 ++++++++++++++ _layouts/pastebins.html | 34 ++++++++++++++++++++++++++++++++++ _layouts/post.html | 27 +++++++++++++++++++++++++++ 5 files changed, 155 insertions(+) create mode 100644 _layouts/default.html create mode 100644 _layouts/index.html create mode 100644 _layouts/page.html create mode 100644 _layouts/pastebins.html create mode 100644 _layouts/post.html (limited to '_layouts') diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..fc9befd --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,46 @@ + + + + + + + + + {%- seo -%} + + +
+ +
+ +
+ {{ content }} +
+ + + + diff --git a/_layouts/index.html b/_layouts/index.html new file mode 100644 index 0000000..8f8ac79 --- /dev/null +++ b/_layouts/index.html @@ -0,0 +1,34 @@ +--- +layout: default +--- + +
+ {%- if page.title -%} +

{{ page.title }}

+ {%- endif -%} + + {{ content }} + + {%- if site.posts.size > 0 -%} +

{{ page.list_title | default: "Posts" }}

+ + +

subscribe via RSS

+ {%- endif -%} + +
diff --git a/_layouts/page.html b/_layouts/page.html new file mode 100644 index 0000000..01e4b2a --- /dev/null +++ b/_layouts/page.html @@ -0,0 +1,14 @@ +--- +layout: default +--- +
+ +
+

{{ page.title | escape }}

+
+ +
+ {{ content }} +
+ +
diff --git a/_layouts/pastebins.html b/_layouts/pastebins.html new file mode 100644 index 0000000..0740a04 --- /dev/null +++ b/_layouts/pastebins.html @@ -0,0 +1,34 @@ +--- +layout: default +--- + +
+ {%- if page.title -%} +

{{ page.title }}

+ {%- endif -%} + + {{ content }} + + {%- if site.posts.size > 0 -%} +

{{ page.list_title | default: "Posts" }}

+ + +

subscribe via RSS

+ {%- endif -%} + +
diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..abf9696 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,27 @@ +--- +layout: default +--- +
+ +
+

{{ page.title | escape }}

+ +
+ +
+ {{ content }} +
+ + {%- if site.disqus.shortname -%} + {%- include disqus_comments.html -%} + {%- endif -%} + + +
-- cgit v1.2.3