From da810104cd033c1dcc25d67f8f09985a415b43b9 Mon Sep 17 00:00:00 2001 From: Stéphane Caron Date: Wed, 20 Mar 2013 12:04:11 +0100 Subject: theme variant from mnmlist --- nmnlist/LICENSE | 3 + nmnlist/README.rst | 22 ++++ nmnlist/compass/config.rb | 6 + nmnlist/compass/src/main.scss | 138 +++++++++++++++++++++++ nmnlist/screenshot.png | Bin 0 -> 123920 bytes nmnlist/static/css/.main.css.un~ | Bin 0 -> 50017 bytes nmnlist/static/css/.pygment.css.un~ | Bin 0 -> 7945 bytes nmnlist/static/css/main.css | 185 +++++++++++++++++++++++++++++++ nmnlist/static/css/pygment.css | 205 +++++++++++++++++++++++++++++++++++ nmnlist/templates/.article.html.un~ | Bin 0 -> 19753 bytes nmnlist/templates/.base.html.un~ | Bin 0 -> 21409 bytes nmnlist/templates/.index.html.un~ | Bin 0 -> 3501 bytes nmnlist/templates/.page.html.un~ | Bin 0 -> 5424 bytes nmnlist/templates/analytics.html | 11 ++ nmnlist/templates/archives.html | 13 +++ nmnlist/templates/article.html | 12 ++ nmnlist/templates/author.html | 2 + nmnlist/templates/authors.html | 0 nmnlist/templates/base.html | 50 +++++++++ nmnlist/templates/categories.html | 8 ++ nmnlist/templates/category.html | 2 + nmnlist/templates/comments.html | 1 + nmnlist/templates/disqus_script.html | 11 ++ nmnlist/templates/github.html | 9 ++ nmnlist/templates/index.html | 35 ++++++ nmnlist/templates/page.html | 11 ++ nmnlist/templates/pagination.html | 15 +++ nmnlist/templates/piwik.html | 16 +++ nmnlist/templates/tag.html | 2 + nmnlist/templates/taglist.html | 2 + nmnlist/templates/tags.html | 9 ++ nmnlist/templates/translations.html | 6 + nmnlist/templates/twitter.html | 3 + 33 files changed, 777 insertions(+) create mode 100644 nmnlist/LICENSE create mode 100644 nmnlist/README.rst create mode 100644 nmnlist/compass/config.rb create mode 100644 nmnlist/compass/src/main.scss create mode 100644 nmnlist/screenshot.png create mode 100644 nmnlist/static/css/.main.css.un~ create mode 100644 nmnlist/static/css/.pygment.css.un~ create mode 100644 nmnlist/static/css/main.css create mode 100644 nmnlist/static/css/pygment.css create mode 100644 nmnlist/templates/.article.html.un~ create mode 100644 nmnlist/templates/.base.html.un~ create mode 100644 nmnlist/templates/.index.html.un~ create mode 100644 nmnlist/templates/.page.html.un~ create mode 100644 nmnlist/templates/analytics.html create mode 100644 nmnlist/templates/archives.html create mode 100644 nmnlist/templates/article.html create mode 100644 nmnlist/templates/author.html create mode 100644 nmnlist/templates/authors.html create mode 100644 nmnlist/templates/base.html create mode 100644 nmnlist/templates/categories.html create mode 100644 nmnlist/templates/category.html create mode 100644 nmnlist/templates/comments.html create mode 100644 nmnlist/templates/disqus_script.html create mode 100644 nmnlist/templates/github.html create mode 100644 nmnlist/templates/index.html create mode 100644 nmnlist/templates/page.html create mode 100644 nmnlist/templates/pagination.html create mode 100644 nmnlist/templates/piwik.html create mode 100644 nmnlist/templates/tag.html create mode 100644 nmnlist/templates/taglist.html create mode 100644 nmnlist/templates/tags.html create mode 100644 nmnlist/templates/translations.html create mode 100644 nmnlist/templates/twitter.html diff --git a/nmnlist/LICENSE b/nmnlist/LICENSE new file mode 100644 index 0000000..21b1bee --- /dev/null +++ b/nmnlist/LICENSE @@ -0,0 +1,3 @@ +This theme is uncopyrighted (http://mathieu.agopian.info/mnmlist/theme.html), and is an adaptation of the mnmlist theme for wordpress, which is also uncopyrighted (http://mnmlist.com/theme/). + +This theme is also free, and offered as is. diff --git a/nmnlist/README.rst b/nmnlist/README.rst new file mode 100644 index 0000000..c863513 --- /dev/null +++ b/nmnlist/README.rst @@ -0,0 +1,22 @@ +mnmlist +####### + +This is the `mnmlist theme `_ adapted for Pelican. + + +Settings +~~~~~~~~ + +There's one additional setting used by this theme, if present: + +:: + + HIDE_DATE = False + +If ``HIDE_DATE`` is set to ``True``, dates won't be displayed under the blog post titles. + + +Compass +~~~~~~~ + +The ``main.css`` file is generated from the ``compass/src/main.scss`` sass file, using http://compass-style.org/. diff --git a/nmnlist/compass/config.rb b/nmnlist/compass/config.rb new file mode 100644 index 0000000..29d91ee --- /dev/null +++ b/nmnlist/compass/config.rb @@ -0,0 +1,6 @@ +# Require any additional compass plugins here. +# Set this to the root of your project when deployed: +css_dir = "../static/css" +sass_dir = "src" +# To enable relative paths to assets via compass helper functions. Uncomment: +relative_assets = true diff --git a/nmnlist/compass/src/main.scss b/nmnlist/compass/src/main.scss new file mode 100644 index 0000000..5ca45ee --- /dev/null +++ b/nmnlist/compass/src/main.scss @@ -0,0 +1,138 @@ +/* + Theme Name: mnmlist + Theme URI: http://mathieu.agopian.info/mnmlist/theme.html + Description: Theme adapted from http://mnmlist.com/theme/ from Leo Babauta, a very clean minimalist theme, without comments, search, archives or other features. + Author: Mathieu Agopian + Autor URI: http://mathieu.agopian.info + + This theme is uncopyrighted, free, and offered as is. +*/ + +@import url("pygment.css"); + +body { + background: #fff; + color: #333; + font: 20px Hoefler Text, bodyfont, serif; + line-height: 30px; + max-width: 30em; + margin: 60px 14px 0 64px; +} + +@mixin heading ($font-size, $color: #666) { + color: $color; + font-family: Helvetica, sans-serif; + font-size: $font-size; +} + +h1 { + @include heading(1.5em, #333); + font-weight: normal; + margin-bottom: 0; +} + +h2 { + @include heading(1.3em); +} + +h3 { + @include heading(1em); +} + +h4 { + @include heading(0.9em); +} + +time { + color: #c0c0c0; + font-size: 50%; +} + +img { + border: none; +} + +blockquote { + border-left: 1px solid #A5ABAB; + margin:0px; + padding:0 12px 0 12px; +} + +p { + line-height: 30px; + margin:30px auto; + text-indent: 0px; + &.caption { + font-size: 80%; + margin-top: 0; + } +} + +a { + border-bottom: #999 1px solid; + color: #303030; + text-decoration: none; + &:hover { color: #999; } +} + +ul, ol { + padding: .5em 0em 1em 3.2em; + li { + line-height: 30px; + padding: 6px 0 0 0; + } +} + +strong { + color: #555555; + font-family: Georgia, "Times New Roman", Times, serif; + font-weight: bold; +} + +tt, pre { + background-color: #fafafa; + font-family: Inconsolata, Monaco, monospace; + line-height: 1.2em; +} + +pre { + font-size: 0.8em; + overflow: auto; + padding: 10px; +} + +header { + padding-bottom: 20px; + a { + border-bottom: none; + &#page-title { font-weight: bold; } + } +} + +#article-list { + margin-top: 100px; + ol li { + line-height: 1.2em; + list-style-type: none; + padding-bottom: 10px; + } +} + +footer { + background: #fff; + color: #666; + font-family:helvetica, sans-serif; + font-size:13px; + letter-spacing:4px; + margin-left: 20px; + a { + border-bottom: none; + color: #c0c0c0; + } + li { + display: inline; + } + p { + text-align: right; + } +} diff --git a/nmnlist/screenshot.png b/nmnlist/screenshot.png new file mode 100644 index 0000000..e17f661 Binary files /dev/null and b/nmnlist/screenshot.png differ diff --git a/nmnlist/static/css/.main.css.un~ b/nmnlist/static/css/.main.css.un~ new file mode 100644 index 0000000..918c349 Binary files /dev/null and b/nmnlist/static/css/.main.css.un~ differ diff --git a/nmnlist/static/css/.pygment.css.un~ b/nmnlist/static/css/.pygment.css.un~ new file mode 100644 index 0000000..e8b7d24 Binary files /dev/null and b/nmnlist/static/css/.pygment.css.un~ differ diff --git a/nmnlist/static/css/main.css b/nmnlist/static/css/main.css new file mode 100644 index 0000000..3b91cc2 --- /dev/null +++ b/nmnlist/static/css/main.css @@ -0,0 +1,185 @@ +/* + Theme Name: mnmlist + Theme URI: http://mathieu.agopian.info/mnmlist/theme.html + Description: Theme adapted from http://mnmlist.com/theme/ from Leo Babauta, a very clean minimalist theme, without comments, search, archives or other features. + Author: Mathieu Agopian + Autor URI: http://mathieu.agopian.info + + This theme is uncopyrighted, free, and offered as is. + + Update (inverted colors, minor changes) by Tastalian, 2013-03-20. +*/ + +@import url("pygment.css"); + +/* line 13, ../../compass/src/main.scss */ +body { + background: #111; + color: #EEE; + font: 20px Hoefler Text, bodyfont, serif; + line-height: 30px; + max-width: 30em; + margin: 60px 14px 0 64px; +} + +/* line 28, ../../compass/src/main.scss */ +h1 { + color: #F00; + font-family: Helvetica, sans-serif; + font-size: 1.5em; + font-weight: normal; + margin-bottom: 0; +} + +/* line 34, ../../compass/src/main.scss */ +h2 { + color: #DDD; + font-family: Helvetica, sans-serif; + font-size: 1.3em; +} + +/* line 38, ../../compass/src/main.scss */ +h3 { + color: #CCC; + font-family: Helvetica, sans-serif; + font-size: 1em; +} + +/* line 42, ../../compass/src/main.scss */ +h4 { + color: #CCC; + font-family: Helvetica, sans-serif; + font-size: 0.9em; +} + +/* line 46, ../../compass/src/main.scss */ +time, #sitename { + color: #c0c0c0; + font-size: 75%; + font-variant: small-caps; +} + +/* line 51, ../../compass/src/main.scss */ +img { + border: none; +} + +/* line 55, ../../compass/src/main.scss */ +blockquote { + border-left: 1px solid #A5ABAB; + margin: 0px; + padding: 0 12px 0 12px; +} + +/* line 61, ../../compass/src/main.scss */ +p { + line-height: 30px; + margin: 30px auto; + text-indent: 0px; +} + +/* line 65, ../../compass/src/main.scss */ +p.caption { + font-size: 80%; + margin-top: 0; +} + +/* my own link style (Tastalian) */ + +a { + color: #3B0; + text-decoration: none; +} + +a:hover { + background-color: #3B0; + color: white; +} + +a:visited { + color: #F60; +} + +a:visited:hover { + background-color: #F60; + color: white; +} + +/* line 78, ../../compass/src/main.scss */ +ul, ol { + padding: .5em 0em 1em 3.2em; +} + +/* line 80, ../../compass/src/main.scss */ +ul li, ol li { + line-height: 30px; + padding: 6px 0 0 0; +} + +/* line 86, ../../compass/src/main.scss */ +strong { + color: #999; + font-family: Georgia, "Times New Roman", Times, serif; + font-weight: bold; +} + +/* line 92, ../../compass/src/main.scss */ +tt, pre { + background-color: #222; + font-family: Inconsolata, Monaco, monospace; + line-height: 1.2em; +} + +/* line 98, ../../compass/src/main.scss */ +pre { + font-size: 0.8em; + overflow: auto; + padding: 10px; +} + +/* line 104, ../../compass/src/main.scss */ +header { + padding-bottom: 20px; +} + +/* line 106, ../../compass/src/main.scss */ +header a { + border-bottom: none; +} + +/* line 108, ../../compass/src/main.scss */ +header a#page-title { + font-weight: bold; +} + +/* line 112, ../../compass/src/main.scss */ +#article-list { + margin-top: 100px; +} + +/* line 114, ../../compass/src/main.scss */ +#article-list ol li { + line-height: 1.2em; + list-style-type: none; + padding-bottom: 10px; +} + +/* line 121, ../../compass/src/main.scss */ +footer { + background: #222; + color: #CCC; + font-family: helvetica, sans-serif; + font-size: 13px; + letter-spacing: 4px; + margin-left: 20px; +} + +/* line 132, ../../compass/src/main.scss */ +footer li { + display: inline; +} + +/* line 135, ../../compass/src/main.scss */ +footer p { + text-align: right; +} diff --git a/nmnlist/static/css/pygment.css b/nmnlist/static/css/pygment.css new file mode 100644 index 0000000..0c7ac87 --- /dev/null +++ b/nmnlist/static/css/pygment.css @@ -0,0 +1,205 @@ +.hll { +background-color:#FFFFCC; +} +.c { +color:#408090; +font-style:italic; +} +.err { +border:1px solid #FF0000; +} +.k { +color:#007020; +font-weight:bold; +} +.o { +color:#666666; +} +.cm { +color:#408090; +font-style:italic; +} +.cp { +color:#007020; +} +.c1 { +color:#408090; +font-style:italic; +} +.cs { +background-color:#FFF0F0; +color:#408090; +} +.gd { +color:#A00000; +} +.ge { +font-style:italic; +} +.gr { +color:#FF0000; +} +.gh { +color:#000080; +font-weight:bold; +} +.gi { +color:#00A000; +} +.go { +color:#303030; +} +.gp { +color:#C65D09; +font-weight:bold; +} +.gs { +font-weight:bold; +} +.gu { +color:#800080; +font-weight:bold; +} +.gt { +color:#0040D0; +} +.kc { +color:#007020; +font-weight:bold; +} +.kd { +color:#007020; +font-weight:bold; +} +.kn { +color:#007020; +font-weight:bold; +} +.kp { +color:#007020; +} +.kr { +color:#007020; +font-weight:bold; +} +.kt { +color:#902000; +} +.m { +color:#208050; +} +.s { +color:#4070A0; +} +.na { +color:#4070A0; +} +.nb { +color:#007020; +} +.nc { +color:#0E84B5; +font-weight:bold; +} +.no { +color:#60ADD5; +} +.nd { +color:#555555; +font-weight:bold; +} +.ni { +color:#D55537; +font-weight:bold; +} +.ne { +color:#007020; +} +.nf { +color:#10D0E0; +} +.nl { +color:#002070; +font-weight:bold; +} +.nn { +color:#0E84B5; +font-weight:bold; +} +.nt { +color:#062873; +font-weight:bold; +} +.nv { +color:#BB60D5; +} +.ow { +color:#007020; +font-weight:bold; +} +.w { +color:#BBBBBB; +} +.mf { +color:#208050; +} +.mh { +color:#208050; +} +.mi { +color:#208050; +} +.mo { +color:#208050; +} +.sb { +color:#4070A0; +} +.sc { +color:#4070A0; +} +.sd { +color:#4070A0; +font-style:italic; +} +.s2 { +color:#4070A0; +} +.se { +color:#4070A0; +font-weight:bold; +} +.sh { +color:#4070A0; +} +.si { +color:#70A0D0; +font-style:italic; +} +.sx { +color:#C65D09; +} +.sr { +color:#235388; +} +.s1 { +color:#4070A0; +} +.ss { +color:#517918; +} +.bp { +color:#007020; +} +.vc { +color:#BB60D5; +} +.vg { +color:#BB60D5; +} +.vi { +color:#BB60D5; +} +.il { +color:#208050; +} diff --git a/nmnlist/templates/.article.html.un~ b/nmnlist/templates/.article.html.un~ new file mode 100644 index 0000000..3d5cd13 Binary files /dev/null and b/nmnlist/templates/.article.html.un~ differ diff --git a/nmnlist/templates/.base.html.un~ b/nmnlist/templates/.base.html.un~ new file mode 100644 index 0000000..7579a7a Binary files /dev/null and b/nmnlist/templates/.base.html.un~ differ diff --git a/nmnlist/templates/.index.html.un~ b/nmnlist/templates/.index.html.un~ new file mode 100644 index 0000000..1b7f894 Binary files /dev/null and b/nmnlist/templates/.index.html.un~ differ diff --git a/nmnlist/templates/.page.html.un~ b/nmnlist/templates/.page.html.un~ new file mode 100644 index 0000000..8ab4606 Binary files /dev/null and b/nmnlist/templates/.page.html.un~ differ diff --git a/nmnlist/templates/analytics.html b/nmnlist/templates/analytics.html new file mode 100644 index 0000000..ba174fc --- /dev/null +++ b/nmnlist/templates/analytics.html @@ -0,0 +1,11 @@ +{% if GOOGLE_ANALYTICS %} + + +{% endif %} \ No newline at end of file diff --git a/nmnlist/templates/archives.html b/nmnlist/templates/archives.html new file mode 100644 index 0000000..5ba2c81 --- /dev/null +++ b/nmnlist/templates/archives.html @@ -0,0 +1,13 @@ +{% extends "base.html" %} +{% block content %} +
+

Archives for {{ SITENAME }}

+ +
+{% for article in dates %} +
{{ article.locale_date }}
+
{{ article.title }}
+{% endfor %} +
+
+{% endblock %} diff --git a/nmnlist/templates/article.html b/nmnlist/templates/article.html new file mode 100644 index 0000000..58f8dd2 --- /dev/null +++ b/nmnlist/templates/article.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} +{% block title %}{{ super() }} : {{ article.title }}{% endblock %} +{% block content %} +
+

