From 14f4da6fd04f12eb2ce877d9f823d1dfc5a388e3 Mon Sep 17 00:00:00 2001 From: krircc Date: Sun, 7 Jan 2018 18:14:51 +0800 Subject: [PATCH] add blog nav --- _includes/header.liquid | 1 + _layouts/blog.liquid | 29 +++++++++++++++++++++++++++++ _layouts/docs.liquid | 8 ++++---- blog/Blog-example.md | 8 ++++++++ blog/index.md | 13 +++++++++++++ public/css/styles.css | 29 +++++++++++++++++------------ 6 files changed, 72 insertions(+), 16 deletions(-) create mode 100644 _layouts/blog.liquid create mode 100644 blog/Blog-example.md create mode 100644 blog/index.md diff --git a/_includes/header.liquid b/_includes/header.liquid index f010f33..de903f7 100644 --- a/_includes/header.liquid +++ b/_includes/header.liquid @@ -7,6 +7,7 @@
  • Tutorials
  • Docs
  • +
  • Blog
  • Community
  • More
  • diff --git a/_layouts/blog.liquid b/_layouts/blog.liquid new file mode 100644 index 0000000..5c1285d --- /dev/null +++ b/_layouts/blog.liquid @@ -0,0 +1,29 @@ + + + + {% include "head.liquid" %} + + +
    + {% include "header.liquid" %} +
    +
    +
    +
    + +
    + {{ content }} +
    +
    +
    +
    + + + diff --git a/_layouts/docs.liquid b/_layouts/docs.liquid index 2fe2f87..a0920e8 100644 --- a/_layouts/docs.liquid +++ b/_layouts/docs.liquid @@ -8,20 +8,20 @@ {% include "header.liquid" %}
    -
    +