From 16f9c97a7fd7ce1154c1e6098c6e913797d1f0a4 Mon Sep 17 00:00:00 2001 From: Bill Niblock Date: Sat, 10 Feb 2018 23:25:07 -0500 Subject: [PATCH] Grid: Update all HTML to grid rework --- _config.yml | 2 +- _includes/all_posts.html | 20 ++++----- _includes/cor_menu.html | 82 ++++++++++++++++--------------------- _includes/topics.html | 19 ++++----- _layouts/corrupt_index.html | 30 ++++++-------- _layouts/corrupt_post.html | 24 ++++++----- index.html | 21 +++++----- 7 files changed, 90 insertions(+), 108 deletions(-) diff --git a/_config.yml b/_config.yml index fddc782..96d2042 100644 --- a/_config.yml +++ b/_config.yml @@ -15,5 +15,5 @@ defaults: path: '' type: "topics" values: - layout: "corrupt_collection" + layout: "corrupt_index" permalink: "/topics/:name" diff --git a/_includes/all_posts.html b/_includes/all_posts.html index cab0b4a..e6f55b3 100644 --- a/_includes/all_posts.html +++ b/_includes/all_posts.html @@ -1,15 +1,13 @@ {% for post in site.posts %} -
-

{{ post.title }}

-
-
{{ post.pub }}
-
- {% for topic in post.topics %} - {{topic}} - {% endfor %} -
-
-
{{ post.short_desc }}
+

{{ post.title }}

+
+
{{ post.pub }}
+
+ {% for topic in post.topics %} + {{topic}} + {% endfor %}
+
+
{{ post.short_desc }}
{% endfor %} diff --git a/_includes/cor_menu.html b/_includes/cor_menu.html index 3e3a42b..17a0147 100644 --- a/_includes/cor_menu.html +++ b/_includes/cor_menu.html @@ -1,50 +1,40 @@ -
-
+
- -
+ +
+

The Site

+

This site is a small slice of internet real-estate that I use for + occasional writing. Nothing I say is visionary or profound. I + will tend to focus on technology, gaming, and philosophy.

+

The Vagabond

+

My name is Bill Niblock. I'm a computer scientist by education, a + technologist by trade, a gamer by hobby, and a philosopher by + accident.

+
+
+ + GitHub + + + Twitter + + + Twitch + + + Steam + +
+ diff --git a/_includes/topics.html b/_includes/topics.html index d62188a..6120dd8 100644 --- a/_includes/topics.html +++ b/_includes/topics.html @@ -1,16 +1,15 @@ +
{{ page.tabtitle }}
{% for post in site.posts %} {% if post.topics contains page.title %} -
-

{{ post.title }}

-
-
{{ post.pub }}
-
- {% for topic in post.topics %} - {{topic}} - {% endfor %} -
+

{{ post.title }}

+
+
{{ post.pub }}
+
+ {% for topic in post.topics %} + {{topic}} + {% endfor %}
-
{{ post.short_desc }}
+
{{ post.short_desc }}
{% endif %} {% endfor %} diff --git a/_layouts/corrupt_index.html b/_layouts/corrupt_index.html index b2ebc92..ac7eedb 100644 --- a/_layouts/corrupt_index.html +++ b/_layouts/corrupt_index.html @@ -6,27 +6,21 @@ content="Rants of a wandering techy, in search of truth, knowledge, and a decent ping." /> - - - + + +
-
-
-
The
Internet
Vagabond
-
-
-
-
- {{ content }} -
- All Posts -
-
-
+
+
The
Internet
Vagabond
+
+
+ {{ content }} +
{% include cor_menu.html %}
diff --git a/_layouts/corrupt_post.html b/_layouts/corrupt_post.html index f93715d..7b4ac0b 100644 --- a/_layouts/corrupt_post.html +++ b/_layouts/corrupt_post.html @@ -6,25 +6,27 @@ content="Rants of a wandering techy, in search of truth, knowledge, and a decent ping." /> - - + + +
-
-
-
-
The
Internet
Vagabond
-
-
-
+
+
The
Internet
Vagabond
+
+
+
{{ content }}

[ {{ page.author }} ][ {{ page.pub }} ][ {% for topic in page.topics %} {{topic}} {% endfor %}]

-
-
+ + {% include cor_menu.html %}
diff --git a/index.html b/index.html index ca7c746..2a8e0c1 100644 --- a/index.html +++ b/index.html @@ -4,16 +4,15 @@ --- {% for post in site.posts limit:5 %} -
-

{{ post.title }}

-
-
{{ post.pub }}
-
- {% for topic in post.topics %} - {{topic}} - {% endfor %} -
-
-
{{ post.short_desc }}
+

{{ post.title }}

+
+
{{ post.pub }}
+
+ {% for topic in post.topics %} + {{topic}} + {% endfor %}
+
+
{{ post.short_desc }}
{% endfor %} +
All Posts