Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed up indexes, linked tech, removed tech blogs
- Loading branch information
Showing
3 changed files
with
4 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,18 @@ | ||
--- | ||
layout: home | ||
layout: default | ||
title: Blog Archive | ||
--- | ||
|
||
{% include header.html %} | ||
<div id="blog-archives"> | ||
<h2>Journal posts</h2> | ||
{% for post in site.posts reverse %} | ||
{% if post.categories contains "journal" %} | ||
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} | ||
{% unless year == this_year %} | ||
{% assign year = this_year %} | ||
<h2>{{ year }}</h2> | ||
{% endunless %} | ||
<article> | ||
{% include article.html %} | ||
{% include archive_post.html %} | ||
</article> | ||
{% endif %} | ||
{% endfor %} | ||
<h2>Other posts</h2> | ||
{% for post in site.posts reverse %} | ||
{% unless post.categories contains "journal" %} | ||
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} | ||
{% unless year == this_year %} | ||
{% assign year = this_year %} | ||
<h2>{{ year }}</h2> | ||
{% endunless %} | ||
<article> | ||
{% include article.html %} | ||
</article> | ||
{% endunless %} | ||
{% endfor %} | ||
{% endfor %} | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters