From ca0c69911b5645c306c30f2a8b00dd378315b791 Mon Sep 17 00:00:00 2001 From: Alee Date: Sat, 3 Nov 2018 15:19:58 -0400 Subject: Our new blog system (kind of broken for now) and some additional features --- _includes/footer.html | 2 +- _includes/navigator.html | 9 +++++---- _layouts/post.html | 19 +++++++++++++++++++ _posts/2018-11-03-new-blog.md | 7 +++++++ _posts/2018-12-10-test.md | 6 ++++++ blog.html | 24 ++++++++++++++++++++++++ style.css | 8 +++++++- 7 files changed, 69 insertions(+), 6 deletions(-) create mode 100644 _layouts/post.html create mode 100644 _posts/2018-11-03-new-blog.md create mode 100644 _posts/2018-12-10-test.md create mode 100644 blog.html diff --git a/_includes/footer.html b/_includes/footer.html index bbb0801..0e03337 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,3 +1,3 @@ diff --git a/_includes/navigator.html b/_includes/navigator.html index d942dec..0981ea9 100644 --- a/_includes/navigator.html +++ b/_includes/navigator.html @@ -1,9 +1,10 @@ diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..a9edd82 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,19 @@ +--- +--- + + + + {% include heading.html %} + {{ page.title }} | Silicon Linux Blog + + + {% include navigator.html %} + +

{{ page.title }}

+

{{ page.date | date_to_string }} | {{ page.author }}

+ + {{ content }} + + {% include footer.html %} + + diff --git a/_posts/2018-11-03-new-blog.md b/_posts/2018-11-03-new-blog.md new file mode 100644 index 0000000..4ed6ddc --- /dev/null +++ b/_posts/2018-11-03-new-blog.md @@ -0,0 +1,7 @@ +--- +layout: post +author: Alee +--- +Hey all! We now have a blog system in our website! + +For now, we post everything that's related to Silicon Linux here and on Discord! diff --git a/_posts/2018-12-10-test.md b/_posts/2018-12-10-test.md new file mode 100644 index 0000000..52c7d19 --- /dev/null +++ b/_posts/2018-12-10-test.md @@ -0,0 +1,6 @@ +--- +layout: post +author: Alee +--- +This is a test post. +And so on and so on... diff --git a/blog.html b/blog.html new file mode 100644 index 0000000..324ab67 --- /dev/null +++ b/blog.html @@ -0,0 +1,24 @@ +--- +project: Silicon Linux +--- + + + + {% include heading.html %} + Silicon Linux + + + {% include navigator.html %} +

Latest Posts

+ + + {% include footer.html %} + + diff --git a/style.css b/style.css index 395e514..17816a6 100644 --- a/style.css +++ b/style.css @@ -44,7 +44,7 @@ a { margin: -1px; } -ul { +ul.navbar { list-style-type: none; margin: 0; padding: 0; @@ -52,6 +52,12 @@ ul { background-color: whitesmoke; } +li.list-blog{ + text-decoration: none; + float: left; + display: block; +} + li.logo{ font-weight: bold; color: black; -- cgit v1.2.3