Add hidden post attribute and add hidden post

This commit is contained in:
Tyler Hallada 2016-01-06 23:08:50 -05:00
parent dd7418be14
commit 340dedbd1b
2 changed files with 20 additions and 17 deletions

View File

@ -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)

View File

@ -4,26 +4,28 @@ title: Tyler Hallada - Blog
---
{% for post in paginator.posts %}
<div class="card">
<div class="row clearfix post-header">
<div class="column three-fourths">
<a href="{{ post.url }}"><h2 class="post-title">{{ post.title }}</h2></a>
{% if post.hidden == null or post.hidden == false %}
<div class="card">
<div class="row clearfix post-header">
<div class="column three-fourths">
<a href="{{ post.url }}"><h2 class="post-title">{{ post.title }}</h2></a>
</div>
<div class="column fourth">
<span class="timestamp">{{ post.date | date_to_string }}</span>
</div>
</div>
<div class="column fourth">
<span class="timestamp">{{ post.date | date_to_string }}</span>
<div class="row clearfix">
<div class="column full post">
{{ post.excerpt }}
</div>
</div>
<div class="row clearfix more-row">
<div class="column full">
<a href="{{ post.url }}" class="read-more">Read More &raquo;</a>
</div>
</div>
</div>
<div class="row clearfix">
<div class="column full post">
{{ post.excerpt }}
</div>
</div>
<div class="row clearfix more-row">
<div class="column full">
<a href="{{ post.url }}" class="read-more">Read More &raquo;</a>
</div>
</div>
</div>
{% endif %}
{% endfor %}
<div class="row clearfix pagination">