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 title: Generating Realistic Satellite Imagery with Deep Neural Networks
layout: post layout: post
hidden: true
--- ---
I've been doing a lot of experimenting with [neural-style](https://github.com/jcjohnson/neural-style) 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 %} {% for post in paginator.posts %}
<div class="card"> {% if post.hidden == null or post.hidden == false %}
<div class="row clearfix post-header"> <div class="card">
<div class="column three-fourths"> <div class="row clearfix post-header">
<a href="{{ post.url }}"><h2 class="post-title">{{ post.title }}</h2></a> <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>
<div class="column fourth"> <div class="row clearfix">
<span class="timestamp">{{ post.date | date_to_string }}</span> <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> </div>
<div class="row clearfix"> {% endif %}
<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>
{% endfor %} {% endfor %}
<div class="row clearfix pagination"> <div class="row clearfix pagination">