diff --git a/samples/test_settings.py b/samples/test_settings.py new file mode 100644 index 00000000..bfb33089 --- /dev/null +++ b/samples/test_settings.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- + +BLOGNAME = 'NotMyIdea.org' +BLOGSUBTITLE = u"Alexis Métaireau's weblog" +BLOGURL = 'http://blog.notmyidea.org' + +BLOGROLL = (('Biologeek', 'http://biologeek.org'), + ('Filyb', "http://filyb.info/"), + ('Libert-fr', "http://www.libert-fr.com"), + ('N1k0', "http://prendreuncafe.com/blog/"), + (u'Tarek Ziadé', "http://ziade.org/blog"), + ('Zubin Mithra', "http://zubin71.wordpress.com/"),) + +MENUITEMS = (('home', 'http://notmyidea.org'), + ('contact', 'mailto: alexis notmyidea org'),) + +SOCIAL = (('twitter', 'http://twitter.com/ametaireau'), + ('lastfm', 'http://lastfm.com/user/akounet'),) diff --git a/samples/themes/notmyidea/archives.html b/samples/themes/notmyidea/archives.html new file mode 100644 index 00000000..d99aad6d --- /dev/null +++ b/samples/themes/notmyidea/archives.html @@ -0,0 +1,13 @@ +{% extends "base.html" %} +{% block content %} +

Archives for {{ BLOGNAME }}

+ +
+{% for date, articles in dates %} + {% for article in articles %} +
{{ date }}
+
{{ article.title }}
+ {% endfor %} +{% endfor %} +
+{% endblock %} diff --git a/samples/themes/notmyidea/article.html b/samples/themes/notmyidea/article.html new file mode 100644 index 00000000..a9755195 --- /dev/null +++ b/samples/themes/notmyidea/article.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} +{% block content %} +
+

{{ article.title }}

+ +
+ {{ article.content }} +
+
+{% endblock %} diff --git a/samples/themes/notmyidea/base.html b/samples/themes/notmyidea/base.html new file mode 100644 index 00000000..5e08829a --- /dev/null +++ b/samples/themes/notmyidea/base.html @@ -0,0 +1,66 @@ + + + + {% block title %}{{ BLOGNAME }}{%endblock%} + + + + + + + + + + + + + + + {% block content %} + {% endblock %} +
+ {% if BLOGROLL %} +
+

blogroll

+ +
+ {% endif %} + {% if SOCIAL %} +
+

social

+ +
+ {% endif %} +
+ + + + + diff --git a/samples/themes/notmyidea/categories.html b/samples/themes/notmyidea/categories.html new file mode 100644 index 00000000..e69de29b diff --git a/samples/themes/notmyidea/category.html b/samples/themes/notmyidea/category.html new file mode 100644 index 00000000..e69de29b diff --git a/samples/themes/notmyidea/index.html b/samples/themes/notmyidea/index.html new file mode 100644 index 00000000..39967dc0 --- /dev/null +++ b/samples/themes/notmyidea/index.html @@ -0,0 +1,34 @@ +{% extends "base.html" %} +{% block content %} +{% for article in articles %} + {% if loop.index == 1 %} + +
+
    + {% else %} +
  1. + {% endif %} +{% endfor %} +
+
+{% endblock content %} diff --git a/samples/themes/notmyidea/tag.html b/samples/themes/notmyidea/tag.html new file mode 100644 index 00000000..e69de29b diff --git a/samples/themes/notmyidea/tags.html b/samples/themes/notmyidea/tags.html new file mode 100644 index 00000000..e69de29b