{{ article.title }}

+ {{ SITENAME }} {% if SITESUBTITLE %} {{ SITESUBTITLE }}{% endif %} + {% if not HIDE_DATE %}{% endif %} +
+
+ {{ article.content }} +
+{% endblock %} diff --git a/nmnlist/templates/author.html b/nmnlist/templates/author.html new file mode 100644 index 0000000..0b37290 --- /dev/null +++ b/nmnlist/templates/author.html @@ -0,0 +1,2 @@ +{% extends "index.html" %} +{% block title %}{{ SITENAME }} - {{ author }}{% endblock %} diff --git a/nmnlist/templates/authors.html b/nmnlist/templates/authors.html new file mode 100644 index 0000000..e69de29 diff --git a/nmnlist/templates/base.html b/nmnlist/templates/base.html new file mode 100644 index 0000000..e2682d5 --- /dev/null +++ b/nmnlist/templates/base.html @@ -0,0 +1,50 @@ + + + + {% block title %}{{ SITENAME }}{%endblock%} + + + + {% if FEED_RSS %} + + {% endif %} + + + + + + + + + + +{% include 'github.html' %} + {% block content %} + {% endblock %} + + + +{% include 'analytics.html' %} +{% include 'piwik.html' %} +{% include 'disqus_script.html' %} + + diff --git a/nmnlist/templates/categories.html b/nmnlist/templates/categories.html new file mode 100644 index 0000000..e29be0c --- /dev/null +++ b/nmnlist/templates/categories.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} +{% block content %} + +{% endblock %} diff --git a/nmnlist/templates/category.html b/nmnlist/templates/category.html new file mode 100644 index 0000000..56f8e93 --- /dev/null +++ b/nmnlist/templates/category.html @@ -0,0 +1,2 @@ +{% extends "index.html" %} +{% block title %}{{ SITENAME }} - {{ category }}{% endblock %} diff --git a/nmnlist/templates/comments.html b/nmnlist/templates/comments.html new file mode 100644 index 0000000..bb033c0 --- /dev/null +++ b/nmnlist/templates/comments.html @@ -0,0 +1 @@ +{% if DISQUS_SITENAME %}

