aboutsummaryrefslogtreecommitdiffstats
path: root/martyalchin/templates
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-02-01 21:51:19 +0000
committerAlexis Metaireau <alexis@notmyidea.org>2011-02-01 21:51:19 +0000
commit869840185624149e701685ef8021a6d3d46fff3b (patch)
tree284ffcb1fc8fb1daf275c795eab5075a48b69c25 /martyalchin/templates
parent50991bc1b6a994223f2a715a42faad34050c507c (diff)
downloadpelican-themes-869840185624149e701685ef8021a6d3d46fff3b.zip
pelican-themes-869840185624149e701685ef8021a6d3d46fff3b.tar.gz
pelican-themes-869840185624149e701685ef8021a6d3d46fff3b.tar.bz2
Move the amrtyalchin theme from pelican to themes.
Diffstat (limited to 'martyalchin/templates')
-rw-r--r--martyalchin/templates/archives.html0
-rw-r--r--martyalchin/templates/article.html13
-rw-r--r--martyalchin/templates/base.html15
-rw-r--r--martyalchin/templates/categories.html0
-rw-r--r--martyalchin/templates/category.html9
-rw-r--r--martyalchin/templates/index.html10
-rw-r--r--martyalchin/templates/page.html7
-rw-r--r--martyalchin/templates/tag.html0
-rw-r--r--martyalchin/templates/tags.html0
9 files changed, 54 insertions, 0 deletions
diff --git a/martyalchin/templates/archives.html b/martyalchin/templates/archives.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/martyalchin/templates/archives.html
diff --git a/martyalchin/templates/article.html b/martyalchin/templates/article.html
new file mode 100644
index 0000000..f5c6591
--- /dev/null
+++ b/martyalchin/templates/article.html
@@ -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.locale_date }}</a>
+ about <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>
+ </div>
+ {{ article.content }}
+{% endblock %}
diff --git a/martyalchin/templates/base.html b/martyalchin/templates/base.html
new file mode 100644
index 0000000..eea18f9
--- /dev/null
+++ b/martyalchin/templates/base.html
@@ -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 }}/theme/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>
diff --git a/martyalchin/templates/categories.html b/martyalchin/templates/categories.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/martyalchin/templates/categories.html
diff --git a/martyalchin/templates/category.html b/martyalchin/templates/category.html
new file mode 100644
index 0000000..7c72d92
--- /dev/null
+++ b/martyalchin/templates/category.html
@@ -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.locale_date }}</p>
+{{ article.summary }}
+{% endfor %}
diff --git a/martyalchin/templates/index.html b/martyalchin/templates/index.html
new file mode 100644
index 0000000..6286ef6
--- /dev/null
+++ b/martyalchin/templates/index.html
@@ -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.locale_date }}</p>
+ {{ article.summary }}
+ {% endfor %}
+{% endblock %}
diff --git a/martyalchin/templates/page.html b/martyalchin/templates/page.html
new file mode 100644
index 0000000..727c762
--- /dev/null
+++ b/martyalchin/templates/page.html
@@ -0,0 +1,7 @@
+{% extends "base.html" %}
+{% block title %}{{ page.title }}{%endblock%}
+{% block content %}
+ <h1>{{ page.title }}</h1>
+ {{ page.content }}
+{% endblock %}
+
diff --git a/martyalchin/templates/tag.html b/martyalchin/templates/tag.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/martyalchin/templates/tag.html
diff --git a/martyalchin/templates/tags.html b/martyalchin/templates/tags.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/martyalchin/templates/tags.html