This repository has been archived by the owner on Aug 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
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
愧僧
committed
Aug 26, 2017
1 parent
3ebd220
commit f8e67a7
Showing
12 changed files
with
805 additions
and
651 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,28 +1,32 @@ | ||
<div> | ||
<article role="article"> | ||
<header> | ||
<h1 class="entry-title">Blog Archive</h1> | ||
</header> | ||
<div id="blog-archives"> | ||
{% for p in posts %} | ||
{% if p.year.length %} | ||
<h2>{{ p.year }}</h2> | ||
{% /if %} | ||
|
||
<article> | ||
<h1><a href="{{ p.url }}">{{ p.title }}</a></h1> | ||
<time datetime="{{ p.dateGTM }}" pubdate><span class='month'>{{ p.dateMonth }}</span> <span class='day'>{{ p.dateDay }}</span> <span class='year'>{{ p.dateYear }}</span></time> | ||
<footer> | ||
{% if p.cats.@count %}<span class="categories">posted in {% /if %} | ||
{% for cat in p.cats %} | ||
<a class='category' href='{{ cat.url }}'>{{ cat.name }}</a> | ||
{% /for %} | ||
{% if p.cats.@count %}</span>{% /if %} | ||
</footer> | ||
</article> | ||
{% /for %} | ||
<script type="text/javascript"> | ||
$(function(){ | ||
$('#menu_item_archives').addClass('is_active'); | ||
}); | ||
</script> | ||
<div class="row"> | ||
<div class="large-8 medium-8 columns"> | ||
<div id="archives-page-wrap"> | ||
<h1>Archives</h1> | ||
<div class="markdown-body archives-wrap"> | ||
{% for p in posts %} | ||
{% if p.year.length %} | ||
<h1>{{ p.year }}</h1> | ||
{% /if %} | ||
<div class="article"> | ||
<a class="clearlink" href="{{ p.url }}"> | ||
<h1>{{ p.title }}</h1> | ||
</a> | ||
<div class="read-more clearfix"> | ||
<span class="date">{{p.date}}</span> | ||
{% if p.cats.@count %}<span>posted in </span> {% /if %} | ||
{% for cat in p.cats %} | ||
<span class="posted-in"><a href='{{ cat.url }}'>{{ cat.name }}</a></span> | ||
{% /for %} | ||
</div> | ||
</div><!-- article --> | ||
|
||
</div> | ||
</article> | ||
{% /for %} | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> |
Oops, something went wrong.