forked from getpelican/pelican-themes
-
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.
Merge pull request getpelican#12 from Mins/master
Updates to tuxlite_tbs and bootstrap themes
- Loading branch information
Showing
11 changed files
with
474 additions
and
390 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,15 +1,19 @@ | ||
{% extends "base.html" %} | ||
{% block title %}{{ SITENAME }} <small>[archive]</small>{% endblock %} | ||
{% block content %} | ||
{% for year, date_year in dates|groupby( 'date.year' ) %} | ||
<h2>{{ year }}</h2> | ||
{% for month, articles in date_year|groupby( 'date.month' ) %} | ||
<h3>{{ articles[ 0 ].date.strftime( '%B' ) }}</h3> | ||
<ul> | ||
{% for article in articles %} | ||
<li><a href="{{ article.url }}">{{ article.title }}</li> | ||
{% endfor %} | ||
</ul> | ||
{% endfor %} | ||
{% endfor %} | ||
|
||
<h1>Archives</h1> | ||
|
||
<table class="table"> | ||
<tbody> | ||
{% for article in dates %} | ||
<tr> | ||
<td>{{ article.date.strftime("%d %b %Y") }}</td> | ||
<td><a href='{{ article.url }}'>{{ article.title }}</a></td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
|
||
|
||
{% endblock %} |
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
Oops, something went wrong.