forked from github/pelican
Add a new theme "martyalchin", based on http://martyalchin.com
This commit is contained in:
parent
5a9dbcab1c
commit
35dc0bf34c
12 changed files with 468 additions and 5 deletions
0
pelican/themes/martyalchin/templates/archives.html
Normal file
0
pelican/themes/martyalchin/templates/archives.html
Normal file
13
pelican/themes/martyalchin/templates/article.html
Normal file
13
pelican/themes/martyalchin/templates/article.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}{{ article.title }}{%endblock%}
|
||||
{% block content %}
|
||||
<h1>{{ article.title }}</h1>
|
||||
<div class="info">
|
||||
{% if article.author %}
|
||||
By <a class="url fn" href="#">{{ article.author }}</a>
|
||||
{% endif %}
|
||||
on <a>{{ article.date.strftime('%a %d %B %Y') }}</a>
|
||||
about <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>
|
||||
</div>
|
||||
{{ article.content }}
|
||||
{% endblock %}
|
||||
15
pelican/themes/martyalchin/templates/base.html
Normal file
15
pelican/themes/martyalchin/templates/base.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/css/style.css" type="text/css" />
|
||||
<link href="{{ SITEURL }}/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
|
||||
</head>
|
||||
<body>
|
||||
{% block content %} {% endblock %}
|
||||
|
||||
<div class="copyright info vcard">Design by <a class="fn url"
|
||||
href="http://martyalchin.com">Marty Alchin</a>, <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/us/">some rights reserved</a>. Powered by <a href="http://alexis.notomyidea.org/pelican/">pelican</a></div>
|
||||
</body>
|
||||
</html>
|
||||
0
pelican/themes/martyalchin/templates/categories.html
Normal file
0
pelican/themes/martyalchin/templates/categories.html
Normal file
9
pelican/themes/martyalchin/templates/category.html
Normal file
9
pelican/themes/martyalchin/templates/category.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}{{ category }}{%endblock%}
|
||||
<h1>{{ category }}</h1>
|
||||
<div class="info"></div>
|
||||
{% for article in articles %}
|
||||
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
|
||||
<p class="published">{{ article.date.strftime('%a %d %B %Y') }}</p>
|
||||
{{ article.summary }}
|
||||
{% endfor %}
|
||||
10
pelican/themes/martyalchin/templates/index.html
Normal file
10
pelican/themes/martyalchin/templates/index.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1><a href="{{ SITEURL }}">{{ SITENAME }}</a></h1>
|
||||
{% if SITESUBTITLE %} <div class="info">{{ SITESUBTITLE }}</div> {% endif %}
|
||||
{% for article in articles %}
|
||||
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
|
||||
<p class="published">{{ article.date.strftime('%a %d %B %Y') }}</p>
|
||||
{{ article.summary }}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
7
pelican/themes/martyalchin/templates/page.html
Normal file
7
pelican/themes/martyalchin/templates/page.html
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}{{ page.title }}{%endblock%}
|
||||
{% block content %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
{{ page.content }}
|
||||
{% endblock %}
|
||||
|
||||
0
pelican/themes/martyalchin/templates/tag.html
Normal file
0
pelican/themes/martyalchin/templates/tag.html
Normal file
0
pelican/themes/martyalchin/templates/tags.html
Normal file
0
pelican/themes/martyalchin/templates/tags.html
Normal file
Loading…
Add table
Add a link
Reference in a new issue