From 340dedbd1bfc238f04d76508fb9649d8a7465036 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Wed, 6 Jan 2016 23:08:50 -0500 Subject: [PATCH] Add hidden post attribute and add hidden post --- .../2016-01-06-neural-style.md | 1 + blog/index.html | 36 ++++++++++--------- 2 files changed, 20 insertions(+), 17 deletions(-) rename _drafts/neural-style.md => _posts/2016-01-06-neural-style.md (99%) diff --git a/_drafts/neural-style.md b/_posts/2016-01-06-neural-style.md similarity index 99% rename from _drafts/neural-style.md rename to _posts/2016-01-06-neural-style.md index e862371..b69ec90 100644 --- a/_drafts/neural-style.md +++ b/_posts/2016-01-06-neural-style.md @@ -1,6 +1,7 @@ --- title: Generating Realistic Satellite Imagery with Deep Neural Networks layout: post +hidden: true --- I've been doing a lot of experimenting with [neural-style](https://github.com/jcjohnson/neural-style) diff --git a/blog/index.html b/blog/index.html index 471d0f6..1799738 100644 --- a/blog/index.html +++ b/blog/index.html @@ -4,26 +4,28 @@ title: Tyler Hallada - Blog --- {% for post in paginator.posts %} -
-
-
-

{{ post.title }}

+ {% if post.hidden == null or post.hidden == false %} +
+
+ +
+ {{ post.date | date_to_string }} +
-
- {{ post.date | date_to_string }} +
+
+ {{ post.excerpt }} +
+
+
+
-
-
- {{ post.excerpt }} -
-
-
- -
-
+ {% endif %} {% endfor %}