There are comments.

{% endif %} diff --git a/nmnlist/templates/disqus_script.html b/nmnlist/templates/disqus_script.html new file mode 100644 index 0000000..c4f442c --- /dev/null +++ b/nmnlist/templates/disqus_script.html @@ -0,0 +1,11 @@ +{% if DISQUS_SITENAME %} + +{% endif %} diff --git a/nmnlist/templates/github.html b/nmnlist/templates/github.html new file mode 100644 index 0000000..75592ac --- /dev/null +++ b/nmnlist/templates/github.html @@ -0,0 +1,9 @@ +{% if GITHUB_URL %} + +{% if GITHUB_POSITION != "left" %} +Fork me on GitHub +{% else %} +Fork me on GitHub +{% endif %} + +{% endif %} diff --git a/nmnlist/templates/index.html b/nmnlist/templates/index.html new file mode 100644 index 0000000..b754a8e --- /dev/null +++ b/nmnlist/templates/index.html @@ -0,0 +1,35 @@ +{% extends "base.html" %} +{% block content_title %}{% endblock %} +{% block content %} +{% if articles %} + {% for article in articles %} + + {# First item #} + {% if loop.first %} +
+

{{ article.title }}

+ {{ SITENAME }} {% if SITESUBTITLE %} {{ SITESUBTITLE }}{% endif %} + {% if not HIDE_DATE %}{% endif %} +
+ +
+ {{ article.content }}{% include 'comments.html' %} +
+ {% if loop.length > 1 %} +
+

Tous les articles

+
    + {% endif %} + {# other items #} + {% else %} +
  1. {{ article.title }}
  2. + {% endif %} +{% endfor %} + {% if loop.length > 1 %} +
+
+{% endif %} +{% else %} + Pas d'articles pour le moment. +{% endif %} +{% endblock content %} diff --git a/nmnlist/templates/page.html b/nmnlist/templates/page.html new file mode 100644 index 0000000..4659e4c --- /dev/null +++ b/nmnlist/templates/page.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} +{% block title %}{{ page.title }}{% endblock %} +{% block content %} +
+

{{ page.title }}

+ {{ SITENAME }} {% if SITESUBTITLE %} {{ SITESUBTITLE }}{% endif %} +
+
+ {{ page.content }} +
+{% endblock %} diff --git a/nmnlist/templates/pagination.html b/nmnlist/templates/pagination.html new file mode 100644 index 0000000..83c587a --- /dev/null +++ b/nmnlist/templates/pagination.html @@ -0,0 +1,15 @@ +{% if DEFAULT_PAGINATION %} +

+ {% if articles_page.has_previous() %} + {% if articles_page.previous_page_number() == 1 %} + « + {% else %} + « + {% endif %} + {% endif %} + Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} + {% if articles_page.has_next() %} + » + {% endif %} +

+{% endif %} diff --git a/nmnlist/templates/piwik.html b/nmnlist/templates/piwik.html new file mode 100644 index 0000000..ff459af --- /dev/null +++ b/nmnlist/templates/piwik.html @@ -0,0 +1,16 @@ +{% if PIWIK_URL and PIWIK_SITE_ID %} + +{% endif %} \ No newline at end of file diff --git a/nmnlist/templates/tag.html b/nmnlist/templates/tag.html new file mode 100644 index 0000000..68cdcba --- /dev/null +++ b/nmnlist/templates/tag.html @@ -0,0 +1,2 @@ +{% extends "index.html" %} +{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %} diff --git a/nmnlist/templates/taglist.html b/nmnlist/templates/taglist.html new file mode 100644 index 0000000..c792fd7 --- /dev/null +++ b/nmnlist/templates/taglist.html @@ -0,0 +1,2 @@ +{% if article.tags %}

tags: {% for tag in article.tags %}{{ tag }}{% endfor %}

{% endif %} +{% if PDF_PROCESSOR %}

get the pdf

{% endif %} diff --git a/nmnlist/templates/tags.html b/nmnlist/templates/tags.html new file mode 100644 index 0000000..a6011a0 --- /dev/null +++ b/nmnlist/templates/tags.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} +{% block content %} + +{% endblock %} + diff --git a/nmnlist/templates/translations.html b/nmnlist/templates/translations.html new file mode 100644 index 0000000..0079883 --- /dev/null +++ b/nmnlist/templates/translations.html @@ -0,0 +1,6 @@ +{% if article.translations %} +Translations: + {% for translation in article.translations %} + {{ translation.lang }} + {% endfor %} +{% endif %} diff --git a/nmnlist/templates/twitter.html b/nmnlist/templates/twitter.html new file mode 100644 index 0000000..c6b159f --- /dev/null +++ b/nmnlist/templates/twitter.html @@ -0,0 +1,3 @@ +{% if TWITTER_USERNAME %} + +{% endif %} \ No newline at end of file -- cgit From 5f7c4b6de8de0dc31986dc71b9959d5d44770ed7 Mon Sep 17 00:00:00 2001 From: Stéphane Caron Date: Wed, 20 Mar 2013 12:12:31 +0100 Subject: metadata for theme nmnlist, a white-over-black variant of mnmlist --- nmnlist/LICENSE | 2 +- nmnlist/README.rst | 4 ++-- nmnlist/screenshot.png | Bin 123920 -> 143865 bytes 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nmnlist/LICENSE b/nmnlist/LICENSE index 21b1bee..84f0b19 100644 --- a/nmnlist/LICENSE +++ b/nmnlist/LICENSE @@ -1,3 +1,3 @@ -This theme is uncopyrighted (http://mathieu.agopian.info/mnmlist/theme.html), and is an adaptation of the mnmlist theme for wordpress, which is also uncopyrighted (http://mnmlist.com/theme/). +This theme is uncopyrighted and is an adaptation from (http://mathieu.agopian.info/mnmlist/theme.html), which is itself an adaptation of the mnmlist theme for wordpress, which is also uncopyrighted (http://mnmlist.com/theme/). This theme is also free, and offered as is. diff --git a/nmnlist/README.rst b/nmnlist/README.rst index c863513..683f950 100644 --- a/nmnlist/README.rst +++ b/nmnlist/README.rst @@ -1,7 +1,7 @@ -mnmlist +nmnlist ####### -This is the `mnmlist theme `_ adapted for Pelican. +This is an inverted colors (white on black) variant of the `mnmlist theme `_. Settings diff --git a/nmnlist/screenshot.png b/nmnlist/screenshot.png index e17f661..e151ed4 100644 Binary files a/nmnlist/screenshot.png and b/nmnlist/screenshot.png differ -- cgit From cf48c4d51627d08e4177b1487de11dfaa146f7e3 Mon Sep 17 00:00:00 2001 From: Stéphane Caron Date: Wed, 20 Mar 2013 12:16:53 +0100 Subject: powered by pelican footer (personal preference) --- nmnlist/templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmnlist/templates/base.html b/nmnlist/templates/base.html index e2682d5..ccbe1ba 100644 --- a/nmnlist/templates/base.html +++ b/nmnlist/templates/base.html @@ -40,7 +40,7 @@ {% endif %} -

Theme from "mnmlist"

+

Proudly powered by pelican

{% include 'analytics.html' %} -- cgit From 552f2f6bb0c9a3440a19d5d5da71aab03b6bbe2a Mon Sep 17 00:00:00 2001 From: Stéphane Caron Date: Wed, 20 Mar 2013 12:17:05 +0100 Subject: *~ and .*~ files added to gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index e43b0f9..3fafb5a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ .DS_Store +.*~ +*~ -- cgit From bfa7e41948f91f2f0e300a1bf6539192ab26214b Mon Sep 17 00:00:00 2001 From: Stéphane Caron Date: Wed, 20 Mar 2013 12:31:23 +0100 Subject: made theme a little bit clearer --- nmnlist/static/css/.main.css.un~ | Bin 50017 -> 0 bytes nmnlist/static/css/main.css | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 nmnlist/static/css/.main.css.un~ diff --git a/nmnlist/static/css/.main.css.un~ b/nmnlist/static/css/.main.css.un~ deleted file mode 100644 index 918c349..0000000 Binary files a/nmnlist/static/css/.main.css.un~ and /dev/null differ diff --git a/nmnlist/static/css/main.css b/nmnlist/static/css/main.css index 3b91cc2..7fc7bd1 100644 --- a/nmnlist/static/css/main.css +++ b/nmnlist/static/css/main.css @@ -14,7 +14,7 @@ /* line 13, ../../compass/src/main.scss */ body { - background: #111; + background: #1E1E1E; color: #EEE; font: 20px Hoefler Text, bodyfont, serif; line-height: 30px; @@ -125,7 +125,7 @@ strong { /* line 92, ../../compass/src/main.scss */ tt, pre { - background-color: #222; + background-color: #2A2A2A; font-family: Inconsolata, Monaco, monospace; line-height: 1.2em; } @@ -166,7 +166,7 @@ header a#page-title { /* line 121, ../../compass/src/main.scss */ footer { - background: #222; + background: #2A2A2A; color: #CCC; font-family: helvetica, sans-serif; font-size: 13px; -- cgit