aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitmodules5
-rw-r--r--Just-Read/templates/base.html5
-rw-r--r--bricabrac/README.md22
-rw-r--r--bricabrac/archive.pngbin23212 -> 0 bytes
-rw-r--r--bricabrac/article.pngbin105413 -> 0 bytes
-rw-r--r--bricabrac/babel.cfg1
-rw-r--r--bricabrac/categories.pngbin14485 -> 0 bytes
-rw-r--r--bricabrac/index.pngbin41128 -> 0 bytes
-rw-r--r--bricabrac/messages.pot35
-rw-r--r--bricabrac/static/css/main.css2
-rw-r--r--bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Bold.otfbin0 -> 108264 bytes
-rw-r--r--bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Italic.otfbin0 -> 103872 bytes
-rw-r--r--bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Medium.otfbin0 -> 107728 bytes
-rw-r--r--bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Regular.otfbin0 -> 107260 bytes
-rw-r--r--bricabrac/static/fonts/alegreya-sans/SIL Open Font License.txt43
-rw-r--r--bricabrac/static/fonts/alegreya/Alegreya-Bold.otfbin0 -> 47740 bytes
-rw-r--r--bricabrac/static/fonts/alegreya/Alegreya-Italic.otfbin0 -> 45528 bytes
-rw-r--r--bricabrac/static/fonts/alegreya/Alegreya-Regular.otfbin0 -> 48040 bytes
-rw-r--r--bricabrac/static/fonts/alegreya/SIL Open Font License.txt44
-rw-r--r--bricabrac/templates/archives.html16
-rw-r--r--bricabrac/templates/article.html2
-rw-r--r--bricabrac/templates/base.html32
-rw-r--r--bricabrac/templates/categories.html2
-rw-r--r--bricabrac/templates/index.html17
-rw-r--r--bricabrac/templates/page.html2
-rw-r--r--bricabrac/translations/en/LC_MESSAGES/messages.mobin0 -> 649 bytes
-rw-r--r--bricabrac/translations/en/LC_MESSAGES/messages.po36
m---------bulrush0
-rw-r--r--graymill/LICENSE21
-rw-r--r--graymill/README.md85
-rw-r--r--graymill/sample_pelicanconf.py55
-rw-r--r--graymill/static/css/custom.css272
-rw-r--r--graymill/static/css/milligram.css600
-rw-r--r--graymill/static/images/icons/facebook.pngbin0 -> 8065 bytes
-rw-r--r--graymill/static/images/icons/github.pngbin0 -> 17085 bytes
-rw-r--r--graymill/static/images/icons/gplus.pngbin0 -> 20669 bytes
-rw-r--r--graymill/static/images/icons/linkedin.pngbin0 -> 8590 bytes
-rw-r--r--graymill/static/images/icons/mail.pngbin0 -> 17730 bytes
-rw-r--r--graymill/static/images/icons/rss.pngbin0 -> 19693 bytes
-rw-r--r--graymill/static/images/icons/twitter.pngbin0 -> 17479 bytes
-rw-r--r--graymill/templates/archives.html27
-rw-r--r--graymill/templates/article.html56
-rw-r--r--graymill/templates/author.html18
-rw-r--r--graymill/templates/base.html138
-rw-r--r--graymill/templates/categories.html21
-rw-r--r--graymill/templates/category.html17
-rw-r--r--graymill/templates/index.html39
-rw-r--r--graymill/templates/page.html8
-rw-r--r--graymill/templates/pagination.html16
-rw-r--r--graymill/templates/tag.html18
-rw-r--r--graymill/templates/tags.html21
-rw-r--r--graymill/templates/translations.html6
-rw-r--r--monospace/templates/index.html10
m---------nice-blog0
-rw-r--r--pelican-bootstrap3/README.md14
-rw-r--r--pelican-bootstrap3/templates/base.html5
-rw-r--r--pelican-bootstrap3/templates/includes/cc-license.html2
-rw-r--r--pelican-bootstrap3/templates/includes/liquid_tags_nb_header.html2
-rw-r--r--pelican-bootstrap3/templates/includes/sidebar.html2
-rw-r--r--pelican-bootstrap3/templates/includes/sidebar/archive.html23
-rw-r--r--pelican-bootstrap3/templates/includes/sidebar/authors.html22
-rw-r--r--pelican-bootstrap3/templates/includes/sidebar/social.html2
m---------relapse0
m---------resume0
64 files changed, 1692 insertions, 72 deletions
diff --git a/.gitmodules b/.gitmodules
index 7ba0959..41b8cad 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -234,4 +234,7 @@
url = https://github.com/art1fa/minimalX.git
[submodule "jojo"]
path = jojo
- url = https://github.com/dokelung/jojo.git \ No newline at end of file
+ url = https://github.com/dokelung/jojo.git
+[submodule "resume"]
+ path = resume
+ url = https://github.com/suheb/resume.git
diff --git a/Just-Read/templates/base.html b/Just-Read/templates/base.html
index cdb865b..bb86107 100644
--- a/Just-Read/templates/base.html
+++ b/Just-Read/templates/base.html
@@ -18,8 +18,9 @@
{% block scripts %}
{% endblock %}
-
- <link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
+ {% if FEED_ATOM %}
+ <link href="{{ SITEURL }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
+ {% endif %}
{% if FEED_RSS %}
<link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
{% endif %}
diff --git a/bricabrac/README.md b/bricabrac/README.md
index d59ccfc..682709e 100644
--- a/bricabrac/README.md
+++ b/bricabrac/README.md
@@ -3,30 +3,16 @@
Bricabrac is a minimalist theme for the static site generator [Pelican](https://blog.getpelican.com/).
It is based on the [mnmlist theme](https://github.com/getpelican/pelican-themes/tree/master/mnmlist).
-Note: templates include hard-coded French words, you must edit the .html files in order to modify them in the wanted language.
-
## How-to
To use this theme, just extract the archive and copy the bricabrac theme folder to the `themes` folder in your Pelican site path. Then add the line below to your pelicanconf.py :
THEME = 'themes/bricabrac-pelican-theme'
-## Live demo
-
-You can see a live demo of this theme on my personal web-log : [bricabraque.github.com](https://bricabraque.github.io).
-
-## Screenshots
-
-![Home page](index.png)
+## Localization
----
+This theme can handle several locales and languages for your website through the i18n-subsites jinja extension.
-![Article](article.png)
-
----
-
-![Category list](categories.png)
-
----
+## Live demo
-![Archive](archive.png)
+You can see a live demo of this theme on my personal web-log : [bricabraque.grainedutopie.eu](https://bricabrac.grainedutopie.eu). \ No newline at end of file
diff --git a/bricabrac/archive.png b/bricabrac/archive.png
deleted file mode 100644
index ad57ff7..0000000
--- a/bricabrac/archive.png
+++ /dev/null
Binary files differ
diff --git a/bricabrac/article.png b/bricabrac/article.png
deleted file mode 100644
index b64ec94..0000000
--- a/bricabrac/article.png
+++ /dev/null
Binary files differ
diff --git a/bricabrac/babel.cfg b/bricabrac/babel.cfg
new file mode 100644
index 0000000..2274808
--- /dev/null
+++ b/bricabrac/babel.cfg
@@ -0,0 +1 @@
+[jinja2: templates/**.html]
diff --git a/bricabrac/categories.png b/bricabrac/categories.png
deleted file mode 100644
index f7f9077..0000000
--- a/bricabrac/categories.png
+++ /dev/null
Binary files differ
diff --git a/bricabrac/index.png b/bricabrac/index.png
deleted file mode 100644
index cc44115..0000000
--- a/bricabrac/index.png
+++ /dev/null
Binary files differ
diff --git a/bricabrac/messages.pot b/bricabrac/messages.pot
new file mode 100644
index 0000000..25335f4
--- /dev/null
+++ b/bricabrac/messages.pot
@@ -0,0 +1,35 @@
+# Translations template for Bricabrac pelican theme.
+# CC-BY 2017 Bricabrac
+# This file is distributed under the same license as the Bricabrac pelican theme project.
+# Bricabrac <bricabrac@grainedutopie.eu>, 2017.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: 1.0\n"
+"Report-Msgid-Bugs-To: bricabrac@grainedutopie.eu\n"
+"POT-Creation-Date: 2017-03-15 14:06+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Bricabrac <bricabrac@grainedutopie.eu>\n"
+"Language-Team: none\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: Babel 2.3.4\n"
+
+#: templates/base.html:36 templates/categories.html:6
+msgid "catégories"
+msgstr "catégories"
+
+#: templates/index.html:15
+msgid "lire la suite"
+msgstr "lire la suite"
+
+#: templates/index.html:19
+msgid "Tous les articles"
+msgstr "Tous les articles"
+
+#: templates/index.html:30
+msgid "Aucun article"
+msgstr "Aucun article"
+
diff --git a/bricabrac/static/css/main.css b/bricabrac/static/css/main.css
index e2780f9..fbdc541 100644
--- a/bricabrac/static/css/main.css
+++ b/bricabrac/static/css/main.css
@@ -1 +1 @@
-*{box-sizing:border-box;}html,body{background:none repeat scroll 0% 0% #fefefe;color:#333;font-family:'EB Garamond',serif;line-height:2.5em;}#conteneur{margin:auto;padding:1em 0 1em;width:600px;}h1,h2,h3,h4{font-family:'Helvetica',sans-serif;}h1{color:#333;font-weight:normal;}h2,h3,h4{color:#666;}time{color:#888;font-family:'Helvetica',sans-serif;}blockquote{border-left:1px solid #a5abab;padding:0 12px 0 12px;}p{font-size:22px;white-space:pre-wrap;}a{color:#c5000b;text-decoration:none;}a:hover{color:#999;}hr{border:none;color:#333;margin:3em auto 4em;text-align:center;}hr:after{content:'\002042';}ul li,ol li,dl dd,dl dt{font-size:25px;}strong{color:#444;font-weight:bold;}header{padding:2em 0 0;}header a{color:#333;}header a#page-title{color:#c5000b;font-weight:bold;}#article-list{margin-top:6em;}#article-list ol li{list-style-type:none;}.simple-footnotes{border-top:1px solid #666;margin-top:4em;padding-top:1em;}footer{font-family:'Helvetica',sans-serif;letter-spacing:4px;padding:3em 0 2em;}footer a{color:#888;}footer li{display:inline;font-size:.9em;}@media only screen and (max-width:650px){#conteneur{width:90%;}}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block;}audio,canvas,progress,video{display:inline-block;vertical-align:baseline;}audio:not([controls]){display:none;height:0;}[hidden],template{display:none;}a{background-color:transparent;}a:active,a:hover{outline:0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}h1{font-size:2em;margin:0;}mark{background:#ff0;color:#000;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:1em 40px;}hr{box-sizing:content-box;height:0;}pre{overflow:auto;}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em;}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;}button{overflow:visible;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}input{line-height:normal;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto;}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}fieldset{border:none;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}textarea{overflow:auto;}optgroup{font-weight:bold;}table{border-collapse:collapse;border-spacing:0;}td,th{padding:0;}
+@font-face{font-family:Alegreya;src:url('../fonts/alegreya/Alegreya-Regular.otf') format("opentype");font-weight:400;font-style:normal;}@font-face{font-family:Alegreya;src:url('../fonts/alegreya/Alegreya-Italic.otf') format("opentype");font-weight:400;font-style:italic;}@font-face{font-family:Alegreya;src:url('../fonts/alegreya/Alegreya-Bold.otf') format("opentype");font-weight:700;font-style:italic;}@font-face{font-family:Alegreya Sans;src:url('../fonts/alegreya-sans/AlegreyaSans-Regular.otf') format("opentype");font-weight:400;font-style:normal;}@font-face{font-family:Alegreya Sans;src:url('../fonts/alegreya-sans/AlegreyaSans-Medium.otf') format("opentype");font-weight:500;font-style:normal;}@font-face{font-family:Alegreya Sans;src:url('../fonts/alegreya-sans/AlegreyaSans-Bold.otf') format("opentype");font-weight:700;font-style:normal;}*{box-sizing:border-box;}html,body{background:none repeat scroll 0% 0% #fefefe;color:#333;font-family:'Alegreya',serif;line-height:2em;}#conteneur{margin:auto;width:560px;}h1,h2,h3,h4{font-family:'Alegreya Sans',sans-serif;font-weight:500;font-style:normal;}h1{color:#333;font-weight:normal;}h2,h3,h4{color:#444;}article h1,h2,h3,h4{padding:1em 0 .5em;}time{color:#888;font-family:'Alegreya Sans',sans-serif;font-size:1.2em;font-weight:400;}blockquote{border-left:1px solid #a5abab;padding:0 12px 0 12px;}p{font-size:20px;text-align:justify;padding:0;margin:0;line-height:1.3em;}#continue{margin-top:.5em;}article p:first-letter{margin-left:1em;}a{color:#c5000b;text-decoration:none;}a:hover{color:#999;}hr{border:none;color:#333;margin:3em auto 4em;text-align:center;}hr:after{content:'\002042';}ul li,ol li,dl dd,dl dt{font-size:20px;}ul,ol,dl{line-height:1.4em;}dl{padding-left:1em;}header{padding:2em 0 1em;}header a{color:#333;}header a#page-title{color:#c5000b;font-weight:700;}#article-list{margin-top:2em;}#article-list h2{line-height:1em;padding-bottom:0;}#article-list ol li{list-style-type:none;}.simple-footnotes{border-top:1px solid #666;margin-top:4em;padding-top:1em;}footer{font-family:'Alegreya Sans',sans-serif;letter-spacing:4px;padding:2em 0 2em;text-align:right;}footer a{color:#666;}footer li{display:inline;font-size:15px;}@media only screen and (max-width:650px){#conteneur{width:90%;}}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block;}audio,canvas,progress,video{display:inline-block;vertical-align:baseline;}audio:not([controls]){display:none;height:0;}[hidden],template{display:none;}a{background-color:transparent;}a:active,a:hover{outline:0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:700;}dfn,i,em{font-style:italic;}h1{font-size:2em;margin:0;}mark{background:#ff0;color:#000;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:1em 40px;}hr{box-sizing:content-box;height:0;}pre{overflow:auto;}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em;line-height:1.3em;background-color:#eee;padding:1em;}code{font-size:.7em;padding:0;}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;}button{overflow:visible;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}input{line-height:normal;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto;}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}fieldset{border:none;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}textarea{overflow:auto;}optgroup{font-weight:bold;}table{border-collapse:collapse;border-spacing:0;}td,th{padding:0;}
diff --git a/bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Bold.otf b/bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Bold.otf
new file mode 100644
index 0000000..f44c12a
--- /dev/null
+++ b/bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Bold.otf
Binary files differ
diff --git a/bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Italic.otf b/bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Italic.otf
new file mode 100644
index 0000000..16218fd
--- /dev/null
+++ b/bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Italic.otf
Binary files differ
diff --git a/bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Medium.otf b/bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Medium.otf
new file mode 100644
index 0000000..285fa87
--- /dev/null
+++ b/bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Medium.otf
Binary files differ
diff --git a/bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Regular.otf b/bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Regular.otf
new file mode 100644
index 0000000..237e5b6
--- /dev/null
+++ b/bricabrac/static/fonts/alegreya-sans/AlegreyaSans-Regular.otf
Binary files differ
diff --git a/bricabrac/static/fonts/alegreya-sans/SIL Open Font License.txt b/bricabrac/static/fonts/alegreya-sans/SIL Open Font License.txt
new file mode 100644
index 0000000..ce39b5b
--- /dev/null
+++ b/bricabrac/static/fonts/alegreya-sans/SIL Open Font License.txt
@@ -0,0 +1,43 @@
+Copyright (c) 2013, Juan Pablo del Peral (juan@huertatipografica.com.ar), with Reserved Font Names 'Alegreya Sans'
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
+
+"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
+
+5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. \ No newline at end of file
diff --git a/bricabrac/static/fonts/alegreya/Alegreya-Bold.otf b/bricabrac/static/fonts/alegreya/Alegreya-Bold.otf
new file mode 100644
index 0000000..e3744b2
--- /dev/null
+++ b/bricabrac/static/fonts/alegreya/Alegreya-Bold.otf
Binary files differ
diff --git a/bricabrac/static/fonts/alegreya/Alegreya-Italic.otf b/bricabrac/static/fonts/alegreya/Alegreya-Italic.otf
new file mode 100644
index 0000000..cce4eda
--- /dev/null
+++ b/bricabrac/static/fonts/alegreya/Alegreya-Italic.otf
Binary files differ
diff --git a/bricabrac/static/fonts/alegreya/Alegreya-Regular.otf b/bricabrac/static/fonts/alegreya/Alegreya-Regular.otf
new file mode 100644
index 0000000..80324b4
--- /dev/null
+++ b/bricabrac/static/fonts/alegreya/Alegreya-Regular.otf
Binary files differ
diff --git a/bricabrac/static/fonts/alegreya/SIL Open Font License.txt b/bricabrac/static/fonts/alegreya/SIL Open Font License.txt
new file mode 100644
index 0000000..8abf613
--- /dev/null
+++ b/bricabrac/static/fonts/alegreya/SIL Open Font License.txt
@@ -0,0 +1,44 @@
+Copyright (c) 2011, Juan Pablo del Peral (juan@huertatipografica.com.ar),
+with Reserved Font Names "Alegreya" "Alegreya SC"
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
+
+"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
+
+5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. \ No newline at end of file
diff --git a/bricabrac/templates/archives.html b/bricabrac/templates/archives.html
deleted file mode 100644
index 2f424f8..0000000
--- a/bricabrac/templates/archives.html
+++ /dev/null
@@ -1,16 +0,0 @@
-{% extends "base.html" %}
-{% block content %}
-<header>
-<h1>
-<a href="{{ SITEURL }}" id="site-title">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a> :
-<a href="{{ SITEURL }}/archives.html" id="page-title">archives</a></h1>
-</header>
-<section id="content" class="body">
-<dl>
-{% for article in dates %}
-<dt>{{ article.locale_date }}</dt>
-<dd><a href='{{ SITEURL }}/{{ article.url }}'>{{ article.title }}</a></dd>
-{% endfor %}
-</dl>
-</section>
-{% endblock %}
diff --git a/bricabrac/templates/article.html b/bricabrac/templates/article.html
index 61d4a45..768c9d3 100644
--- a/bricabrac/templates/article.html
+++ b/bricabrac/templates/article.html
@@ -9,7 +9,7 @@
{% if not HIDE_DATE %}<time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time>{% endif %}
</header>
<article>
-<div class="meta" style="text-align:right;">{% if article.translations %}{% for translation in article.translations %}{{ article.lang or DEFAULT_LANG }}&nbsp;|&nbsp;<a href="{{ SITEURL }}/{{ translation.url }}"><u>{{ translation.lang }}</u></a>{% endfor %}{% endif %}</div>
+<!--<div class="meta" style="text-align:right;">{% if article.translations %}{% for translation in article.translations %}{{ article.lang or DEFAULT_LANG }}&nbsp;|&nbsp;<a href="{{ SITEURL }}/{{ translation.url }}"><u>{{ translation.lang }}</u></a>{% endfor %}{% endif %}</div>-->
{{ article.content }}
</article>
{% endblock %}
diff --git a/bricabrac/templates/base.html b/bricabrac/templates/base.html
index 03b0099..d372b93 100644
--- a/bricabrac/templates/base.html
+++ b/bricabrac/templates/base.html
@@ -3,37 +3,39 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
-<link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" />
-<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
-<link rel="icon" type="image/png" href="{{ SITEURL }}/theme/fav.png" />
+<link rel="stylesheet" href="{{ SITEURL }}/../theme/css/{{ CSS_FILE }}" type="text/css" />
+{% if FEED_ALL_ATOM %}
+<link href="./{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
+{% endif %}
+{% if FEED_ALL_RSS %}
+<link href="./{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
+{% endif %}
+<!--<link rel="icon" type="image/png" href="{{ SITEURL }}/theme/fav.png" />-->
<title>{% block title %}{{ SITENAME }} {%endblock%}</title>
-<!--[if IE]>
-<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
-<!--[if lte IE 7]>
-<link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie.css"/>
-<script src="{{ SITEURL }}/js/IE8.js" type="text/javascript"></script><![endif]-->
-<!--[if lt IE 7]>
-<link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie6.css"/><![endif]-->
</head>
<body>
<div id="conteneur">
+<!-- SNIP -->
{% block content %}
{% endblock %}
<footer>
<nav>
<ul>
-<li><a href="https://blog.getpelican.com/">Pelican</a> & <a href="https://github.com/Bricabraque/bricabrac-pelican-theme">bricabrac</a></li>
+{% if extra_siteurls %}
+{% for lang, url in extra_siteurls.items() %}
+<li><a href="{{ url }}/">{{ lang | lookup_lang_name }}</a></li>
+{% endfor %}
+{% endif %}
+<!--<li><a href="https://blog.getpelican.com/">Pelican</a> & <a href="https://github.com/Bricabraque/bricabrac-pelican-theme">bricabrac</a></li>-->
{% for page in pages %}
-<li> :: <a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a>{% if not loop.last %}{% endif %}</li>
+<li>:: <a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a>{% if not loop.last %}{% endif %}</li>
{% endfor %}
-<li> :: <a href="{{ SITEURL }}/archives.html">archives</a></li>
{% if categories|length > 1 %}
-<li> :: <a href="{{ SITEURL }}/categories.html">catégories</a></li>
+<li> :: <a href="{{ SITEURL }}/categories.html">{{ gettext('catégories') }}</a></li>
{% endif %}
{% if tags|length > 1 %}
<li> :: <a href="{{ SITEURL }}/tags.html">tags</a></li>
{% endif %}
-<li> :: <a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}">atom</a></li>
{% if SOCIAL %}
{% for name, link in SOCIAL %}
<li> :: <a href="{{ link }}">{{ name }}</a></li>
diff --git a/bricabrac/templates/categories.html b/bricabrac/templates/categories.html
index 380bddc..a3ef625 100644
--- a/bricabrac/templates/categories.html
+++ b/bricabrac/templates/categories.html
@@ -3,7 +3,7 @@
<header>
<h1>
<a href="{{ SITEURL }}" id="site-title">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a> :
-<a href="{{ SITEURL }}/archives.html" id="page-title">catégories</a></h1>
+<a href="{{ SITEURL }}/archives.html" id="page-title">{{ gettext('catégories') }}</a></h1>
</header>
<section id="content" class="body">
<ul>
diff --git a/bricabrac/templates/index.html b/bricabrac/templates/index.html
index 6797900..f5dde62 100644
--- a/bricabrac/templates/index.html
+++ b/bricabrac/templates/index.html
@@ -12,21 +12,22 @@
</header>
<article>
{{ article.summary }}
-<p><a href="{{ SITEURL }}/{{ article.url }}" id="page-title"><u>lire la suite</u></a></p>
</article>
+<p id="continue"><a href="{{ SITEURL }}/{{ article.url }}" id="page-title"><u>{{ gettext('lire la suite') }}</u></a></p>
{% if loop.length > 1 %}
<section id="article-list">
-<h2>Tous les articles</h2>
-<ol>
+<h2>{{ gettext('Tous les articles') }}</h2>
+<dl>
{% endif %}
{# other items #}
- {% else %}
-<li><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalien vers {{ article.title|striptags }}">{{ article.title }}</a></li>
+ {% else %}
+<dt>{{ article.locale_date }}</dt>
+<dd><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark">{{ article.title }}</a></dd>
{% endif %}
{% endfor %}
- </ol>
- </section><!-- #article-list -->
+ </dl>
{% else %}
- No posts found.
+ <p>{{ gettext('Aucun article') }}.</p>
+ </section><!-- #article-list -->
{% endif %}
{% endblock content %}
diff --git a/bricabrac/templates/page.html b/bricabrac/templates/page.html
index 4509e10..ae3f0ab 100644
--- a/bricabrac/templates/page.html
+++ b/bricabrac/templates/page.html
@@ -7,7 +7,7 @@
<a href="{{ SITEURL }}/{{ page.url }}" id="page-title">{{ page.title }}</a></h1>
</header>
<article>
-<div class="meta" style="text-align:right;">{% if page.translations %}{% for translation in page.translations %}{{ page.lang or DEFAULT_LANG }}&nbsp;|&nbsp;<a href="{{ SITEURL }}/{{ translation.url }}"><u>{{ translation.lang }}</u></a>{% endfor %}{% endif %}</div>
+<!--<div class="meta" style="text-align:right;">{% if page.translations %}{% for translation in page.translations %}{{ page.lang or DEFAULT_LANG }}&nbsp;|&nbsp;<a href="{{ SITEURL }}/{{ translation.url }}"><u>{{ translation.lang }}</u></a>{% endfor %}{% endif %}</div>-->
{{ page.content }}
</article>
{% endblock %}
diff --git a/bricabrac/translations/en/LC_MESSAGES/messages.mo b/bricabrac/translations/en/LC_MESSAGES/messages.mo
new file mode 100644
index 0000000..d161d41
--- /dev/null
+++ b/bricabrac/translations/en/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/bricabrac/translations/en/LC_MESSAGES/messages.po b/bricabrac/translations/en/LC_MESSAGES/messages.po
new file mode 100644
index 0000000..607042f
--- /dev/null
+++ b/bricabrac/translations/en/LC_MESSAGES/messages.po
@@ -0,0 +1,36 @@
+# English translations for Bricabrac pelican theme.
+# CC-BY 2017 Bricabrac
+# This file is distributed under the same license as the Bricabrac pelican
+# theme project.
+# Bricabrac <bricabrac@grainedutopie.eu>, 2017.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: 1.0\n"
+"Report-Msgid-Bugs-To: bricabrac@grainedutopie.eu\n"
+"POT-Creation-Date: 2017-03-15 14:06+0100\n"
+"PO-Revision-Date: 2017-03-15 14:09+0100\n"
+"Last-Translator: Bricabrac <bricabrac@grainedutopie.eu>\n"
+"Language: en\n"
+"Language-Team: none\n"
+"Plural-Forms: nplurals=2; plural=(n != 1)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: Babel 2.3.4\n"
+
+#: templates/base.html:36 templates/categories.html:6
+msgid "catégories"
+msgstr "categories"
+
+#: templates/index.html:15
+msgid "lire la suite"
+msgstr "continue reading"
+
+#: templates/index.html:19
+msgid "Tous les articles"
+msgstr "All posts"
+
+#: templates/index.html:30
+msgid "Aucun article"
+msgstr "No post"
diff --git a/bulrush b/bulrush
-Subproject e3b3700c534553a5afc3e164fb45b950ff23156
+Subproject 19b2fc4d79e7c060218172ae5484a4a216b4092
diff --git a/graymill/LICENSE b/graymill/LICENSE
new file mode 100644
index 0000000..a9151f4
--- /dev/null
+++ b/graymill/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) [2017] [Rahul Nair]
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/graymill/README.md b/graymill/README.md
new file mode 100644
index 0000000..0385813
--- /dev/null
+++ b/graymill/README.md
@@ -0,0 +1,85 @@
+## Graymill - A minimal Pelican theme.
+
+Graymill is a minimal, responsive theme for the [Pelican](http://blog.getpelican.com/) static site generator. It is based on the [Milligram CSS framework](http://milligram.io/).
+
+### Demo
+
+See the theme in action at [muchBits](https://muchbits.com)
+
+### Features
+
+* Syntax highlighting for code blocks
+* Easy to install
+* Minimal/No Javascript (JS is only used in case Google Analytics is enabled).
+* Google Analytics Support
+* Responsive (Mobile Friendly Test on [Google](https://search.google.com/test/mobile-friendly?utm_source=mft&utm_medium=redirect&utm_campaign=mft-redirect&id=TT7gCU77TVUWMMbu4pmHsg))
+
+## Installation
+
+* Clone the repository:
+```python
+git clone https://github.com/rn4ir/graymill.git
+```
+* Create a `THEME` variable in your `pelicanconf.py` file and set its value to the location of ***graymill*** theme, like so:
+```python
+THEME = 'path/to/graymill'
+```
+
+## Custom Variables
+
+(*Please refer to the sample pelicanconf.py contained in this repo for examples*)
+
+The ***Graymill*** theme use the following settings in the `pelicanconf.py`:
+
+### pelicanconf.py
+
+#### Social Icons:
+```python
+SOCIAL = (('linkedin', 'https://www.linkedin.com/in/username'),
+ ('github', 'https://github.com/username'),
+ ('twitter', 'https://twitter.com/username'),
+ ('facebook', 'https://facebook.com/userid'),
+ )
+```
+
+#### Pagination:
+```python
+DEFAULT_PAGINATION = 8
+```
+
+#### Home page parameters:
+
+```python
+SITEDESCRIPTION = 'your-site's-tagline'
+DISPLAY_SUMMARY = True
+DISPLAY_PAGES_ON_MENU = True
+```
+
+#### Other Settings
+```python
+FAVICON = 'images/favicon.png'
+STATIC_PATHS = ['images', 'extras']
+EXTRA_PATH_METADATA = {
+ 'extras/.htaccess': {'path': '.htaccess'},
+ 'extras/robots.txt': {'path': 'robots.txt'},
+```
+
+#### For local development:
+```
+SITEURL = 'http://localhost:8000'
+```
+
+### publishconf.py
+
+When you are ready to publish your site add the following settings to `publishconf.py` file
+
+```python
+SITEURL = 'https://domain-name.tld'
+
+FEED_ALL_ATOM = 'feeds/all.atom.xml'
+CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
+
+GOOGLE_ANALYTICS = ""
+```
+
+For more information on publishing your site, please read the [Pelican publishing docs](http://docs.getpelican.com/en/3.6.3/publish.html)
diff --git a/graymill/sample_pelicanconf.py b/graymill/sample_pelicanconf.py
new file mode 100644
index 0000000..8a9680e
--- /dev/null
+++ b/graymill/sample_pelicanconf.py
@@ -0,0 +1,55 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*- #
+from __future__ import unicode_literals
+
+# Basic information
+AUTHOR = u'author'
+AUTHOREMAIL = 'myemail [at] mydomain [dot] tld'
+SITENAME = u'siteName'
+SITEURL = 'http://muchbits.com'
+
+PATH = 'content'
+
+TIMEZONE = 'Asia/Kolkata'
+
+DEFAULT_LANG = u'en'
+THEME = 'themes/graymill'
+
+# Social widgets
+SOCIAL = (('twitter', 'https://twitter.com/'),
+ ('linkedin', 'https://www.linkedin.com/'),
+ ('github', 'https://github.com/'),
+ ('facebook', 'https://facebook.com/'),
+ )
+
+DEFAULT_PAGINATION = 8
+
+SITEDESCRIPTION = 'my custom tagline/description'
+
+# For post-summaries
+DISPLAY_SUMMARY = True
+
+# To display static pages like About, Contact etc.
+DISPLAY_PAGES_ON_MENU = True
+
+MENUITEMS = (('Home', SITEURL),
+ )
+
+# Feed generation is usually not desired when developing
+FEED_ALL_RSS = False
+FEED_ALL_ATOM = False
+FEED_ALL_ATOM = None
+CATEGORY_FEED_ATOM = None
+TRANSLATION_FEED_ATOM = None
+AUTHOR_FEED_ATOM = None
+AUTHOR_FEED_RSS = None
+
+# Favicon (path relative to './content/')
+FAVICON = 'images/favicon.png'
+
+# To include custom static files like htaccess, robots, PDF files etc. (path relative to './content/')
+STATIC_PATHS = ['images', 'extras']
+EXTRA_PATH_METADATA = {
+ 'extras/.htaccess': {'path': '.htaccess'},
+ 'extras/robots.txt': {'path': 'robots.txt'},
+}
diff --git a/graymill/static/css/custom.css b/graymill/static/css/custom.css
new file mode 100644
index 0000000..616b944
--- /dev/null
+++ b/graymill/static/css/custom.css
@@ -0,0 +1,272 @@
+body {
+ background-color: #ffffff;
+ font-size: 1.5rem;
+}
+
+a {
+ color: #6C7A89;
+ text-decoration: none;
+}
+
+.navbar {
+ margin-bottom: 10px;
+}
+
+.navbar ul {
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+ overflow: hidden;
+}
+
+.navbar li {
+ margin: 1em;
+ float: left;
+ line-height: 0.1em;
+ padding: 1em;
+}
+
+.navbar li a {
+ display: block;
+ color: #6C7A89;
+ text-align: center;
+ text-decoration: none;
+}
+
+.navbar li h4 {
+ margin: 5%;
+}
+
+.navbar li h6 {
+ line-height: 2.5;
+}
+.navbar li i {
+ display: block;
+ text-align: center;
+ padding: 14px 16px;
+}
+
+.social-img {
+ background-color: #6C7A89;
+}
+
+sidebar {
+ font-size: 1.25em;
+ width: 15%;
+ height: 100%;
+ position: fixed;
+ right: 0;
+ padding: 2%;
+ text-align: center;
+ background-size: cover;
+}
+
+sidebar > ul {
+ list-style-type: none;
+ padding: 0px 10px;
+ margin-top: 0px;
+}
+
+.static-item {
+ text-transform: uppercase;
+ font-size: 1.5em;
+}
+
+.cat-border {
+ border: 2px solid #6C7A89;
+ text-transform: uppercase;
+}
+
+.cat-border a:focus,
+.cat-border a:hover {
+ color: #F2F1EF;
+ background-color: #6C7A89;
+ padding: 1%;
+}
+
+sidebar > ul > li > a:hover,
+sidebar > ul > li > a:focus {
+ color: #F2F1EF;
+ background-color: #6C7A89;
+ padding: 1%;
+}
+
+sidebar > h2 {
+ font-size: 15px;
+ margin-bottom: 5px;
+ padding-bottom: 3%;
+}
+
+maincontent {
+ display: block;
+ line-height: 1.6em;
+ width: 85%;
+}
+
+maincontent > ol {
+ list-style-type: none;
+}
+
+mainarticle ul {
+ list-style: square inside;
+}
+
+mainarticle ul li p {
+ padding-left: 3%;
+ margin-top: -2%;
+ font-size: 1.5em;
+}
+
+mainarticle a {
+ background: #f4f5f6;
+ font-weight: bold;
+ font-style: italic;
+}
+
+maincontent table {
+ max-width: 100%;
+ width: 0;
+}
+
+maincontent table tbody tr td pre {
+ padding-right: 20px;
+}
+
+maincontent table tbody tr td .highlight {
+ width: 90rem;
+}
+
+.page-title {
+ border-bottom: 1.5px solid #eee;
+ width: 85%;
+}
+
+hr {
+ border-top: 0.3rem double #6C7A89;
+}
+
+pre {
+ padding-left: 1.5%;
+ border-left: 0.3rem solid #6C7A89;
+}
+
+code {
+ font-size: 100%;
+ font-style: italic;
+}
+
+ul {
+ list-style: square inside;
+}
+
+.social-icons-a {
+ max-width: 3%;
+}
+
+.social-icons-m {
+ max-width: 20%;
+}
+
+.pagination-dir {
+ font-size: 2.5rem;
+ margin-top: 2%;
+}
+
+@media (max-width: 40.0rem) {
+
+ .navbar {
+ margin-left: 0;
+ margin-right: 0;
+ }
+
+ .navbar li {
+ float: none;
+ padding: initial;
+ text-align: center
+ }
+
+ .navbar li h6 {
+ line-height: initial;
+ font-size: 0.75em;
+ letter-spacing: 0;
+ }
+
+ sidebar {
+ right: 0;
+ max-width: none;
+ position: fixed;
+ width: 25%;
+ padding: 0;
+ padding-top: 1px;
+ font-size: 8px;
+ }
+
+ maincontent {
+ width: 75%;
+ font-size: 10px;
+ }
+
+ maincontent h2 {
+ font-size: 2rem;
+ }
+
+ maincontent h5 {
+ font-size: 1.4rem;
+ }
+
+ mainarticle ul li p {
+ padding-left: 5%;
+ margin-top: -6%;
+ }
+
+ .social-icons-a {
+ max-width: 10%;
+ }
+}
+
+@media (min-width: 41.0rem) and (max-width: 80.0rem){
+ .navbar {
+ margin-left: 0;
+ margin-right: 0;
+ }
+
+ .navbar li {
+ float: none;
+ padding: initial;
+ text-align: center
+ }
+
+ .navbar li h6 {
+ line-height: initial;
+ font-size: 0.75em;
+ letter-spacing: 0;
+ }
+
+ sidebar {
+ right: 0;
+ max-width: none;
+ position: fixed;
+ width: 15%;
+ padding: 0;
+ padding-top: 1px;
+ font-size: 8px;
+ }
+
+ maincontent {
+ width: 85%;
+ font-size: 10px;
+ }
+
+ maincontent h2 {
+ font-size: 2rem;
+ }
+
+ maincontent h5 {
+ font-size: 1.4rem;
+ }
+
+ mainarticle ul li p {
+ padding-left: 5%;
+ margin-top: -2%;
+ }
+}
diff --git a/graymill/static/css/milligram.css b/graymill/static/css/milligram.css
new file mode 100644
index 0000000..a05548b
--- /dev/null
+++ b/graymill/static/css/milligram.css
@@ -0,0 +1,600 @@
+/*!
+ * Milligram v1.3.0
+ * https://milligram.github.io
+ *
+ * Copyright (c) 2017 CJ Patoilo
+ * Licensed under the MIT license
+ */
+
+*,
+*:after,
+*:before {
+ box-sizing: inherit;
+}
+
+html {
+ box-sizing: border-box;
+ font-size: 62.5%;
+}
+
+body {
+ color: #606c76;
+ font-family: monospace;
+ font-size: 1.6em;
+ font-weight: 300;
+ letter-spacing: .01em;
+ line-height: 1.6;
+}
+
+blockquote {
+ border-left: 0.3rem solid #d1d1d1;
+ margin-left: 0;
+ margin-right: 0;
+ padding: 1rem 1.5rem;
+}
+
+blockquote *:last-child {
+ margin-bottom: 0;
+}
+
+.button,
+button,
+input[type='button'],
+input[type='reset'],
+input[type='submit'] {
+ background-color: #9b4dca;
+ border: 0.1rem solid #9b4dca;
+ border-radius: .4rem;
+ color: #fff;
+ cursor: pointer;
+ display: inline-block;
+ font-size: 1.1rem;
+ font-weight: 700;
+ height: 3.8rem;
+ letter-spacing: .1rem;
+ line-height: 3.8rem;
+ padding: 0 3.0rem;
+ text-align: center;
+ text-decoration: none;
+ text-transform: uppercase;
+ white-space: nowrap;
+}
+
+.button:focus, .button:hover,
+button:focus,
+button:hover,
+input[type='button']:focus,
+input[type='button']:hover,
+input[type='reset']:focus,
+input[type='reset']:hover,
+input[type='submit']:focus,
+input[type='submit']:hover {
+ background-color: #606c76;
+ border-color: #606c76;
+ color: #fff;
+ outline: 0;
+}
+
+.button[disabled],
+button[disabled],
+input[type='button'][disabled],
+input[type='reset'][disabled],
+input[type='submit'][disabled] {
+ cursor: default;
+ opacity: .5;
+}
+
+.button[disabled]:focus, .button[disabled]:hover,
+button[disabled]:focus,
+button[disabled]:hover,
+input[type='button'][disabled]:focus,
+input[type='button'][disabled]:hover,
+input[type='reset'][disabled]:focus,
+input[type='reset'][disabled]:hover,
+input[type='submit'][disabled]:focus,
+input[type='submit'][disabled]:hover {
+ background-color: #9b4dca;
+ border-color: #9b4dca;
+}
+
+.button.button-outline,
+button.button-outline,
+input[type='button'].button-outline,
+input[type='reset'].button-outline,
+input[type='submit'].button-outline {
+ background-color: transparent;
+ color: #9b4dca;
+}
+
+.button.button-outline:focus, .button.button-outline:hover,
+button.button-outline:focus,
+button.button-outline:hover,
+input[type='button'].button-outline:focus,
+input[type='button'].button-outline:hover,
+input[type='reset'].button-outline:focus,
+input[type='reset'].button-outline:hover,
+input[type='submit'].button-outline:focus,
+input[type='submit'].button-outline:hover {
+ background-color: transparent;
+ border-color: #606c76;
+ color: #606c76;
+}
+
+.button.button-outline[disabled]:focus, .button.button-outline[disabled]:hover,
+button.button-outline[disabled]:focus,
+button.button-outline[disabled]:hover,
+input[type='button'].button-outline[disabled]:focus,
+input[type='button'].button-outline[disabled]:hover,
+input[type='reset'].button-outline[disabled]:focus,
+input[type='reset'].button-outline[disabled]:hover,
+input[type='submit'].button-outline[disabled]:focus,
+input[type='submit'].button-outline[disabled]:hover {
+ border-color: inherit;
+ color: #9b4dca;
+}
+
+.button.button-clear,
+button.button-clear,
+input[type='button'].button-clear,
+input[type='reset'].button-clear,
+input[type='submit'].button-clear {
+ background-color: transparent;
+ border-color: transparent;
+ color: #9b4dca;
+}
+
+.button.button-clear:focus, .button.button-clear:hover,
+button.button-clear:focus,
+button.button-clear:hover,
+input[type='button'].button-clear:focus,
+input[type='button'].button-clear:hover,
+input[type='reset'].button-clear:focus,
+input[type='reset'].button-clear:hover,
+input[type='submit'].button-clear:focus,
+input[type='submit'].button-clear:hover {
+ background-color: transparent;
+ border-color: transparent;
+ color: #606c76;
+}
+
+.button.button-clear[disabled]:focus, .button.button-clear[disabled]:hover,
+button.button-clear[disabled]:focus,
+button.button-clear[disabled]:hover,
+input[type='button'].button-clear[disabled]:focus,
+input[type='button'].button-clear[disabled]:hover,
+input[type='reset'].button-clear[disabled]:focus,
+input[type='reset'].button-clear[disabled]:hover,
+input[type='submit'].button-clear[disabled]:focus,
+input[type='submit'].button-clear[disabled]:hover {
+ color: #9b4dca;
+}
+
+code {
+ background: #f4f5f6;
+ border-radius: .4rem;
+ font-size: 86%;
+ margin: 0 .2rem;
+ padding: .2rem .5rem;
+ white-space: nowrap;
+}
+
+pre {
+ background: #f4f5f6;
+ border-left: 0.3rem solid #9b4dca;
+ overflow-y: hidden;
+}
+
+pre > code {
+ border-radius: 0;
+ display: block;
+ padding: 1rem 1.5rem;
+ white-space: pre;
+}
+
+hr {
+ border: 0;
+ border-top: 0.1rem solid #f4f5f6;
+ margin: 3.0rem 0;
+}
+
+input[type='email'],
+input[type='number'],
+input[type='password'],
+input[type='search'],
+input[type='tel'],
+input[type='text'],
+input[type='url'],
+textarea,
+select {
+ -webkit-appearance: none;
+ -moz-appearance: none;
+ appearance: none;
+ background-color: transparent;
+ border: 0.1rem solid #d1d1d1;
+ border-radius: .4rem;
+ box-shadow: none;
+ box-sizing: inherit;
+ height: 3.8rem;
+ padding: .6rem 1.0rem;
+ width: 100%;
+}
+
+input[type='email']:focus,
+input[type='number']:focus,
+input[type='password']:focus,
+input[type='search']:focus,
+input[type='tel']:focus,
+input[type='text']:focus,
+input[type='url']:focus,
+textarea:focus,
+select:focus {
+ border-color: #9b4dca;
+ outline: 0;
+}
+
+select {
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="14" viewBox="0 0 29 14" width="29"><path fill="#d1d1d1" d="M9.37727 3.625l5.08154 6.93523L19.54036 3.625"/></svg>') center right no-repeat;
+ padding-right: 3.0rem;
+}
+
+select:focus {
+ background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="14" viewBox="0 0 29 14" width="29"><path fill="#9b4dca" d="M9.37727 3.625l5.08154 6.93523L19.54036 3.625"/></svg>');
+}
+
+textarea {
+ min-height: 6.5rem;
+}
+
+label,
+legend {
+ display: block;
+ font-size: 1.6rem;
+ font-weight: 700;
+ margin-bottom: .5rem;
+}
+
+fieldset {
+ border-width: 0;
+ padding: 0;
+}
+
+input[type='checkbox'],
+input[type='radio'] {
+ display: inline;
+}
+
+.label-inline {
+ display: inline-block;
+ font-weight: normal;
+ margin-left: .5rem;
+}
+
+.container {
+ margin: 0 auto;
+ max-width: 112.0rem;
+ padding: 0 2.0rem;
+ position: relative;
+ width: 100%;
+}
+
+.row {
+ display: flex;
+ flex-direction: column;
+ padding: 0;
+ width: 100%;
+}
+
+.row.row-no-padding {
+ padding: 0;
+}
+
+.row.row-no-padding > .column {
+ padding: 0;
+}
+
+.row.row-wrap {
+ flex-wrap: wrap;
+}
+
+.row.row-top {
+ align-items: flex-start;
+}
+
+.row.row-bottom {
+ align-items: flex-end;
+}
+
+.row.row-center {
+ align-items: center;
+}
+
+.row.row-stretch {
+ align-items: stretch;
+}
+
+.row.row-baseline {
+ align-items: baseline;
+}
+
+.row .column {
+ display: block;
+ flex: 1 1 auto;
+ margin-left: 0;
+ max-width: 100%;
+ width: 100%;
+}
+
+.row .column.column-offset-10 {
+ margin-left: 10%;
+}
+
+.row .column.column-offset-20 {
+ margin-left: 20%;
+}
+
+.row .column.column-offset-25 {
+ margin-left: 25%;
+}
+
+.row .column.column-offset-33, .row .column.column-offset-34 {
+ margin-left: 33.3333%;
+}
+
+.row .column.column-offset-50 {
+ margin-left: 50%;
+}
+
+.row .column.column-offset-66, .row .column.column-offset-67 {
+ margin-left: 66.6666%;
+}
+
+.row .column.column-offset-75 {
+ margin-left: 75%;
+}
+
+.row .column.column-offset-80 {
+ margin-left: 80%;
+}
+
+.row .column.column-offset-90 {
+ margin-left: 90%;
+}
+
+.row .column.column-10 {
+ flex: 0 0 10%;
+ max-width: 10%;
+}
+
+.row .column.column-20 {
+ flex: 0 0 20%;
+ max-width: 20%;
+}
+
+.row .column.column-25 {
+ flex: 0 0 25%;
+ max-width: 25%;
+}
+
+.row .column.column-33, .row .column.column-34 {
+ flex: 0 0 33.3333%;
+ max-width: 33.3333%;
+}
+
+.row .column.column-40 {
+ flex: 0 0 40%;
+ max-width: 40%;
+}
+
+.row .column.column-50 {
+ flex: 0 0 50%;
+ max-width: 50%;
+}
+
+.row .column.column-60 {
+ flex: 0 0 60%;
+ max-width: 60%;
+}
+
+.row .column.column-66, .row .column.column-67 {
+ flex: 0 0 66.6666%;
+ max-width: 66.6666%;
+}
+
+.row .column.column-75 {
+ flex: 0 0 75%;
+ max-width: 75%;
+}
+
+.row .column.column-80 {
+ flex: 0 0 80%;
+ max-width: 80%;
+}
+
+.row .column.column-90 {
+ flex: 0 0 90%;
+ max-width: 90%;
+}
+
+.row .column .column-top {
+ align-self: flex-start;
+}
+
+.row .column .column-bottom {
+ align-self: flex-end;
+}
+
+.row .column .column-center {
+ -ms-grid-row-align: center;
+ align-self: center;
+}
+
+@media (min-width: 40rem) {
+ .row {
+ flex-direction: row;
+ margin-left: -1.0rem;
+ width: calc(100% + 2.0rem);
+ }
+ .row .column {
+ margin-bottom: inherit;
+ padding: 0 1.0rem;
+ }
+}
+
+a {
+ color: #9b4dca;
+ text-decoration: none;
+}
+
+a:focus, a:hover {
+ color: #606c76;
+}
+
+dl,
+ol,
+ul {
+ list-style: none;
+ margin-top: 0;
+ padding-left: 0;
+}
+
+dl dl,
+dl ol,
+dl ul,
+ol dl,
+ol ol,
+ol ul,
+ul dl,
+ul ol,
+ul ul {
+ font-size: 90%;
+ margin: 1.5rem 0 1.5rem 3.0rem;
+}
+
+ol {
+ list-style: decimal inside;
+}
+
+ul {
+ list-style: circle inside;
+}
+
+.button,
+button,
+dd,
+dt,
+li {
+ margin-bottom: 1.0rem;
+}
+
+fieldset,
+input,
+select,
+textarea {
+ margin-bottom: 1.5rem;
+}
+
+blockquote,
+dl,
+figure,
+form,
+ol,
+p,
+pre,
+table,
+ul {
+ margin-bottom: 2.5rem;
+}
+
+table {
+ border-spacing: 0;
+ width: 100%;
+}
+
+td,
+th {
+ border-bottom: 0.1rem solid #e1e1e1;
+ padding: 1.2rem 1.5rem;
+ text-align: left;
+}
+
+td:first-child,
+th:first-child {
+ padding-left: 0;
+}
+
+td:last-child,
+th:last-child {
+ padding-right: 0;
+}
+
+b,
+strong {
+ font-weight: bold;
+}
+
+p {
+ margin-top: 0;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ font-weight: 300;
+ letter-spacing: -.1rem;
+ margin-bottom: 2.0rem;
+ margin-top: 0;
+}
+
+h1 {
+ font-size: 4.6rem;
+ line-height: 1.2;
+}
+
+h2 {
+ font-size: 3.6rem;
+ line-height: 1.25;
+}
+
+h3 {
+ font-size: 2.8rem;
+ line-height: 1.3;
+}
+
+h4 {
+ font-size: 2.2rem;
+ letter-spacing: -.08rem;
+ line-height: 1.35;
+}
+
+h5 {
+ font-size: 1.8rem;
+ letter-spacing: -.05rem;
+ line-height: 1.5;
+}
+
+h6 {
+ font-size: 1.6rem;
+ letter-spacing: 0;
+ line-height: 1.4;
+}
+
+img {
+ max-width: 100%;
+}
+
+.clearfix:after {
+ clear: both;
+ content: ' ';
+ display: table;
+}
+
+.float-left {
+ float: left;
+}
+
+.float-right {
+ float: right;
+}
diff --git a/graymill/static/images/icons/facebook.png b/graymill/static/images/icons/facebook.png
new file mode 100644
index 0000000..f9c12e1
--- /dev/null
+++ b/graymill/static/images/icons/facebook.png
Binary files differ
diff --git a/graymill/static/images/icons/github.png b/graymill/static/images/icons/github.png
new file mode 100644
index 0000000..4d83b8f
--- /dev/null
+++ b/graymill/static/images/icons/github.png
Binary files differ
diff --git a/graymill/static/images/icons/gplus.png b/graymill/static/images/icons/gplus.png
new file mode 100644
index 0000000..eb1a77f
--- /dev/null
+++ b/graymill/static/images/icons/gplus.png
Binary files differ
diff --git a/graymill/static/images/icons/linkedin.png b/graymill/static/images/icons/linkedin.png
new file mode 100644
index 0000000..48b994b
--- /dev/null
+++ b/graymill/static/images/icons/linkedin.png
Binary files differ
diff --git a/graymill/static/images/icons/mail.png b/graymill/static/images/icons/mail.png
new file mode 100644
index 0000000..7eede02
--- /dev/null
+++ b/graymill/static/images/icons/mail.png
Binary files differ
diff --git a/graymill/static/images/icons/rss.png b/graymill/static/images/icons/rss.png
new file mode 100644
index 0000000..b12dc1c
--- /dev/null
+++ b/graymill/static/images/icons/rss.png
Binary files differ
diff --git a/graymill/static/images/icons/twitter.png b/graymill/static/images/icons/twitter.png
new file mode 100644
index 0000000..4ecf4c7
--- /dev/null
+++ b/graymill/static/images/icons/twitter.png
Binary files differ
diff --git a/graymill/templates/archives.html b/graymill/templates/archives.html
new file mode 100644
index 0000000..9ebba9c
--- /dev/null
+++ b/graymill/templates/archives.html
@@ -0,0 +1,27 @@
+{% extends "base.html" %}
+{% block head %}
+{{ super() }}
+<meta name="twitter:creator" content="{{ TWITTER_USERNAME }}">
+<meta name="twitter:url" content="{{ SITEURL }}/archives.html">
+<meta name="twitter:title" content="{{ SITENAME }} || Archives">
+<meta name="twitter:description" content="{{ SITENAME }} || Archives for this website">
+
+<!-- Facebook Meta Data -->
+<meta property="og:title" content="{{ SITENAME }} || Archives" />
+<meta property="og:description" content="{{ SITENAME }} || Archives for this website" />
+<meta property="og:image" content="{{ AVATAR }}" />
+{% endblock head %}
+{% block content %}
+<h2>Archives</h2>
+ {% for article in dates %}
+ <div class="row">
+ <div class="column column-25">
+ {{ article.locale_date }}
+ </div>
+
+ <div class="column column-75">
+ <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
+ </div>
+ </div>
+ {% endfor %}
+{% endblock %}
diff --git a/graymill/templates/article.html b/graymill/templates/article.html
new file mode 100644
index 0000000..58b49d9
--- /dev/null
+++ b/graymill/templates/article.html
@@ -0,0 +1,56 @@
+{% extends "base.html" %}
+{% block head %}
+{{ super() }}
+<meta name="twitter:creator" content="{{ TWITTER_USERNAME }}">
+<meta name="twitter:url" content="{{ SITEURL }}/{{ article.url }}">
+<meta name="twitter:title" content="{{ SITENAME }} ~ {{ article.title }}">
+<meta name="twitter:description" content="{{ article.summary|striptags|escape }}">
+
+<!-- Facebook Meta Data -->
+<meta property="og:title" content="{{ SITENAME }} ~ {{ article.title }}" />
+<meta property="og:description" content="{{ article.summary|striptags|escape }}" />
+<meta property="og:image" content="" />
+{% endblock head %}
+{% block title %}{{ article.title }}{% endblock %}
+{% block content %}
+<h2>
+ <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title }}">{{ article.title }}</a>
+</h2>
+
+<div>
+ <b>By: </b><a href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a><b> On: </b>{{ article.locale_date }}<br />
+ <b>In: </b><a href="{{ SITEURL }}/{{ article.category.url }}" rel="bookmark" title="Permalink to {{ article.category|striptags }}">{{ article.category }}</a><br />
+ <em><b>Tags: </b>
+ {% if article.tags %}
+ {% for tag in article.tags %}
+ <span><a href="{{ SITEURL }}/{{ tag.url }}">#{{ tag }} </a></span>
+ {% endfor %}
+ {% endif %}
+ </em>
+ <hr>
+</div>
+
+<div>
+ <mainarticle>
+ {{ article.content }}
+ </mainarticle>
+</div>
+<hr>
+
+<div>
+ <i>If you found the article helpful, please share or cite the article, and spread the word:</i>
+ <p style="margin-top: 2%;">
+ <span><a target="_blank" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;" title="Twitter" href="https://twitter.com/share?url={{ SITEURL }}/{{ article.url }}&text={{ article.title }}&via={{TWITTER_USERNAME}}"><img class="social-icons-a" src="{{ SITEURL }}/theme/images/icons/twitter.png"></a></span>
+ <span><a target="_blank" title="Facebook" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=500,width=700');return false;" href="https://www.facebook.com/sharer.php?u={{ SITEURL }}/{{article.url}}&t={{ article.title }}"><img class="social-icons-a" src="{{ SITEURL }}/theme/images/icons/facebook.png"></a></span>
+
+ <a target="_blank" title="Linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url={{ SITEURL }}/{{ article.url }}&title={{ article.title }}" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><img class="social-icons-a" src="{{ SITEURL }}/theme/images/icons/linkedin.png"></a>
+ </p>
+</div>
+<hr>
+{% if AUTHOREMAIL %}
+ <p><i>For any feedback or corrections, please write in to: </i><b> {{ AUTHOREMAIL }} </b></p>
+{% else %}
+ <p><i>For any feedback or corrections, please write in to: </i><b> {{ AUTHOR }} </b></p>
+{% endif %}
+
+{% endblock %}
diff --git a/graymill/templates/author.html b/graymill/templates/author.html
new file mode 100644
index 0000000..3606441
--- /dev/null
+++ b/graymill/templates/author.html
@@ -0,0 +1,18 @@
+{% extends "index.html" %}
+{% block head %}
+ {{ super() }}
+ <meta name="twitter:creator" content="{{ TWITTER_USERNAME }}">
+ <meta name="twitter:url" content="{{ SITEURL }}/{{ author.url }}">
+ <meta name="twitter:title" content="{{ SITENAME }} ~ {{ author }}">
+ <meta name="twitter:description" content="All articles by {{ author }}">
+
+ <!-- Facebook Meta Data -->
+ <meta property="og:title" content="{{ SITENAME }} ~ {{ author }}"/>
+ <meta property="og:description" content="All articles by {{ author }}"/>
+ <meta property="og:image" content="{{ AVATAR }}"/>
+{% endblock head %}
+{% block title %}{{ SITENAME }} - {{ author }}{% endblock %}
+{% block heading %}
+ <h2>Author: <i>{{ author }}</i></h2>
+{% endblock %}
+
diff --git a/graymill/templates/base.html b/graymill/templates/base.html
new file mode 100644
index 0000000..55fc051
--- /dev/null
+++ b/graymill/templates/base.html
@@ -0,0 +1,138 @@
+<!doctype html>
+<html lang="{{ DEFAULT_LANG }}" itemscope itemtype="http://schema.org/Person">
+<head>
+ {% block head %}
+ <meta charset="utf-8">
+ <!-- Site Meta Data -->
+ <title>{% block title %} {{ SITENAME }} {% endblock %}</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="description" content="{{ AUTHOR_DESCRIPTION }}">
+ <meta name="author" content="{{ AUTHOR }}">
+
+ <link rel="shortcut icon" href="{{ FAVICON }}">
+
+ <!-- schema.org -->
+ <meta itemprop="name" content="{{ SITENAME }}">
+ <meta itemprop="image" content="{{ AVATAR}}">
+ <meta itemprop="description" content="{{ AUTHOR_DESCRIPTION }}">
+
+ <!-- Style Meta Data -->
+ <link rel="stylesheet" href="{{ SITEURL }}/theme/css/milligram.css" type="text/css" />
+ <link rel="stylesheet" href="{{ SITEURL }}/theme/css/custom.css" type="text/css" />
+
+ <!-- Feed Meta Data -->
+ {% if FEED_ALL_ATOM %}
+ <link href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
+ {% endif %}
+ {% if FEED_ALL_RSS %}
+ <link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
+ {% endif %}
+
+ <!-- Twitter Feed -->
+ <meta name="twitter:card" content="summary">
+ <meta name="twitter:site" content="{{ TWITTER_USERNAME }}">
+ <meta name="twitter:image" content="">
+ {% endblock %}
+</head>
+
+<body>
+ <div class="container">
+
+ <!-- Navbar -->
+ <div class="navbar">
+ <ul>
+ <div>
+ <li>
+ <a href="{{ SITEURL }}"><h3>{{ SITENAME }}</h3></a>
+ </li>
+ <li>
+ {% if SITEDESCRIPTION %}
+ <em><h6>{{ SITEDESCRIPTION }}</h6></em>
+ {% endif %}
+ </li>
+ </div>
+ </ul>
+ </div>
+
+ <!-- Sidebar -->
+ <sidebar>
+ <ul class="static-item">
+ {% for title, link in MENUITEMS %}
+ <li><a href="{{ link }}">{{ title }}</a></li>
+ {% endfor %}
+
+ {% if DISPLAY_PAGES_ON_MENU and PAGES %}
+ {% for p in pages %}
+ <li><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
+ {% endfor %}
+ {% endif %}
+ </ul>
+
+ <ul>
+ {% if DISPLAY_CATEGORIES_ON_MENU and categories %}
+ <div class="cat-border">
+ <li style="color: #F2F1EF; background-color: #6C7A89;">Categories</li>
+ {% for cat, null in categories %}
+ <li{% if cat == category %}{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
+ {% endfor %}
+ </div>
+ {% endif %}
+ </ul>
+
+ {% if LINKS %}
+ <h2><br/>BLOGROLLS</h2>
+ <ul>
+ {% for name, link in LINKS %}
+ <li><a href="{{ link }}">{{ name }}</a></li>
+ {% endfor %}
+ </ul>
+ {% endif %}
+
+ <p>
+ {% if SOCIAL %}
+ {% for name, link in SOCIAL %}
+ <span>
+ <a href="{{ link }}" target="_blank">
+ <img class="social-icons-m" src="{{ SITEURL }}/theme/images/icons/{{ name|lower }}.png">
+ </a>
+ </span>
+ {% endfor %}
+ {% endif %}
+ </p>
+ <p>
+ {% if FEED_ALL_ATOM %}
+ <a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" rel="alternate">
+ <img class="social-icons-m" src="{{ SITEURL }}/theme/images/icons/rss.png"></a>
+ {% endif %}
+ </p>
+ <p>
+ {% if FEED_ALL_RSS %}
+ <a href="{{ SITEURL }}/{{ FEED_ALL_RSS }}" rel="alternate">
+ <img class="social-icons-m" src="{{ SITEURL }}/theme/images/icons/rss.png"></a>
+ {% endif %}
+ </p>
+ </sidebar>
+
+ <maincontent>
+ {% block content %}
+ {% endblock %}
+ </maincontent>
+
+ <!-- Analytics -->
+ {% if GOOGLE_ANALYTICS %}
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS }}']);
+ _gaq.push(['_trackPageview']);
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
+ {% endif %}
+
+ </div>
+</body>
+
+</html>
diff --git a/graymill/templates/categories.html b/graymill/templates/categories.html
new file mode 100644
index 0000000..676f717
--- /dev/null
+++ b/graymill/templates/categories.html
@@ -0,0 +1,21 @@
+{% extends "base.html" %}
+{% block head %}
+{{ super() }}
+<meta name="twitter:creator" content="{{ TWITTER_USERNAME }}">
+<meta name="twitter:url" content="{{ SITEURL }}/categories.html">
+<meta name="twitter:title" content="{{ SITENAME }} || Categories">
+<meta name="twitter:description" content="{{ SITENAME }} || Categories in this website">
+
+<!-- Facebook Meta Data -->
+<meta property="og:title" content="{{ SITENAME }} || Categories" />
+<meta property="og:description" content="{{ SITENAME }} || Categories in this website" />
+<meta property="og:image" content="{{ AVATAR }}" />
+{% endblock head %}
+{% block content %}
+<h2>Categories</h2>
+<ol>
+{% for category, articles in categories %}
+ <li><a href="{{ category.url }}">{{ category }}</a></li>
+{% endfor %}
+</ol>
+{% endblock %}
diff --git a/graymill/templates/category.html b/graymill/templates/category.html
new file mode 100644
index 0000000..b4ffe69
--- /dev/null
+++ b/graymill/templates/category.html
@@ -0,0 +1,17 @@
+{% extends "index.html" %}
+{% block head %}
+ {{ super() }}
+ <meta name="twitter:creator" content="{{ TWITTER_USERNAME }}">
+ <meta name="twitter:url" content="{{ SITEURL }}/{{ category.url }}">
+ <meta name="twitter:title" content="{{ SITENAME }} || {{ category }}">
+ <meta name="twitter:description" content="Articles in {{ category }}">
+
+ <!-- Facebook Meta Data -->
+ <meta property="og:title" content="{{ SITENAME }} || {{ category }}"/>
+ <meta property="og:description" content="Articles in {{ category }}"/>
+ <meta property="og:image" content="{{ AVATAR }}"/>
+{% endblock head %}
+{% block title %}{{ SITENAME }} - {{ category }}{% endblock %}
+{% block heading %}
+ <h2>Category: <i>{{ category }}</i></h2>
+{% endblock %}
diff --git a/graymill/templates/index.html b/graymill/templates/index.html
new file mode 100644
index 0000000..b63d91f
--- /dev/null
+++ b/graymill/templates/index.html
@@ -0,0 +1,39 @@
+{% extends "base.html" %}
+{% block head %}
+{{ super() }}
+ <meta name="twitter:creator" content="{{ TWITTER_USERNAME }}">
+ <meta name="twitter:url" content="{{ SITEURL }}">
+ <meta name="twitter:title" content="{{ SITENAME }}">
+ <meta name="twitter:description" content="{{ SITEDESCRIPTION }}">
+
+ <!-- Facebook Meta Data -->
+ <meta property="og:title" content="{{ SITENAME }}" />
+ <meta property="og:description" content="{{ SITEDESCRIPTION }}" />
+ <meta property="og:image" content="" />
+{% endblock head %}
+{% block content_title %}{% endblock %}
+{% block content %}
+
+{% if articles %}
+ <ol>
+ {% block heading %}
+ <h3>Recent entries</h3>
+ {% endblock %}
+ {% for article in (articles_page.object_list if articles_page else articles) %}
+ <hr>
+ <li>
+ <h5><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h5>
+ {% if DISPLAY_SUMMARY and article.summary|length > 0 %}
+ <i>{{ article.summary }}</i>
+ {% endif %}
+ By:<a href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a><br />On:{{ article.locale_date }}<br />In:<a href="{{ SITEURL }}/{{ article.category.url }}" rel="bookmark" title="Permalink to {{ article.category|striptags }}">{{ article.category }}</a>
+ </li>
+ {% endfor %}
+ </ol>
+{% endif %}
+
+{% if articles_page and articles_paginator.num_pages > 1 %}
+ {% include 'pagination.html' %}
+{% endif %}
+
+{% endblock content %}
diff --git a/graymill/templates/page.html b/graymill/templates/page.html
new file mode 100644
index 0000000..dc6cfff
--- /dev/null
+++ b/graymill/templates/page.html
@@ -0,0 +1,8 @@
+{% extends "base.html" %}
+{% block title %}{{ page.title }}{% endblock %}
+{% block content %}
+{% if PDF_PROCESSOR %}
+ <a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf">Download the PDF file</a>
+{% endif %}
+{{ page.content }}
+{% endblock %}
diff --git a/graymill/templates/pagination.html b/graymill/templates/pagination.html
new file mode 100644
index 0000000..0c5ed4d
--- /dev/null
+++ b/graymill/templates/pagination.html
@@ -0,0 +1,16 @@
+{% if DEFAULT_PAGINATION %}
+<p class="pagination-dir">
+ {% if articles_page.has_previous() %}
+ {% if articles_page.previous_page_number() == 1 %}
+ <a href="{{ SITEURL }}/{{ page_name }}.html">&#8678;</a>
+ {% else %}
+ <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html">&#8678;</a>
+ {% endif %}
+ {% endif %}
+ {{ articles_page.number }} of {{ articles_paginator.num_pages }}
+ {% if articles_page.has_next() %}
+ <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">&#8680;</a>
+ {% endif %}
+</p>
+{% endif %}
+
diff --git a/graymill/templates/tag.html b/graymill/templates/tag.html
new file mode 100644
index 0000000..8186a7a
--- /dev/null
+++ b/graymill/templates/tag.html
@@ -0,0 +1,18 @@
+{% extends "index.html" %}
+{% block head %}
+ {{ super() }}
+ <meta name="twitter:creator" content="{{ TWITTER_USERNAME }}">
+ <meta name="twitter:url" content="{{ SITEURL }}/{{ tag.url }}">
+ <meta name="twitter:title" content="{{ SITENAME }} || {{ tag }}">
+ <meta name="twitter:description" content="Articles with the tag '{{ tag }}'">
+
+ <!-- Facebook Meta Data -->
+ <meta property="og:title" content="{{ SITENAME }} || {{ tag }}"/>
+ <meta property="og:description" content="Articles with the tag '{{ tag }}'"/>
+ <meta property="og:image" content="{{ AVATAR }}"/>
+{% endblock head %}
+{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %}
+{% block heading %}
+ <h2>Tag: {{ tag }}</h2>
+{% endblock %}
+
diff --git a/graymill/templates/tags.html b/graymill/templates/tags.html
new file mode 100644
index 0000000..b9a80cb
--- /dev/null
+++ b/graymill/templates/tags.html
@@ -0,0 +1,21 @@
+{% extends "base.html" %}
+{% block head %}
+{{ super() }}
+<meta name="twitter:creator" content="{{ TWITTER_USERNAME }}">
+<meta name="twitter:url" content="{{ SITEURL }}/tags.html">
+<meta name="twitter:title" content="{{ SITENAME }} || Tags">
+<meta name="twitter:description" content="{{ SITENAME }} || Tags in this website">
+
+<!-- Facebook Meta Data -->
+<meta property="og:title" content="{{ SITENAME }} || Tags" />
+<meta property="og:description" content="{{ SITENAME }} || Tags" />
+<meta property="og:image" content="{{ AVATAR }}" />
+{% endblock head %}
+{% block content %}
+<h2>Tags</h2>
+<ol>
+{% for tag, articles in tags %}
+ <li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</li>
+{% endfor %}
+</ol>
+{% endblock %}
diff --git a/graymill/templates/translations.html b/graymill/templates/translations.html
new file mode 100644
index 0000000..30429a4
--- /dev/null
+++ b/graymill/templates/translations.html
@@ -0,0 +1,6 @@
+{% if article.translations %}
+ <span>Languages: </span>
+ {% for translation in article.translations %}
+ <a href="{{ SITEURL }}/{{ translation.url }}"><i class="icon-edit"></i>{{ translation.lang }}</a>
+ {% endfor %}
+{% endif %}
diff --git a/monospace/templates/index.html b/monospace/templates/index.html
index c2a1b60..5c9c15c 100644
--- a/monospace/templates/index.html
+++ b/monospace/templates/index.html
@@ -23,11 +23,11 @@
{% else %}
<li><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">{{ article.title }}</a></li>
{% endif %}
-{% endfor %}
- {% if loop.length > 1 %}
- </ol>
- </section><!-- #article-list -->
-{% endif %}
+ {% if loop.length > 1 %}
+ </ol>
+ </section><!-- #article-list -->
+ {% endif %}
+ {% endfor %}
{% else %}
No posts found.
{% endif %}
diff --git a/nice-blog b/nice-blog
-Subproject ceff20c3f38cd733649cb15618d6c0e85b62bfc
+Subproject 976c8962f20285c1073b05fb418760c9cf668e6
diff --git a/pelican-bootstrap3/README.md b/pelican-bootstrap3/README.md
index 02a130a..b5ad5f7 100644
--- a/pelican-bootstrap3/README.md
+++ b/pelican-bootstrap3/README.md
@@ -38,6 +38,14 @@ plugin:
`PLUGIN_PATHS = ['/path/to/git/pelican-plugins']`
`PLUGINS = ['i18n_subsites']`
+If you are using
+[`i18n_subsites`](https://github.com/getpelican/pelican-plugins/tree/master/i18n_subsites)
+and you are not using English as your default language, make sure to
+also correctly specify the default language of the theme. Otherwise
+the translations will not be used on your default site.
+
+`I18N_TEMPLATES_LANG = 'en'`
+
## Usage
This theme honors the following standard Pelican settings:
@@ -251,6 +259,8 @@ icon to show. You can provide an alternative icon string as the third string (as
* **Categories** will be shown if `DISPLAY_CATEGORIES_ON_SIDEBAR` is set to _True_
* **Recent Posts** will be shown if `DISPLAY_RECENT_POSTS_ON_SIDEBAR` is set to _True_
* Use `RECENT_POST_COUNT` to control the amount of recent posts. Defaults to **5**
+* **Archive** will be shown if `DISPLAY_ARCHIVE_ON_SIDEBAR` is set to _True_ and `MONTH_ARCHIVE_SAVE_AS` is set up properly.
+* **Authors** will be shown if `DISPLAY_AUTHORS_ON_SIDEBAR` is set to _True_
Other sidebar related options include:
@@ -351,6 +361,10 @@ All you have to do, is:
By default, the Tipue search page is configured at "/search.html", but you can override that with the `SEARCH_URL`
setting, which comes in handy if you have fancy rewrite rules in your Apache or Nginx configuration.
+### Flattr
+
+This theme has support for linking your domain with [Flattr](https://flattr.com). To enable this provide your `FLATTR_ID`. Be aware that you will also have to go [Flattr's domain settings](https://flattr.com/settings/domains) and link your domain.
+
### Footer
The footer will display a copyright message using the AUTHOR variable and the year of the latest post. If a content license mark is enabled (see above), that will be shown as well.
diff --git a/pelican-bootstrap3/templates/base.html b/pelican-bootstrap3/templates/base.html
index 195934b..9a69baf 100644
--- a/pelican-bootstrap3/templates/base.html
+++ b/pelican-bootstrap3/templates/base.html
@@ -53,6 +53,11 @@
{# Twitter Cards tags #}
{% include 'includes/twitter_cards.html' %}
+ {# Flattr ID for the Flattr browser plug-in #}
+ {% if FLATTR_ID %}
+ <meta name="flattr:id" content="m1qj28">
+ {% endif %}
+
<!-- Bootstrap -->
{% if BOOTSTRAP_THEME %}
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/bootstrap.{{ BOOTSTRAP_THEME }}.min.css" type="text/css"/>
diff --git a/pelican-bootstrap3/templates/includes/cc-license.html b/pelican-bootstrap3/templates/includes/cc-license.html
index fca507d..84f204d 100644
--- a/pelican-bootstrap3/templates/includes/cc-license.html
+++ b/pelican-bootstrap3/templates/includes/cc-license.html
@@ -26,7 +26,7 @@
{# The parameters all mirror the Creative Commone license chooser: #}
{# https://creativecommons.org/choose/ #}
{# ------------------------------------------------------------------------ #}
-{# Copyright (c) 1994 Hilmar Lapp, hlapp@drycafe.net. #}
+{# Copyright (c) 2014 Hilmar Lapp, hlapp@drycafe.net. #}
{# Licensed under the terms of the MIT License. #}
{# Source at http://github.com/hlapp/cc-tools. Please fork & contribute. #}
{# ------------------------------------------------------------------------ #}
diff --git a/pelican-bootstrap3/templates/includes/liquid_tags_nb_header.html b/pelican-bootstrap3/templates/includes/liquid_tags_nb_header.html
index 5dc6d1c..635c6fb 100644
--- a/pelican-bootstrap3/templates/includes/liquid_tags_nb_header.html
+++ b/pelican-bootstrap3/templates/includes/liquid_tags_nb_header.html
@@ -143,7 +143,7 @@ div.collapseheader {
</style>
-<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" type="text/javascript"></script>
+<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" type="text/javascript"></script>
<script type="text/javascript">
init_mathjax = function() {
if (window.MathJax) {
diff --git a/pelican-bootstrap3/templates/includes/sidebar.html b/pelican-bootstrap3/templates/includes/sidebar.html
index 7772ff8..71bab3a 100644
--- a/pelican-bootstrap3/templates/includes/sidebar.html
+++ b/pelican-bootstrap3/templates/includes/sidebar.html
@@ -10,7 +10,9 @@
{% include 'includes/sidebar/github.html' %}
{% include 'includes/sidebar/twitter_timeline.html' %}
{% include 'includes/sidebar/links.html' %}
+ {% include 'includes/sidebar/authors.html' %}
{% include 'includes/sidebar/images.html' %}
+ {% include 'includes/sidebar/archive.html' %}
{% include 'includes/sidebar/optional_bottom.html' ignore missing %}
</ul>
</section>
diff --git a/pelican-bootstrap3/templates/includes/sidebar/archive.html b/pelican-bootstrap3/templates/includes/sidebar/archive.html
new file mode 100644
index 0000000..881897b
--- /dev/null
+++ b/pelican-bootstrap3/templates/includes/sidebar/archive.html
@@ -0,0 +1,23 @@
+{% if DISPLAY_ARCHIVE_ON_SIDEBAR and MONTH_ARCHIVE_SAVE_AS %}
+ {% from 'includes/sidebar/macros.jinja' import title %}
+
+<!-- Sidebar/Archive -->
+<li class="list-group-item">
+ <h4>{{ title(_('Archive'), DISABLE_SIDEBAR_TITLE_ICONS) }}</h4>
+ <ul class="list-group" id="archive">
+ {% for year, date_year in dates|groupby( 'date.year' )|sort(reverse=True) %}
+ {% for month, articles in date_year|groupby( 'date.month' )|sort(reverse=True) %}
+ <li class="list-group-item">
+ <a href="{{ SITEURL }}/{{ MONTH_ARCHIVE_SAVE_AS.format(date=articles[0].date) }}">
+ {%- if not DISABLE_SIDEBAR_TITLE_ICONS -%}
+ <i class="fa fa-calendar fa-lg"></i>
+ {%- endif -%}
+ {{ articles[0].date.strftime('%B') }} {{ year }} ({{ articles|count }})
+ </a>
+ </li>
+ {% endfor %}
+ {% endfor %}
+ </ul>
+</li>
+<!-- End Sidebar/Archive -->
+{% endif %}
diff --git a/pelican-bootstrap3/templates/includes/sidebar/authors.html b/pelican-bootstrap3/templates/includes/sidebar/authors.html
new file mode 100644
index 0000000..114c688
--- /dev/null
+++ b/pelican-bootstrap3/templates/includes/sidebar/authors.html
@@ -0,0 +1,22 @@
+{% if DISPLAY_AUTHORS_ON_SIDEBAR %}
+ {% from 'includes/sidebar/macros.jinja' import title %}
+
+<!-- Sidebar/Authors -->
+<li class="list-group-item">
+ <h4>{{ title(_('Authors'), DISABLE_SIDEBAR_TITLE_ICONS) }}</h4>
+ <ul class="list-group" id="authors">
+ {% for author, articles in authors|sort %}
+ <li class="list-group-item">
+ <a href="{{ SITEURL }}/{{ author.url }}">
+ {%- if not DISABLE_SIDEBAR_TITLE_ICONS -%}
+ <i class="fa fa-user fa-lg"></i>
+ {%- endif -%}
+ {{- author -}}
+ </a>
+ ({{ articles|count }})
+ </li>
+ {% endfor %}
+ </ul>
+</li>
+<!-- End Sidebar/Authors -->
+{% endif %}
diff --git a/pelican-bootstrap3/templates/includes/sidebar/social.html b/pelican-bootstrap3/templates/includes/sidebar/social.html
index 3b768db..cca9b71 100644
--- a/pelican-bootstrap3/templates/includes/sidebar/social.html
+++ b/pelican-bootstrap3/templates/includes/sidebar/social.html
@@ -11,7 +11,7 @@
{% else %}
{% set name_sanitized = s[0]|lower|replace('+','-plus')|replace(' ','-') %}
{% endif %}
- {% if name_sanitized in ['flickr', 'slideshare', 'instagram', 'spotify', 'stack-overflow', 'weibo', 'line-chart', 'home', 'user', 'users', 'envelope', 'envelope-o', 'stack-exchange', 'hacker-news'] %}
+ {% if name_sanitized in ['flickr', 'slideshare', 'instagram', 'spotify', 'stack-overflow', 'weibo', 'line-chart', 'home', 'user', 'users', 'envelope', 'envelope-o', 'stack-exchange', 'hacker-news', 'gitlab'] %}
{% set iconattributes = '"fa fa-' ~ name_sanitized ~ ' fa-lg"' %}
{% else %}
{% set iconattributes = '"fa fa-' ~ name_sanitized ~ '-square fa-lg"' %}
diff --git a/relapse b/relapse
-Subproject d21c9f76c38e940e0e52686585587af35afe4c1
+Subproject 9d7ffd04b1f724e529dce6efd4a5e38d4bcba22
diff --git a/resume b/resume
new file mode 160000
+Subproject 33f1b121b452527fadfee7dcfa3e9065900d4fc