forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
68 additions
and
3 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
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
layout: page | ||
--- | ||
|
||
<div class="row"> | ||
|
||
<div class="col-xs-1"> </div> | ||
|
||
<div class="col-xs-10"> | ||
<h1>All Topics</h1> | ||
|
||
<p> | ||
The entire blog, organized by tag. You may prefer to see these | ||
organized <a href="/archive/">by year</a>. | ||
</p> | ||
|
||
<ul class="post-archive-list"> | ||
{% assign sorted_tags = site.tags | sort %} | ||
{% for tag in sorted_tags %} | ||
{% if tag[0] != 'popular' %} | ||
{% assign tag_len = tag[1].size %} | ||
<li class="post-archive-item"><a href="/tag/{{tag[0]}}">{{ tag[0] }}</a> ({{ tag_len }})</li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
|
||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
layout: page | ||
--- | ||
|
||
<div class="row"> | ||
|
||
<div class="col-xs-1"> </div> | ||
|
||
<div class="col-xs-10"> | ||
|
||
<h1>All Posts</h1> | ||
|
||
<p class="archive-paragraph"> | ||
The entire blog, by year. You may prefer to see these | ||
organized <a href="by-tag.html">by tag</a>. | ||
</p> | ||
|
||
{% for post in site.posts %} | ||
{% assign currentdate = post.date | date: "%Y" %} | ||
{% if currentdate != date %} | ||
{% unless forloop.first %}</ul>{% endunless %} | ||
<h2 id="y{{post.date | date: "%Y"}}">{{ currentdate }}</h2> | ||
<ul class="post-archive-list"> | ||
{% assign date = currentdate %} | ||
{% endif %} | ||
<li class="post-archive-item"><a href="{{ post.url }}">{{ post.title }}</a></li> | ||
{% if forloop.last %}</ul>{% endif %} | ||
{% endfor %} | ||
|
||
</div> | ||
</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