Fix #1198, enable custom locale in template rendering, fixes links
reverts getpelican/pelican@ddcccfeaa9 If one used a locale that made use of unicode characters (like fr_FR.UTF-8) the files on disk would be in correct locale while links would be to C. Uses a SafeDatetime class that works with unicode format strigns by using custom strftime to prevent ascii decoding errors with Python2. Also added unicode decoding for the calendar module to fix period archives.
|
|
@ -90,6 +90,8 @@ functional tests. To do so, you can use the following two commands::
|
||||||
|
|
||||||
$ LC_ALL=en_US.utf8 pelican -o pelican/tests/output/custom/ \
|
$ LC_ALL=en_US.utf8 pelican -o pelican/tests/output/custom/ \
|
||||||
-s samples/pelican.conf.py samples/content/
|
-s samples/pelican.conf.py samples/content/
|
||||||
|
$ LC_ALL=fr_FR.utf8 pelican -o pelican/tests/output/custom_locale/ \
|
||||||
|
-s samples/pelican_FR.conf.py samples/content/
|
||||||
$ LC_ALL=en_US.utf8 pelican -o pelican/tests/output/basic/ \
|
$ LC_ALL=en_US.utf8 pelican -o pelican/tests/output/basic/ \
|
||||||
samples/content/
|
samples/content/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,13 +11,12 @@ import os
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from datetime import datetime
|
|
||||||
|
|
||||||
from pelican import signals
|
from pelican import signals
|
||||||
from pelican.settings import DEFAULT_CONFIG
|
from pelican.settings import DEFAULT_CONFIG
|
||||||
from pelican.utils import (slugify, truncate_html_words, memoized, strftime,
|
from pelican.utils import (slugify, truncate_html_words, memoized, strftime,
|
||||||
python_2_unicode_compatible, deprecated_attribute,
|
python_2_unicode_compatible, deprecated_attribute,
|
||||||
path_to_url)
|
path_to_url, SafeDatetime)
|
||||||
|
|
||||||
# Import these so that they're avalaible when you import from pelican.contents.
|
# Import these so that they're avalaible when you import from pelican.contents.
|
||||||
from pelican.urlwrappers import (URLWrapper, Author, Category, Tag) # NOQA
|
from pelican.urlwrappers import (URLWrapper, Author, Category, Tag) # NOQA
|
||||||
|
|
@ -127,7 +126,7 @@ class Content(object):
|
||||||
if not hasattr(self, 'status'):
|
if not hasattr(self, 'status'):
|
||||||
self.status = settings['DEFAULT_STATUS']
|
self.status = settings['DEFAULT_STATUS']
|
||||||
if not settings['WITH_FUTURE_DATES']:
|
if not settings['WITH_FUTURE_DATES']:
|
||||||
if hasattr(self, 'date') and self.date > datetime.now():
|
if hasattr(self, 'date') and self.date > SafeDatetime.now():
|
||||||
self.status = 'draft'
|
self.status = 'draft'
|
||||||
|
|
||||||
# store the summary metadata if it is set
|
# store the summary metadata if it is set
|
||||||
|
|
@ -161,7 +160,7 @@ class Content(object):
|
||||||
'path': path_to_url(path),
|
'path': path_to_url(path),
|
||||||
'slug': getattr(self, 'slug', ''),
|
'slug': getattr(self, 'slug', ''),
|
||||||
'lang': getattr(self, 'lang', 'en'),
|
'lang': getattr(self, 'lang', 'en'),
|
||||||
'date': getattr(self, 'date', datetime.now()),
|
'date': getattr(self, 'date', SafeDatetime.now()),
|
||||||
'author': slugify(
|
'author': slugify(
|
||||||
getattr(self, 'author', ''),
|
getattr(self, 'author', ''),
|
||||||
slug_substitutions
|
slug_substitutions
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
from __future__ import unicode_literals, print_function
|
from __future__ import unicode_literals, print_function
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
import six
|
||||||
import math
|
import math
|
||||||
import random
|
import random
|
||||||
import logging
|
import logging
|
||||||
|
|
@ -348,31 +349,22 @@ class ArticlesGenerator(CachingGenerator):
|
||||||
# format string syntax can be used for specifying the
|
# format string syntax can be used for specifying the
|
||||||
# period archive dates
|
# period archive dates
|
||||||
date = archive[0].date
|
date = archive[0].date
|
||||||
# Under python 2, with non-ascii locales, u"{:%b}".format(date) might raise UnicodeDecodeError
|
save_as = save_as_fmt.format(date=date)
|
||||||
# because u"{:%b}".format(date) will call date.__format__(u"%b"), which will return a byte string
|
|
||||||
# and not a unicode string.
|
|
||||||
# eg:
|
|
||||||
# locale.setlocale(locale.LC_ALL, 'ja_JP.utf8')
|
|
||||||
# date.__format__(u"%b") == '12\xe6\x9c\x88' # True
|
|
||||||
try:
|
|
||||||
save_as = save_as_fmt.format(date=date)
|
|
||||||
except UnicodeDecodeError:
|
|
||||||
# Python2 only:
|
|
||||||
# Let date.__format__() work with byte strings instead of characters since it fails to work with characters
|
|
||||||
bytes_save_as_fmt = save_as_fmt.encode('utf8')
|
|
||||||
bytes_save_as = bytes_save_as_fmt.format(date=date)
|
|
||||||
save_as = unicode(bytes_save_as,'utf8')
|
|
||||||
context = self.context.copy()
|
context = self.context.copy()
|
||||||
|
|
||||||
if key == period_date_key['year']:
|
if key == period_date_key['year']:
|
||||||
context["period"] = (_period,)
|
context["period"] = (_period,)
|
||||||
elif key == period_date_key['month']:
|
|
||||||
context["period"] = (_period[0],
|
|
||||||
calendar.month_name[_period[1]])
|
|
||||||
else:
|
else:
|
||||||
context["period"] = (_period[0],
|
month_name = calendar.month_name[_period[1]]
|
||||||
calendar.month_name[_period[1]],
|
if not six.PY3:
|
||||||
_period[2])
|
month_name = month_name.decode('utf-8')
|
||||||
|
if key == period_date_key['month']:
|
||||||
|
context["period"] = (_period[0],
|
||||||
|
month_name)
|
||||||
|
else:
|
||||||
|
context["period"] = (_period[0],
|
||||||
|
month_name,
|
||||||
|
_period[2])
|
||||||
|
|
||||||
write(save_as, template, context,
|
write(save_as, template, context,
|
||||||
dates=archive, blog=True)
|
dates=archive, blog=True)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from __future__ import unicode_literals, print_function
|
from __future__ import unicode_literals, print_function
|
||||||
|
|
||||||
import datetime
|
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
|
@ -28,7 +27,7 @@ except ImportError:
|
||||||
|
|
||||||
from pelican import signals
|
from pelican import signals
|
||||||
from pelican.contents import Page, Category, Tag, Author
|
from pelican.contents import Page, Category, Tag, Author
|
||||||
from pelican.utils import get_date, pelican_open, FileStampDataCacher
|
from pelican.utils import get_date, pelican_open, FileStampDataCacher, SafeDatetime
|
||||||
|
|
||||||
|
|
||||||
METADATA_PROCESSORS = {
|
METADATA_PROCESSORS = {
|
||||||
|
|
@ -494,7 +493,7 @@ def default_metadata(settings=None, process=None):
|
||||||
value = process('category', value)
|
value = process('category', value)
|
||||||
metadata['category'] = value
|
metadata['category'] = value
|
||||||
if settings.get('DEFAULT_DATE', None) and settings['DEFAULT_DATE'] != 'fs':
|
if settings.get('DEFAULT_DATE', None) and settings['DEFAULT_DATE'] != 'fs':
|
||||||
metadata['date'] = datetime.datetime(*settings['DEFAULT_DATE'])
|
metadata['date'] = SafeDatetime(*settings['DEFAULT_DATE'])
|
||||||
return metadata
|
return metadata
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -502,7 +501,7 @@ def path_metadata(full_path, source_path, settings=None):
|
||||||
metadata = {}
|
metadata = {}
|
||||||
if settings:
|
if settings:
|
||||||
if settings.get('DEFAULT_DATE', None) == 'fs':
|
if settings.get('DEFAULT_DATE', None) == 'fs':
|
||||||
metadata['date'] = datetime.datetime.fromtimestamp(
|
metadata['date'] = SafeDatetime.fromtimestamp(
|
||||||
os.stat(full_path).st_ctime)
|
os.stat(full_path).st_ctime)
|
||||||
metadata.update(settings.get('EXTRA_PATH_METADATA', {}).get(
|
metadata.update(settings.get('EXTRA_PATH_METADATA', {}).get(
|
||||||
source_path, {}))
|
source_path, {}))
|
||||||
|
|
@ -525,7 +524,7 @@ def parse_path_metadata(source_path, settings=None, process=None):
|
||||||
... process=reader.process_metadata)
|
... process=reader.process_metadata)
|
||||||
>>> pprint.pprint(metadata) # doctest: +ELLIPSIS
|
>>> pprint.pprint(metadata) # doctest: +ELLIPSIS
|
||||||
{'category': <pelican.urlwrappers.Category object at ...>,
|
{'category': <pelican.urlwrappers.Category object at ...>,
|
||||||
'date': datetime.datetime(2013, 1, 1, 0, 0),
|
'date': SafeDatetime(2013, 1, 1, 0, 0),
|
||||||
'slug': 'my-slug'}
|
'slug': 'my-slug'}
|
||||||
"""
|
"""
|
||||||
metadata = {}
|
metadata = {}
|
||||||
|
|
|
||||||
100
pelican/tests/output/custom_locale/archives.html
Normal file
|
|
@ -0,0 +1,100 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log</title>
|
||||||
|
<link rel="stylesheet" href="./theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="./">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="./tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="./override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="./category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="./category/misc.html">misc</a></li>
|
||||||
|
<li><a href="./category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="./category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<h1>Archives for Alexis' log</h1>
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>ven. 30 novembre 2012</dt>
|
||||||
|
<dd><a href="./posts/2012/novembre/30/filename_metadata-example/">FILENAME_METADATA example</a></dd>
|
||||||
|
<dt>mer. 29 février 2012</dt>
|
||||||
|
<dd><a href="./posts/2012/février/29/second-article/">Second article</a></dd>
|
||||||
|
<dt>mer. 20 avril 2011</dt>
|
||||||
|
<dd><a href="./posts/2011/avril/20/a-markdown-powered-article/">A markdown powered article</a></dd>
|
||||||
|
<dt>jeu. 17 février 2011</dt>
|
||||||
|
<dd><a href="./posts/2011/février/17/article-1/">Article 1</a></dd>
|
||||||
|
<dt>jeu. 17 février 2011</dt>
|
||||||
|
<dd><a href="./posts/2011/février/17/article-2/">Article 2</a></dd>
|
||||||
|
<dt>jeu. 17 février 2011</dt>
|
||||||
|
<dd><a href="./posts/2011/février/17/article-3/">Article 3</a></dd>
|
||||||
|
<dt>jeu. 02 décembre 2010</dt>
|
||||||
|
<dd><a href="./posts/2010/décembre/02/this-is-a-super-article/">This is a super article !</a></dd>
|
||||||
|
<dt>mer. 20 octobre 2010</dt>
|
||||||
|
<dd><a href="./posts/2010/octobre/20/oh-yeah/">Oh yeah !</a></dd>
|
||||||
|
<dt>ven. 15 octobre 2010</dt>
|
||||||
|
<dd><a href="./posts/2010/octobre/15/unbelievable/">Unbelievable !</a></dd>
|
||||||
|
<dt>dim. 14 mars 2010</dt>
|
||||||
|
<dd><a href="./tag/baz.html">The baz tag</a></dd>
|
||||||
|
</dl>
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
173
pelican/tests/output/custom_locale/author/alexis-metaireau.html
Normal file
|
|
@ -0,0 +1,173 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log - Alexis Métaireau</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<aside id="featured" class="body">
|
||||||
|
<article>
|
||||||
|
<h1 class="entry-title"><a href="../posts/2012/novembre/30/filename_metadata-example/">FILENAME_METADATA example</a></h1>
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2012-11-30T00:00:00">
|
||||||
|
Published: ven. 30 novembre 2012
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/misc.html">misc</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --><p>Some cool stuff!</p>
|
||||||
|
<p>There are <a href="../posts/2012/novembre/30/filename_metadata-example/#disqus_thread">comments</a>.</p> </article>
|
||||||
|
</aside><!-- /#featured -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<h1>Other articles</h1>
|
||||||
|
<hr />
|
||||||
|
<ol id="posts-list" class="hfeed">
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2012/février/29/second-article/" rel="bookmark"
|
||||||
|
title="Permalink to Second article">Second article</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2012-02-29T00:00:00">
|
||||||
|
Published: mer. 29 février 2012
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/misc.html">misc</a>. </p>
|
||||||
|
<p>tags: <a href="../tag/foo.html">foo</a> <a href="../tag/bar.html">bar</a> <a href="../tag/baz.html">baz</a> </p>Translations:
|
||||||
|
<a href="../second-article-fr.html">fr</a>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>This is some article, in english</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="../posts/2012/février/29/second-article/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2012/février/29/second-article/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2011/avril/20/a-markdown-powered-article/" rel="bookmark"
|
||||||
|
title="Permalink to A markdown powered article">A markdown powered article</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-04-20T00:00:00">
|
||||||
|
Published: mer. 20 avril 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>You're mutually oblivious.</p>
|
||||||
|
<p><a href="../posts/2010/octobre/15/unbelievable/">a root-relative link to unbelievable</a>
|
||||||
|
<a href="../posts/2010/octobre/15/unbelievable/">a file-relative link to unbelievable</a></p>
|
||||||
|
<a class="readmore" href="../posts/2011/avril/20/a-markdown-powered-article/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2011/avril/20/a-markdown-powered-article/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2011/février/17/article-1/" rel="bookmark"
|
||||||
|
title="Permalink to Article 1">Article 1</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-02-17T00:00:00">
|
||||||
|
Published: jeu. 17 février 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Article 1</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="../posts/2011/février/17/article-1/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2011/février/17/article-1/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
</ol><!-- /#posts-list -->
|
||||||
|
<p class="paginator">
|
||||||
|
Page 1 / 3
|
||||||
|
<a href="../author/alexis-metaireau2.html">»</a>
|
||||||
|
</p>
|
||||||
|
</section><!-- /#content -->
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
187
pelican/tests/output/custom_locale/author/alexis-metaireau2.html
Normal file
|
|
@ -0,0 +1,187 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log - Alexis Métaireau</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<section id="content" class="body">
|
||||||
|
<ol id="posts-list" class="hfeed" start="3">
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2011/février/17/article-2/" rel="bookmark"
|
||||||
|
title="Permalink to Article 2">Article 2</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-02-17T00:00:00">
|
||||||
|
Published: jeu. 17 février 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Article 2</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="../posts/2011/février/17/article-2/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2011/février/17/article-2/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2011/février/17/article-3/" rel="bookmark"
|
||||||
|
title="Permalink to Article 3">Article 3</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-02-17T00:00:00">
|
||||||
|
Published: jeu. 17 février 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Article 3</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="../posts/2011/février/17/article-3/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2011/février/17/article-3/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2010/décembre/02/this-is-a-super-article/" rel="bookmark"
|
||||||
|
title="Permalink to This is a super article !">This is a super article !</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-12-02T10:14:00">
|
||||||
|
Published: jeu. 02 décembre 2010
|
||||||
|
</abbr>
|
||||||
|
<br />
|
||||||
|
<abbr class="modified" title="2013-11-17T23:29:00">
|
||||||
|
Updated: dim. 17 novembre 2013
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/yeah.html">yeah</a>. </p>
|
||||||
|
<p>tags: <a href="../tag/foo.html">foo</a> <a href="../tag/bar.html">bar</a> <a href="../tag/foobar.html">foobar</a> </p>
|
||||||
|
</footer><!-- /.post-info --> <p class="first last">Multi-line metadata should be supported
|
||||||
|
as well as <strong>inline markup</strong>.</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="../posts/2010/décembre/02/this-is-a-super-article/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2010/décembre/02/this-is-a-super-article/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2010/octobre/20/oh-yeah/" rel="bookmark"
|
||||||
|
title="Permalink to Oh yeah !">Oh yeah !</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-10-20T10:14:00">
|
||||||
|
Published: mer. 20 octobre 2010
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/bar.html">bar</a>. </p>
|
||||||
|
<p>tags: <a href="../tag/oh.html">oh</a> <a href="../tag/bar.html">bar</a> <a href="../tag/yeah.html">yeah</a> </p>Translations:
|
||||||
|
<a href="../oh-yeah-fr.html">fr</a>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <div class="section" id="why-not">
|
||||||
|
<h2>Why not ?</h2>
|
||||||
|
<p>After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
|
||||||
|
YEAH !</p>
|
||||||
|
<img alt="alternate text" src="../pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a class="readmore" href="../posts/2010/octobre/20/oh-yeah/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2010/octobre/20/oh-yeah/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
</ol><!-- /#posts-list -->
|
||||||
|
<p class="paginator">
|
||||||
|
<a href="../author/alexis-metaireau.html">«</a>
|
||||||
|
Page 2 / 3
|
||||||
|
<a href="../author/alexis-metaireau3.html">»</a>
|
||||||
|
</p>
|
||||||
|
</section><!-- /#content -->
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
138
pelican/tests/output/custom_locale/author/alexis-metaireau3.html
Normal file
|
|
@ -0,0 +1,138 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log - Alexis Métaireau</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<section id="content" class="body">
|
||||||
|
<ol id="posts-list" class="hfeed" start="3">
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2010/octobre/15/unbelievable/" rel="bookmark"
|
||||||
|
title="Permalink to Unbelievable !">Unbelievable !</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-10-15T20:30:00">
|
||||||
|
Published: ven. 15 octobre 2010
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/misc.html">misc</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Or completely awesome. Depends the needs.</p>
|
||||||
|
<p><a class="reference external" href="../posts/2011/avril/20/a-markdown-powered-article/">a root-relative link to markdown-article</a>
|
||||||
|
<a class="reference external" href="../posts/2011/avril/20/a-markdown-powered-article/">a file-relative link to markdown-article</a></p>
|
||||||
|
<div class="section" id="testing-sourcecode-directive">
|
||||||
|
<h2>Testing sourcecode directive</h2>
|
||||||
|
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1</pre></div></td><td class="code"><div class="highlight"><pre><span class="n">formatter</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">options</span> <span class="ow">and</span> <span class="n">VARIANTS</span><span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">options</span><span class="o">.</span><span class="n">keys</span><span class="p">()[</span><span class="mi">0</span><span class="p">]]</span>
|
||||||
|
</pre></div>
|
||||||
|
</td></tr></table></div>
|
||||||
|
<div class="section" id="testing-another-case">
|
||||||
|
<h2>Testing another case</h2>
|
||||||
|
<p>This will now have a line number in 'custom' since it's the default in
|
||||||
|
pelican.conf, it ...</p></div>
|
||||||
|
<a class="readmore" href="../posts/2010/octobre/15/unbelievable/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2010/octobre/15/unbelievable/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../tag/baz.html" rel="bookmark"
|
||||||
|
title="Permalink to The baz tag">The baz tag</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-03-14T00:00:00">
|
||||||
|
Published: dim. 14 mars 2010
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/misc.html">misc</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>This article overrides the listening of the articles under the <em>baz</em> tag.</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="../tag/baz.html">read more</a>
|
||||||
|
<p>There are <a href="../tag/baz.html#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
</ol><!-- /#posts-list -->
|
||||||
|
<p class="paginator">
|
||||||
|
<a href="../author/alexis-metaireau2.html">«</a>
|
||||||
|
Page 3 / 3
|
||||||
|
</p>
|
||||||
|
</section><!-- /#content -->
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
82
pelican/tests/output/custom_locale/authors.html
Normal file
|
|
@ -0,0 +1,82 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log - Authors</title>
|
||||||
|
<link rel="stylesheet" href="./theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="./">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="./tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="./override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="./category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="./category/misc.html">misc</a></li>
|
||||||
|
<li><a href="./category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="./category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<section id="content" class="body">
|
||||||
|
<h1>Authors on Alexis' log</h1>
|
||||||
|
<ul>
|
||||||
|
<li><a href="./author/alexis-metaireau.html">Alexis Métaireau</a> (10)</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
80
pelican/tests/output/custom_locale/categories.html
Normal file
|
|
@ -0,0 +1,80 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log</title>
|
||||||
|
<link rel="stylesheet" href="./theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="./">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="./tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="./override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="./category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="./category/misc.html">misc</a></li>
|
||||||
|
<li><a href="./category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="./category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<ul>
|
||||||
|
<li><a href="./category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="./category/misc.html">misc</a></li>
|
||||||
|
<li><a href="./category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="./category/bar.html">bar</a></li>
|
||||||
|
</ul>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
101
pelican/tests/output/custom_locale/category/bar.html
Normal file
|
|
@ -0,0 +1,101 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log - bar</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li class="active"><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<aside id="featured" class="body">
|
||||||
|
<article>
|
||||||
|
<h1 class="entry-title"><a href="../posts/2010/octobre/20/oh-yeah/">Oh yeah !</a></h1>
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-10-20T10:14:00">
|
||||||
|
Published: mer. 20 octobre 2010
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/bar.html">bar</a>. </p>
|
||||||
|
<p>tags: <a href="../tag/oh.html">oh</a> <a href="../tag/bar.html">bar</a> <a href="../tag/yeah.html">yeah</a> </p>Translations:
|
||||||
|
<a href="../oh-yeah-fr.html">fr</a>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --><div class="section" id="why-not">
|
||||||
|
<h2>Why not ?</h2>
|
||||||
|
<p>After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
|
||||||
|
YEAH !</p>
|
||||||
|
<img alt="alternate text" src="../pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
</div>
|
||||||
|
<p>There are <a href="../posts/2010/octobre/20/oh-yeah/#disqus_thread">comments</a>.</p> </article>
|
||||||
|
<p class="paginator">
|
||||||
|
Page 1 / 1
|
||||||
|
</p>
|
||||||
|
</aside><!-- /#featured -->
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
170
pelican/tests/output/custom_locale/category/cat1.html
Normal file
|
|
@ -0,0 +1,170 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log - cat1</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li class="active"><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<aside id="featured" class="body">
|
||||||
|
<article>
|
||||||
|
<h1 class="entry-title"><a href="../posts/2011/avril/20/a-markdown-powered-article/">A markdown powered article</a></h1>
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-04-20T00:00:00">
|
||||||
|
Published: mer. 20 avril 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --><p>You're mutually oblivious.</p>
|
||||||
|
<p><a href="../posts/2010/octobre/15/unbelievable/">a root-relative link to unbelievable</a>
|
||||||
|
<a href="../posts/2010/octobre/15/unbelievable/">a file-relative link to unbelievable</a></p><p>There are <a href="../posts/2011/avril/20/a-markdown-powered-article/#disqus_thread">comments</a>.</p> </article>
|
||||||
|
</aside><!-- /#featured -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<h1>Other articles</h1>
|
||||||
|
<hr />
|
||||||
|
<ol id="posts-list" class="hfeed">
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2011/février/17/article-1/" rel="bookmark"
|
||||||
|
title="Permalink to Article 1">Article 1</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-02-17T00:00:00">
|
||||||
|
Published: jeu. 17 février 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Article 1</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="../posts/2011/février/17/article-1/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2011/février/17/article-1/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2011/février/17/article-2/" rel="bookmark"
|
||||||
|
title="Permalink to Article 2">Article 2</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-02-17T00:00:00">
|
||||||
|
Published: jeu. 17 février 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Article 2</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="../posts/2011/février/17/article-2/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2011/février/17/article-2/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2011/février/17/article-3/" rel="bookmark"
|
||||||
|
title="Permalink to Article 3">Article 3</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-02-17T00:00:00">
|
||||||
|
Published: jeu. 17 février 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Article 3</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="../posts/2011/février/17/article-3/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2011/février/17/article-3/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
</ol><!-- /#posts-list -->
|
||||||
|
<p class="paginator">
|
||||||
|
Page 1 / 1
|
||||||
|
</p>
|
||||||
|
</section><!-- /#content -->
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
181
pelican/tests/output/custom_locale/category/misc.html
Normal file
|
|
@ -0,0 +1,181 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log - misc</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li class="active"><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<aside id="featured" class="body">
|
||||||
|
<article>
|
||||||
|
<h1 class="entry-title"><a href="../posts/2012/novembre/30/filename_metadata-example/">FILENAME_METADATA example</a></h1>
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2012-11-30T00:00:00">
|
||||||
|
Published: ven. 30 novembre 2012
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/misc.html">misc</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --><p>Some cool stuff!</p>
|
||||||
|
<p>There are <a href="../posts/2012/novembre/30/filename_metadata-example/#disqus_thread">comments</a>.</p> </article>
|
||||||
|
</aside><!-- /#featured -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<h1>Other articles</h1>
|
||||||
|
<hr />
|
||||||
|
<ol id="posts-list" class="hfeed">
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2012/février/29/second-article/" rel="bookmark"
|
||||||
|
title="Permalink to Second article">Second article</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2012-02-29T00:00:00">
|
||||||
|
Published: mer. 29 février 2012
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/misc.html">misc</a>. </p>
|
||||||
|
<p>tags: <a href="../tag/foo.html">foo</a> <a href="../tag/bar.html">bar</a> <a href="../tag/baz.html">baz</a> </p>Translations:
|
||||||
|
<a href="../second-article-fr.html">fr</a>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>This is some article, in english</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="../posts/2012/février/29/second-article/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2012/février/29/second-article/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2010/octobre/15/unbelievable/" rel="bookmark"
|
||||||
|
title="Permalink to Unbelievable !">Unbelievable !</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-10-15T20:30:00">
|
||||||
|
Published: ven. 15 octobre 2010
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/misc.html">misc</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Or completely awesome. Depends the needs.</p>
|
||||||
|
<p><a class="reference external" href="../posts/2011/avril/20/a-markdown-powered-article/">a root-relative link to markdown-article</a>
|
||||||
|
<a class="reference external" href="../posts/2011/avril/20/a-markdown-powered-article/">a file-relative link to markdown-article</a></p>
|
||||||
|
<div class="section" id="testing-sourcecode-directive">
|
||||||
|
<h2>Testing sourcecode directive</h2>
|
||||||
|
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1</pre></div></td><td class="code"><div class="highlight"><pre><span class="n">formatter</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">options</span> <span class="ow">and</span> <span class="n">VARIANTS</span><span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">options</span><span class="o">.</span><span class="n">keys</span><span class="p">()[</span><span class="mi">0</span><span class="p">]]</span>
|
||||||
|
</pre></div>
|
||||||
|
</td></tr></table></div>
|
||||||
|
<div class="section" id="testing-another-case">
|
||||||
|
<h2>Testing another case</h2>
|
||||||
|
<p>This will now have a line number in 'custom' since it's the default in
|
||||||
|
pelican.conf, it ...</p></div>
|
||||||
|
<a class="readmore" href="../posts/2010/octobre/15/unbelievable/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2010/octobre/15/unbelievable/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../tag/baz.html" rel="bookmark"
|
||||||
|
title="Permalink to The baz tag">The baz tag</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-03-14T00:00:00">
|
||||||
|
Published: dim. 14 mars 2010
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/misc.html">misc</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>This article overrides the listening of the articles under the <em>baz</em> tag.</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="../tag/baz.html">read more</a>
|
||||||
|
<p>There are <a href="../tag/baz.html#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
</ol><!-- /#posts-list -->
|
||||||
|
<p class="paginator">
|
||||||
|
Page 1 / 1
|
||||||
|
</p>
|
||||||
|
</section><!-- /#content -->
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
109
pelican/tests/output/custom_locale/category/yeah.html
Normal file
|
|
@ -0,0 +1,109 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log - yeah</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li class="active"><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<aside id="featured" class="body">
|
||||||
|
<article>
|
||||||
|
<h1 class="entry-title"><a href="../posts/2010/décembre/02/this-is-a-super-article/">This is a super article !</a></h1>
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-12-02T10:14:00">
|
||||||
|
Published: jeu. 02 décembre 2010
|
||||||
|
</abbr>
|
||||||
|
<br />
|
||||||
|
<abbr class="modified" title="2013-11-17T23:29:00">
|
||||||
|
Updated: dim. 17 novembre 2013
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/yeah.html">yeah</a>. </p>
|
||||||
|
<p>tags: <a href="../tag/foo.html">foo</a> <a href="../tag/bar.html">bar</a> <a href="../tag/foobar.html">foobar</a> </p>
|
||||||
|
</footer><!-- /.post-info --><p>Some content here !</p>
|
||||||
|
<div class="section" id="this-is-a-simple-title">
|
||||||
|
<h2>This is a simple title</h2>
|
||||||
|
<p>And here comes the cool <a class="reference external" href="http://books.couchdb.org/relax/design-documents/views">stuff</a>.</p>
|
||||||
|
<img alt="alternate text" src="../pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
<img alt="alternate text" src="../pictures/Sushi_Macro.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
<pre class="literal-block">
|
||||||
|
>>> from ipdb import set_trace
|
||||||
|
>>> set_trace()
|
||||||
|
</pre>
|
||||||
|
<p>→ And now try with some utf8 hell: ééé</p>
|
||||||
|
</div>
|
||||||
|
<p>There are <a href="../posts/2010/décembre/02/this-is-a-super-article/#disqus_thread">comments</a>.</p> </article>
|
||||||
|
<p class="paginator">
|
||||||
|
Page 1 / 1
|
||||||
|
</p>
|
||||||
|
</aside><!-- /#featured -->
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
100
pelican/tests/output/custom_locale/drafts/a-draft-article.html
Normal file
|
|
@ -0,0 +1,100 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>A draft article</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li class="active"><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title">
|
||||||
|
<a href="../drafts/a-draft-article.html" rel="bookmark"
|
||||||
|
title="Permalink to A draft article">A draft article</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2012-03-02T14:01:01">
|
||||||
|
Published: ven. 02 mars 2012
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/misc.html">misc</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>This is a draft article, it should live under the /drafts/ folder and not be
|
||||||
|
listed anywhere else.</p>
|
||||||
|
|
||||||
|
</div><!-- /.entry-content -->
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
61
pelican/tests/output/custom_locale/feeds/all-en.atom.xml
Normal file
4
pelican/tests/output/custom_locale/feeds/all-fr.atom.xml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<feed xmlns="http://www.w3.org/2005/Atom"><title>Alexis' log</title><link href="http://blog.notmyidea.org/" rel="alternate"></link><link href="http://blog.notmyidea.org/feeds/all-fr.atom.xml" rel="self"></link><id>http://blog.notmyidea.org/</id><updated>2012-03-02T14:01:01+01:00</updated><entry><title>Trop bien !</title><link href="http://blog.notmyidea.org/oh-yeah-fr.html" rel="alternate"></link><updated>2012-03-02T14:01:01+01:00</updated><author><name>Alexis Métaireau</name></author><id>tag:blog.notmyidea.org,2012-03-02:oh-yeah-fr.html</id><summary type="html"><p>Et voila du contenu en français</p>
|
||||||
|
</summary></entry><entry><title>Deuxième article</title><link href="http://blog.notmyidea.org/second-article-fr.html" rel="alternate"></link><updated>2012-02-29T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>tag:blog.notmyidea.org,2012-02-29:second-article-fr.html</id><summary type="html"><p>Ceci est un article, en français.</p>
|
||||||
|
</summary><category term="foo"></category><category term="bar"></category><category term="baz"></category></entry></feed>
|
||||||
63
pelican/tests/output/custom_locale/feeds/all.atom.xml
Normal file
63
pelican/tests/output/custom_locale/feeds/all.rss.xml
Normal file
8
pelican/tests/output/custom_locale/feeds/bar.atom.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<feed xmlns="http://www.w3.org/2005/Atom"><title>Alexis' log</title><link href="http://blog.notmyidea.org/" rel="alternate"></link><link href="http://blog.notmyidea.org/feeds/bar.atom.xml" rel="self"></link><id>http://blog.notmyidea.org/</id><updated>2010-10-20T10:14:00+02:00</updated><entry><title>Oh yeah !</title><link href="http://blog.notmyidea.org/posts/2010/October/20/oh-yeah/" rel="alternate"></link><updated>2010-10-20T10:14:00+02:00</updated><author><name>Alexis Métaireau</name></author><id>tag:blog.notmyidea.org,2010-10-20:posts/2010/October/20/oh-yeah/</id><summary type="html"><div class="section" id="why-not">
|
||||||
|
<h2>Why not ?</h2>
|
||||||
|
<p>After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
|
||||||
|
YEAH !</p>
|
||||||
|
<img alt="alternate text" src="http://blog.notmyidea.org/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
</div>
|
||||||
|
</summary><category term="oh"></category><category term="bar"></category><category term="yeah"></category></entry></feed>
|
||||||
8
pelican/tests/output/custom_locale/feeds/bar.rss.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Alexis' log</title><link>http://blog.notmyidea.org/</link><description></description><atom:link href="http://blog.notmyidea.org/feeds/bar.rss.xml" rel="self"></atom:link><lastBuildDate>Wed, 20 Oct 2010 10:14:00 +0200</lastBuildDate><item><title>Oh yeah !</title><link>http://blog.notmyidea.org/posts/2010/October/20/oh-yeah/</link><description><div class="section" id="why-not">
|
||||||
|
<h2>Why not ?</h2>
|
||||||
|
<p>After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
|
||||||
|
YEAH !</p>
|
||||||
|
<img alt="alternate text" src="http://blog.notmyidea.org/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
</div>
|
||||||
|
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexis Métaireau</dc:creator><pubDate>Wed, 20 Oct 2010 10:14:00 +0200</pubDate><guid>tag:blog.notmyidea.org,2010-10-20:posts/2010/October/20/oh-yeah/</guid><category>oh</category><category>bar</category><category>yeah</category></item></channel></rss>
|
||||||
7
pelican/tests/output/custom_locale/feeds/cat1.atom.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<feed xmlns="http://www.w3.org/2005/Atom"><title>Alexis' log</title><link href="http://blog.notmyidea.org/" rel="alternate"></link><link href="http://blog.notmyidea.org/feeds/cat1.atom.xml" rel="self"></link><id>http://blog.notmyidea.org/</id><updated>2011-04-20T00:00:00+02:00</updated><entry><title>A markdown powered article</title><link href="http://blog.notmyidea.org/posts/2011/April/20/a-markdown-powered-article/" rel="alternate"></link><updated>2011-04-20T00:00:00+02:00</updated><author><name>Alexis Métaireau</name></author><id>tag:blog.notmyidea.org,2011-04-20:posts/2011/April/20/a-markdown-powered-article/</id><summary type="html"><p>You're mutually oblivious.</p>
|
||||||
|
<p><a href="http://blog.notmyidea.org/posts/2010/October/15/unbelievable/">a root-relative link to unbelievable</a>
|
||||||
|
<a href="http://blog.notmyidea.org/posts/2010/October/15/unbelievable/">a file-relative link to unbelievable</a></p></summary></entry><entry><title>Article 1</title><link href="http://blog.notmyidea.org/posts/2011/February/17/article-1/" rel="alternate"></link><updated>2011-02-17T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>tag:blog.notmyidea.org,2011-02-17:posts/2011/February/17/article-1/</id><summary type="html"><p>Article 1</p>
|
||||||
|
</summary></entry><entry><title>Article 2</title><link href="http://blog.notmyidea.org/posts/2011/February/17/article-2/" rel="alternate"></link><updated>2011-02-17T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>tag:blog.notmyidea.org,2011-02-17:posts/2011/February/17/article-2/</id><summary type="html"><p>Article 2</p>
|
||||||
|
</summary></entry><entry><title>Article 3</title><link href="http://blog.notmyidea.org/posts/2011/February/17/article-3/" rel="alternate"></link><updated>2011-02-17T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>tag:blog.notmyidea.org,2011-02-17:posts/2011/February/17/article-3/</id><summary type="html"><p>Article 3</p>
|
||||||
|
</summary></entry></feed>
|
||||||
7
pelican/tests/output/custom_locale/feeds/cat1.rss.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Alexis' log</title><link>http://blog.notmyidea.org/</link><description></description><atom:link href="http://blog.notmyidea.org/feeds/cat1.rss.xml" rel="self"></atom:link><lastBuildDate>Wed, 20 Apr 2011 00:00:00 +0200</lastBuildDate><item><title>A markdown powered article</title><link>http://blog.notmyidea.org/posts/2011/April/20/a-markdown-powered-article/</link><description><p>You're mutually oblivious.</p>
|
||||||
|
<p><a href="http://blog.notmyidea.org/posts/2010/October/15/unbelievable/">a root-relative link to unbelievable</a>
|
||||||
|
<a href="http://blog.notmyidea.org/posts/2010/October/15/unbelievable/">a file-relative link to unbelievable</a></p></description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexis Métaireau</dc:creator><pubDate>Wed, 20 Apr 2011 00:00:00 +0200</pubDate><guid>tag:blog.notmyidea.org,2011-04-20:posts/2011/April/20/a-markdown-powered-article/</guid></item><item><title>Article 1</title><link>http://blog.notmyidea.org/posts/2011/February/17/article-1/</link><description><p>Article 1</p>
|
||||||
|
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexis Métaireau</dc:creator><pubDate>Thu, 17 Feb 2011 00:00:00 +0100</pubDate><guid>tag:blog.notmyidea.org,2011-02-17:posts/2011/February/17/article-1/</guid></item><item><title>Article 2</title><link>http://blog.notmyidea.org/posts/2011/February/17/article-2/</link><description><p>Article 2</p>
|
||||||
|
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexis Métaireau</dc:creator><pubDate>Thu, 17 Feb 2011 00:00:00 +0100</pubDate><guid>tag:blog.notmyidea.org,2011-02-17:posts/2011/February/17/article-2/</guid></item><item><title>Article 3</title><link>http://blog.notmyidea.org/posts/2011/February/17/article-3/</link><description><p>Article 3</p>
|
||||||
|
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexis Métaireau</dc:creator><pubDate>Thu, 17 Feb 2011 00:00:00 +0100</pubDate><guid>tag:blog.notmyidea.org,2011-02-17:posts/2011/February/17/article-3/</guid></item></channel></rss>
|
||||||
38
pelican/tests/output/custom_locale/feeds/misc.atom.xml
Normal file
38
pelican/tests/output/custom_locale/feeds/misc.rss.xml
Normal file
14
pelican/tests/output/custom_locale/feeds/yeah.atom.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<feed xmlns="http://www.w3.org/2005/Atom"><title>Alexis' log</title><link href="http://blog.notmyidea.org/" rel="alternate"></link><link href="http://blog.notmyidea.org/feeds/yeah.atom.xml" rel="self"></link><id>http://blog.notmyidea.org/</id><updated>2013-11-17T23:29:00+01:00</updated><entry><title>This is a super article !</title><link href="http://blog.notmyidea.org/posts/2010/December/02/this-is-a-super-article/" rel="alternate"></link><updated>2013-11-17T23:29:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>tag:blog.notmyidea.org,2010-12-02:posts/2010/December/02/this-is-a-super-article/</id><summary type="html"><p>Some content here !</p>
|
||||||
|
<div class="section" id="this-is-a-simple-title">
|
||||||
|
<h2>This is a simple title</h2>
|
||||||
|
<p>And here comes the cool <a class="reference external" href="http://books.couchdb.org/relax/design-documents/views">stuff</a>.</p>
|
||||||
|
<img alt="alternate text" src="http://blog.notmyidea.org/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
<img alt="alternate text" src="http://blog.notmyidea.org/pictures/Sushi_Macro.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
<pre class="literal-block">
|
||||||
|
&gt;&gt;&gt; from ipdb import set_trace
|
||||||
|
&gt;&gt;&gt; set_trace()
|
||||||
|
</pre>
|
||||||
|
<p>→ And now try with some utf8 hell: ééé</p>
|
||||||
|
</div>
|
||||||
|
</summary><category term="foo"></category><category term="bar"></category><category term="foobar"></category></entry></feed>
|
||||||
14
pelican/tests/output/custom_locale/feeds/yeah.rss.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Alexis' log</title><link>http://blog.notmyidea.org/</link><description></description><atom:link href="http://blog.notmyidea.org/feeds/yeah.rss.xml" rel="self"></atom:link><lastBuildDate>Sun, 17 Nov 2013 23:29:00 +0100</lastBuildDate><item><title>This is a super article !</title><link>http://blog.notmyidea.org/posts/2010/December/02/this-is-a-super-article/</link><description><p>Some content here !</p>
|
||||||
|
<div class="section" id="this-is-a-simple-title">
|
||||||
|
<h2>This is a simple title</h2>
|
||||||
|
<p>And here comes the cool <a class="reference external" href="http://books.couchdb.org/relax/design-documents/views">stuff</a>.</p>
|
||||||
|
<img alt="alternate text" src="http://blog.notmyidea.org/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
<img alt="alternate text" src="http://blog.notmyidea.org/pictures/Sushi_Macro.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
<pre class="literal-block">
|
||||||
|
&gt;&gt;&gt; from ipdb import set_trace
|
||||||
|
&gt;&gt;&gt; set_trace()
|
||||||
|
</pre>
|
||||||
|
<p>→ And now try with some utf8 hell: ééé</p>
|
||||||
|
</div>
|
||||||
|
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexis Métaireau</dc:creator><pubDate>Sun, 17 Nov 2013 23:29:00 +0100</pubDate><guid>tag:blog.notmyidea.org,2010-12-02:posts/2010/December/02/this-is-a-super-article/</guid><category>foo</category><category>bar</category><category>foobar</category></item></channel></rss>
|
||||||
173
pelican/tests/output/custom_locale/index.html
Normal file
|
|
@ -0,0 +1,173 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log</title>
|
||||||
|
<link rel="stylesheet" href="./theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="./">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="./tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="./override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="./category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="./category/misc.html">misc</a></li>
|
||||||
|
<li><a href="./category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="./category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<aside id="featured" class="body">
|
||||||
|
<article>
|
||||||
|
<h1 class="entry-title"><a href="./posts/2012/novembre/30/filename_metadata-example/">FILENAME_METADATA example</a></h1>
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2012-11-30T00:00:00">
|
||||||
|
Published: ven. 30 novembre 2012
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="./author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="./category/misc.html">misc</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --><p>Some cool stuff!</p>
|
||||||
|
<p>There are <a href="./posts/2012/novembre/30/filename_metadata-example/#disqus_thread">comments</a>.</p> </article>
|
||||||
|
</aside><!-- /#featured -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<h1>Other articles</h1>
|
||||||
|
<hr />
|
||||||
|
<ol id="posts-list" class="hfeed">
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="./posts/2012/février/29/second-article/" rel="bookmark"
|
||||||
|
title="Permalink to Second article">Second article</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2012-02-29T00:00:00">
|
||||||
|
Published: mer. 29 février 2012
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="./author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="./category/misc.html">misc</a>. </p>
|
||||||
|
<p>tags: <a href="./tag/foo.html">foo</a> <a href="./tag/bar.html">bar</a> <a href="./tag/baz.html">baz</a> </p>Translations:
|
||||||
|
<a href="./second-article-fr.html">fr</a>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>This is some article, in english</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="./posts/2012/février/29/second-article/">read more</a>
|
||||||
|
<p>There are <a href="./posts/2012/février/29/second-article/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="./posts/2011/avril/20/a-markdown-powered-article/" rel="bookmark"
|
||||||
|
title="Permalink to A markdown powered article">A markdown powered article</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-04-20T00:00:00">
|
||||||
|
Published: mer. 20 avril 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="./author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="./category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>You're mutually oblivious.</p>
|
||||||
|
<p><a href="./posts/2010/octobre/15/unbelievable/">a root-relative link to unbelievable</a>
|
||||||
|
<a href="./posts/2010/octobre/15/unbelievable/">a file-relative link to unbelievable</a></p>
|
||||||
|
<a class="readmore" href="./posts/2011/avril/20/a-markdown-powered-article/">read more</a>
|
||||||
|
<p>There are <a href="./posts/2011/avril/20/a-markdown-powered-article/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="./posts/2011/février/17/article-1/" rel="bookmark"
|
||||||
|
title="Permalink to Article 1">Article 1</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-02-17T00:00:00">
|
||||||
|
Published: jeu. 17 février 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="./author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="./category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Article 1</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="./posts/2011/février/17/article-1/">read more</a>
|
||||||
|
<p>There are <a href="./posts/2011/février/17/article-1/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
</ol><!-- /#posts-list -->
|
||||||
|
<p class="paginator">
|
||||||
|
Page 1 / 3
|
||||||
|
<a href="./index2.html">»</a>
|
||||||
|
</p>
|
||||||
|
</section><!-- /#content -->
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
187
pelican/tests/output/custom_locale/index2.html
Normal file
|
|
@ -0,0 +1,187 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log</title>
|
||||||
|
<link rel="stylesheet" href="./theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="./">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="./tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="./override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="./category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="./category/misc.html">misc</a></li>
|
||||||
|
<li><a href="./category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="./category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<section id="content" class="body">
|
||||||
|
<ol id="posts-list" class="hfeed" start="3">
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="./posts/2011/février/17/article-2/" rel="bookmark"
|
||||||
|
title="Permalink to Article 2">Article 2</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-02-17T00:00:00">
|
||||||
|
Published: jeu. 17 février 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="./author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="./category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Article 2</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="./posts/2011/février/17/article-2/">read more</a>
|
||||||
|
<p>There are <a href="./posts/2011/février/17/article-2/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="./posts/2011/février/17/article-3/" rel="bookmark"
|
||||||
|
title="Permalink to Article 3">Article 3</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-02-17T00:00:00">
|
||||||
|
Published: jeu. 17 février 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="./author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="./category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Article 3</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="./posts/2011/février/17/article-3/">read more</a>
|
||||||
|
<p>There are <a href="./posts/2011/février/17/article-3/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="./posts/2010/décembre/02/this-is-a-super-article/" rel="bookmark"
|
||||||
|
title="Permalink to This is a super article !">This is a super article !</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-12-02T10:14:00">
|
||||||
|
Published: jeu. 02 décembre 2010
|
||||||
|
</abbr>
|
||||||
|
<br />
|
||||||
|
<abbr class="modified" title="2013-11-17T23:29:00">
|
||||||
|
Updated: dim. 17 novembre 2013
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="./author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="./category/yeah.html">yeah</a>. </p>
|
||||||
|
<p>tags: <a href="./tag/foo.html">foo</a> <a href="./tag/bar.html">bar</a> <a href="./tag/foobar.html">foobar</a> </p>
|
||||||
|
</footer><!-- /.post-info --> <p class="first last">Multi-line metadata should be supported
|
||||||
|
as well as <strong>inline markup</strong>.</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="./posts/2010/décembre/02/this-is-a-super-article/">read more</a>
|
||||||
|
<p>There are <a href="./posts/2010/décembre/02/this-is-a-super-article/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="./posts/2010/octobre/20/oh-yeah/" rel="bookmark"
|
||||||
|
title="Permalink to Oh yeah !">Oh yeah !</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-10-20T10:14:00">
|
||||||
|
Published: mer. 20 octobre 2010
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="./author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="./category/bar.html">bar</a>. </p>
|
||||||
|
<p>tags: <a href="./tag/oh.html">oh</a> <a href="./tag/bar.html">bar</a> <a href="./tag/yeah.html">yeah</a> </p>Translations:
|
||||||
|
<a href="./oh-yeah-fr.html">fr</a>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <div class="section" id="why-not">
|
||||||
|
<h2>Why not ?</h2>
|
||||||
|
<p>After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
|
||||||
|
YEAH !</p>
|
||||||
|
<img alt="alternate text" src="./pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a class="readmore" href="./posts/2010/octobre/20/oh-yeah/">read more</a>
|
||||||
|
<p>There are <a href="./posts/2010/octobre/20/oh-yeah/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
</ol><!-- /#posts-list -->
|
||||||
|
<p class="paginator">
|
||||||
|
<a href="./index.html">«</a>
|
||||||
|
Page 2 / 3
|
||||||
|
<a href="./index3.html">»</a>
|
||||||
|
</p>
|
||||||
|
</section><!-- /#content -->
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
138
pelican/tests/output/custom_locale/index3.html
Normal file
|
|
@ -0,0 +1,138 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log</title>
|
||||||
|
<link rel="stylesheet" href="./theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="./">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="./tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="./override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="./category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="./category/misc.html">misc</a></li>
|
||||||
|
<li><a href="./category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="./category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<section id="content" class="body">
|
||||||
|
<ol id="posts-list" class="hfeed" start="3">
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="./posts/2010/octobre/15/unbelievable/" rel="bookmark"
|
||||||
|
title="Permalink to Unbelievable !">Unbelievable !</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-10-15T20:30:00">
|
||||||
|
Published: ven. 15 octobre 2010
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="./author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="./category/misc.html">misc</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Or completely awesome. Depends the needs.</p>
|
||||||
|
<p><a class="reference external" href="./posts/2011/avril/20/a-markdown-powered-article/">a root-relative link to markdown-article</a>
|
||||||
|
<a class="reference external" href="./posts/2011/avril/20/a-markdown-powered-article/">a file-relative link to markdown-article</a></p>
|
||||||
|
<div class="section" id="testing-sourcecode-directive">
|
||||||
|
<h2>Testing sourcecode directive</h2>
|
||||||
|
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1</pre></div></td><td class="code"><div class="highlight"><pre><span class="n">formatter</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">options</span> <span class="ow">and</span> <span class="n">VARIANTS</span><span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">options</span><span class="o">.</span><span class="n">keys</span><span class="p">()[</span><span class="mi">0</span><span class="p">]]</span>
|
||||||
|
</pre></div>
|
||||||
|
</td></tr></table></div>
|
||||||
|
<div class="section" id="testing-another-case">
|
||||||
|
<h2>Testing another case</h2>
|
||||||
|
<p>This will now have a line number in 'custom' since it's the default in
|
||||||
|
pelican.conf, it ...</p></div>
|
||||||
|
<a class="readmore" href="./posts/2010/octobre/15/unbelievable/">read more</a>
|
||||||
|
<p>There are <a href="./posts/2010/octobre/15/unbelievable/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="./tag/baz.html" rel="bookmark"
|
||||||
|
title="Permalink to The baz tag">The baz tag</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-03-14T00:00:00">
|
||||||
|
Published: dim. 14 mars 2010
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="./author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="./category/misc.html">misc</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>This article overrides the listening of the articles under the <em>baz</em> tag.</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="./tag/baz.html">read more</a>
|
||||||
|
<p>There are <a href="./tag/baz.html#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
</ol><!-- /#posts-list -->
|
||||||
|
<p class="paginator">
|
||||||
|
<a href="./index2.html">«</a>
|
||||||
|
Page 3 / 3
|
||||||
|
</p>
|
||||||
|
</section><!-- /#content -->
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
77
pelican/tests/output/custom_locale/jinja2_template.html
Normal file
|
|
@ -0,0 +1,77 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log</title>
|
||||||
|
<link rel="stylesheet" href="./theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="./">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="./tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="./override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="./category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="./category/misc.html">misc</a></li>
|
||||||
|
<li><a href="./category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="./category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
Some text
|
||||||
|
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
116
pelican/tests/output/custom_locale/oh-yeah-fr.html
Normal file
|
|
@ -0,0 +1,116 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Trop bien !</title>
|
||||||
|
<link rel="stylesheet" href="./theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="./">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="./tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="./override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="./category/yeah.html">yeah</a></li>
|
||||||
|
<li class="active"><a href="./category/misc.html">misc</a></li>
|
||||||
|
<li><a href="./category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="./category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title">
|
||||||
|
<a href="./oh-yeah-fr.html" rel="bookmark"
|
||||||
|
title="Permalink to Trop bien !">Trop bien !</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2012-03-02T14:01:01">
|
||||||
|
Published: ven. 02 mars 2012
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="./author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="./category/misc.html">misc</a>. </p>
|
||||||
|
Translations:
|
||||||
|
<a href="./posts/2010/octobre/20/oh-yeah/">en</a>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Et voila du contenu en français</p>
|
||||||
|
|
||||||
|
</div><!-- /.entry-content -->
|
||||||
|
<div class="comments">
|
||||||
|
<h2>Comments !</h2>
|
||||||
|
<div id="disqus_thread"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
var disqus_identifier = 'oh-yeah-fr.html';
|
||||||
|
var disqus_url = './oh-yeah-fr.html';
|
||||||
|
(function() {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = '//blog-notmyidea.disqus.com/embed.js';
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the comments.</noscript>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
81
pelican/tests/output/custom_locale/override/index.html
Normal file
|
|
@ -0,0 +1,81 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Override url/save_as</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li class="active"><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<h1 class="entry-title">Override url/save_as</h1>
|
||||||
|
|
||||||
|
<p>Test page which overrides save_as and url so that this page will be generated
|
||||||
|
at a custom location.</p>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,81 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>This is a test hidden page</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<h1 class="entry-title">This is a test hidden page</h1>
|
||||||
|
|
||||||
|
<p>This is great for things like error(404) pages
|
||||||
|
Anyone can see this page but it's not linked to anywhere!</p>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,81 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>This is a test page</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li class="active"><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<h1 class="entry-title">This is a test page</h1>
|
||||||
|
|
||||||
|
<p>Just an image.</p>
|
||||||
|
<img alt="alternate text" src="../pictures/Fat_Cat.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
BIN
pelican/tests/output/custom_locale/pictures/Fat_Cat.jpg
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
pelican/tests/output/custom_locale/pictures/Sushi.jpg
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
pelican/tests/output/custom_locale/pictures/Sushi_Macro.jpg
Normal file
|
After Width: | Height: | Size: 38 KiB |
|
|
@ -0,0 +1,129 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>This is a super article !</title>
|
||||||
|
<link rel="stylesheet" href="../../../../../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../../../../../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../../../../../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../../../../../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../../../../../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li class="active"><a href="../../../../../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../../../../../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../../../../../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../../../../../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title">
|
||||||
|
<a href="../../../../../posts/2010/décembre/02/this-is-a-super-article/" rel="bookmark"
|
||||||
|
title="Permalink to This is a super article !">This is a super article !</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-12-02T10:14:00">
|
||||||
|
Published: jeu. 02 décembre 2010
|
||||||
|
</abbr>
|
||||||
|
<br />
|
||||||
|
<abbr class="modified" title="2013-11-17T23:29:00">
|
||||||
|
Updated: dim. 17 novembre 2013
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../../../../../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../../../../../category/yeah.html">yeah</a>. </p>
|
||||||
|
<p>tags: <a href="../../../../../tag/foo.html">foo</a> <a href="../../../../../tag/bar.html">bar</a> <a href="../../../../../tag/foobar.html">foobar</a> </p>
|
||||||
|
</footer><!-- /.post-info --> <p>Some content here !</p>
|
||||||
|
<div class="section" id="this-is-a-simple-title">
|
||||||
|
<h2>This is a simple title</h2>
|
||||||
|
<p>And here comes the cool <a class="reference external" href="http://books.couchdb.org/relax/design-documents/views">stuff</a>.</p>
|
||||||
|
<img alt="alternate text" src="../../../../../pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
<img alt="alternate text" src="../../../../../pictures/Sushi_Macro.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
<pre class="literal-block">
|
||||||
|
>>> from ipdb import set_trace
|
||||||
|
>>> set_trace()
|
||||||
|
</pre>
|
||||||
|
<p>→ And now try with some utf8 hell: ééé</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div><!-- /.entry-content -->
|
||||||
|
<div class="comments">
|
||||||
|
<h2>Comments !</h2>
|
||||||
|
<div id="disqus_thread"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
var disqus_identifier = 'posts/2010/décembre/02/this-is-a-super-article/';
|
||||||
|
var disqus_url = '../../../../../posts/2010/décembre/02/this-is-a-super-article/';
|
||||||
|
(function() {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = '//blog-notmyidea.disqus.com/embed.js';
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the comments.</noscript>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,121 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Oh yeah !</title>
|
||||||
|
<link rel="stylesheet" href="../../../../../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../../../../../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../../../../../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../../../../../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../../../../../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../../../../../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../../../../../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../../../../../category/cat1.html">cat1</a></li>
|
||||||
|
<li class="active"><a href="../../../../../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title">
|
||||||
|
<a href="../../../../../posts/2010/octobre/20/oh-yeah/" rel="bookmark"
|
||||||
|
title="Permalink to Oh yeah !">Oh yeah !</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-10-20T10:14:00">
|
||||||
|
Published: mer. 20 octobre 2010
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../../../../../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../../../../../category/bar.html">bar</a>. </p>
|
||||||
|
<p>tags: <a href="../../../../../tag/oh.html">oh</a> <a href="../../../../../tag/bar.html">bar</a> <a href="../../../../../tag/yeah.html">yeah</a> </p>Translations:
|
||||||
|
<a href="../../../../../oh-yeah-fr.html">fr</a>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <div class="section" id="why-not">
|
||||||
|
<h2>Why not ?</h2>
|
||||||
|
<p>After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
|
||||||
|
YEAH !</p>
|
||||||
|
<img alt="alternate text" src="../../../../../pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div><!-- /.entry-content -->
|
||||||
|
<div class="comments">
|
||||||
|
<h2>Comments !</h2>
|
||||||
|
<div id="disqus_thread"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
var disqus_identifier = 'posts/2010/octobre/20/oh-yeah/';
|
||||||
|
var disqus_url = '../../../../../posts/2010/octobre/20/oh-yeah/';
|
||||||
|
(function() {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = '//blog-notmyidea.disqus.com/embed.js';
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the comments.</noscript>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,115 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>A markdown powered article</title>
|
||||||
|
<link rel="stylesheet" href="../../../../../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../../../../../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../../../../../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../../../../../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../../../../../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../../../../../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../../../../../category/misc.html">misc</a></li>
|
||||||
|
<li class="active"><a href="../../../../../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../../../../../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title">
|
||||||
|
<a href="../../../../../posts/2011/avril/20/a-markdown-powered-article/" rel="bookmark"
|
||||||
|
title="Permalink to A markdown powered article">A markdown powered article</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-04-20T00:00:00">
|
||||||
|
Published: mer. 20 avril 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../../../../../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../../../../../category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>You're mutually oblivious.</p>
|
||||||
|
<p><a href="../../../../../posts/2010/octobre/15/unbelievable/">a root-relative link to unbelievable</a>
|
||||||
|
<a href="../../../../../posts/2010/octobre/15/unbelievable/">a file-relative link to unbelievable</a></p>
|
||||||
|
</div><!-- /.entry-content -->
|
||||||
|
<div class="comments">
|
||||||
|
<h2>Comments !</h2>
|
||||||
|
<div id="disqus_thread"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
var disqus_identifier = 'posts/2011/avril/20/a-markdown-powered-article/';
|
||||||
|
var disqus_url = '../../../../../posts/2011/avril/20/a-markdown-powered-article/';
|
||||||
|
(function() {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = '//blog-notmyidea.disqus.com/embed.js';
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the comments.</noscript>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,114 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Article 1</title>
|
||||||
|
<link rel="stylesheet" href="../../../../../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../../../../../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../../../../../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../../../../../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../../../../../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../../../../../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../../../../../category/misc.html">misc</a></li>
|
||||||
|
<li class="active"><a href="../../../../../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../../../../../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title">
|
||||||
|
<a href="../../../../../posts/2011/février/17/article-1/" rel="bookmark"
|
||||||
|
title="Permalink to Article 1">Article 1</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-02-17T00:00:00">
|
||||||
|
Published: jeu. 17 février 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../../../../../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../../../../../category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Article 1</p>
|
||||||
|
|
||||||
|
</div><!-- /.entry-content -->
|
||||||
|
<div class="comments">
|
||||||
|
<h2>Comments !</h2>
|
||||||
|
<div id="disqus_thread"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
var disqus_identifier = 'posts/2011/février/17/article-1/';
|
||||||
|
var disqus_url = '../../../../../posts/2011/février/17/article-1/';
|
||||||
|
(function() {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = '//blog-notmyidea.disqus.com/embed.js';
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the comments.</noscript>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,114 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Article 2</title>
|
||||||
|
<link rel="stylesheet" href="../../../../../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../../../../../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../../../../../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../../../../../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../../../../../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../../../../../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../../../../../category/misc.html">misc</a></li>
|
||||||
|
<li class="active"><a href="../../../../../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../../../../../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title">
|
||||||
|
<a href="../../../../../posts/2011/février/17/article-2/" rel="bookmark"
|
||||||
|
title="Permalink to Article 2">Article 2</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-02-17T00:00:00">
|
||||||
|
Published: jeu. 17 février 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../../../../../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../../../../../category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Article 2</p>
|
||||||
|
|
||||||
|
</div><!-- /.entry-content -->
|
||||||
|
<div class="comments">
|
||||||
|
<h2>Comments !</h2>
|
||||||
|
<div id="disqus_thread"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
var disqus_identifier = 'posts/2011/février/17/article-2/';
|
||||||
|
var disqus_url = '../../../../../posts/2011/février/17/article-2/';
|
||||||
|
(function() {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = '//blog-notmyidea.disqus.com/embed.js';
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the comments.</noscript>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,114 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Article 3</title>
|
||||||
|
<link rel="stylesheet" href="../../../../../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../../../../../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../../../../../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../../../../../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../../../../../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../../../../../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../../../../../category/misc.html">misc</a></li>
|
||||||
|
<li class="active"><a href="../../../../../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../../../../../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title">
|
||||||
|
<a href="../../../../../posts/2011/février/17/article-3/" rel="bookmark"
|
||||||
|
title="Permalink to Article 3">Article 3</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2011-02-17T00:00:00">
|
||||||
|
Published: jeu. 17 février 2011
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../../../../../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../../../../../category/cat1.html">cat1</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Article 3</p>
|
||||||
|
|
||||||
|
</div><!-- /.entry-content -->
|
||||||
|
<div class="comments">
|
||||||
|
<h2>Comments !</h2>
|
||||||
|
<div id="disqus_thread"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
var disqus_identifier = 'posts/2011/février/17/article-3/';
|
||||||
|
var disqus_url = '../../../../../posts/2011/février/17/article-3/';
|
||||||
|
(function() {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = '//blog-notmyidea.disqus.com/embed.js';
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the comments.</noscript>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,116 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Second article</title>
|
||||||
|
<link rel="stylesheet" href="../../../../../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../../../../../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../../../../../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../../../../../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../../../../../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../../../../../category/yeah.html">yeah</a></li>
|
||||||
|
<li class="active"><a href="../../../../../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../../../../../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../../../../../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title">
|
||||||
|
<a href="../../../../../posts/2012/février/29/second-article/" rel="bookmark"
|
||||||
|
title="Permalink to Second article">Second article</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2012-02-29T00:00:00">
|
||||||
|
Published: mer. 29 février 2012
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../../../../../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../../../../../category/misc.html">misc</a>. </p>
|
||||||
|
<p>tags: <a href="../../../../../tag/foo.html">foo</a> <a href="../../../../../tag/bar.html">bar</a> <a href="../../../../../tag/baz.html">baz</a> </p>Translations:
|
||||||
|
<a href="../../../../../second-article-fr.html">fr</a>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>This is some article, in english</p>
|
||||||
|
|
||||||
|
</div><!-- /.entry-content -->
|
||||||
|
<div class="comments">
|
||||||
|
<h2>Comments !</h2>
|
||||||
|
<div id="disqus_thread"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
var disqus_identifier = 'posts/2012/février/29/second-article/';
|
||||||
|
var disqus_url = '../../../../../posts/2012/février/29/second-article/';
|
||||||
|
(function() {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = '//blog-notmyidea.disqus.com/embed.js';
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the comments.</noscript>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,114 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>FILENAME_METADATA example</title>
|
||||||
|
<link rel="stylesheet" href="../../../../../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../../../../../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../../../../../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../../../../../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../../../../../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../../../../../category/yeah.html">yeah</a></li>
|
||||||
|
<li class="active"><a href="../../../../../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../../../../../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../../../../../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title">
|
||||||
|
<a href="../../../../../posts/2012/novembre/30/filename_metadata-example/" rel="bookmark"
|
||||||
|
title="Permalink to FILENAME_METADATA example">FILENAME_METADATA example</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2012-11-30T00:00:00">
|
||||||
|
Published: ven. 30 novembre 2012
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../../../../../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../../../../../category/misc.html">misc</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Some cool stuff!</p>
|
||||||
|
|
||||||
|
</div><!-- /.entry-content -->
|
||||||
|
<div class="comments">
|
||||||
|
<h2>Comments !</h2>
|
||||||
|
<div id="disqus_thread"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
var disqus_identifier = 'posts/2012/novembre/30/filename_metadata-example/';
|
||||||
|
var disqus_url = '../../../../../posts/2012/novembre/30/filename_metadata-example/';
|
||||||
|
(function() {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = '//blog-notmyidea.disqus.com/embed.js';
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the comments.</noscript>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
2
pelican/tests/output/custom_locale/robots.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
User-agent: *
|
||||||
|
Disallow: /pictures
|
||||||
116
pelican/tests/output/custom_locale/second-article-fr.html
Normal file
|
|
@ -0,0 +1,116 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Deuxième article</title>
|
||||||
|
<link rel="stylesheet" href="./theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="./">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="./tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="./override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="./category/yeah.html">yeah</a></li>
|
||||||
|
<li class="active"><a href="./category/misc.html">misc</a></li>
|
||||||
|
<li><a href="./category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="./category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title">
|
||||||
|
<a href="./second-article-fr.html" rel="bookmark"
|
||||||
|
title="Permalink to Deuxième article">Deuxième article</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2012-02-29T00:00:00">
|
||||||
|
Published: mer. 29 février 2012
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="./author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="./category/misc.html">misc</a>. </p>
|
||||||
|
<p>tags: <a href="./tag/foo.html">foo</a> <a href="./tag/bar.html">bar</a> <a href="./tag/baz.html">baz</a> </p>Translations:
|
||||||
|
<a href="./posts/2012/février/29/second-article/">en</a>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>Ceci est un article, en français.</p>
|
||||||
|
|
||||||
|
</div><!-- /.entry-content -->
|
||||||
|
<div class="comments">
|
||||||
|
<h2>Comments !</h2>
|
||||||
|
<div id="disqus_thread"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
var disqus_identifier = 'second-article-fr.html';
|
||||||
|
var disqus_url = './second-article-fr.html';
|
||||||
|
(function() {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = '//blog-notmyidea.disqus.com/embed.js';
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the comments.</noscript>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
160
pelican/tests/output/custom_locale/tag/bar.html
Normal file
|
|
@ -0,0 +1,160 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log - bar</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<aside id="featured" class="body">
|
||||||
|
<article>
|
||||||
|
<h1 class="entry-title"><a href="../posts/2012/février/29/second-article/">Second article</a></h1>
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2012-02-29T00:00:00">
|
||||||
|
Published: mer. 29 février 2012
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/misc.html">misc</a>. </p>
|
||||||
|
<p>tags: <a href="../tag/foo.html">foo</a> <a href="../tag/bar.html">bar</a> <a href="../tag/baz.html">baz</a> </p>Translations:
|
||||||
|
<a href="../second-article-fr.html">fr</a>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --><p>This is some article, in english</p>
|
||||||
|
<p>There are <a href="../posts/2012/février/29/second-article/#disqus_thread">comments</a>.</p> </article>
|
||||||
|
</aside><!-- /#featured -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<h1>Other articles</h1>
|
||||||
|
<hr />
|
||||||
|
<ol id="posts-list" class="hfeed">
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2010/décembre/02/this-is-a-super-article/" rel="bookmark"
|
||||||
|
title="Permalink to This is a super article !">This is a super article !</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-12-02T10:14:00">
|
||||||
|
Published: jeu. 02 décembre 2010
|
||||||
|
</abbr>
|
||||||
|
<br />
|
||||||
|
<abbr class="modified" title="2013-11-17T23:29:00">
|
||||||
|
Updated: dim. 17 novembre 2013
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/yeah.html">yeah</a>. </p>
|
||||||
|
<p>tags: <a href="../tag/foo.html">foo</a> <a href="../tag/bar.html">bar</a> <a href="../tag/foobar.html">foobar</a> </p>
|
||||||
|
</footer><!-- /.post-info --> <p class="first last">Multi-line metadata should be supported
|
||||||
|
as well as <strong>inline markup</strong>.</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="../posts/2010/décembre/02/this-is-a-super-article/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2010/décembre/02/this-is-a-super-article/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2010/octobre/20/oh-yeah/" rel="bookmark"
|
||||||
|
title="Permalink to Oh yeah !">Oh yeah !</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-10-20T10:14:00">
|
||||||
|
Published: mer. 20 octobre 2010
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/bar.html">bar</a>. </p>
|
||||||
|
<p>tags: <a href="../tag/oh.html">oh</a> <a href="../tag/bar.html">bar</a> <a href="../tag/yeah.html">yeah</a> </p>Translations:
|
||||||
|
<a href="../oh-yeah-fr.html">fr</a>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <div class="section" id="why-not">
|
||||||
|
<h2>Why not ?</h2>
|
||||||
|
<p>After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
|
||||||
|
YEAH !</p>
|
||||||
|
<img alt="alternate text" src="../pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a class="readmore" href="../posts/2010/octobre/20/oh-yeah/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2010/octobre/20/oh-yeah/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
</ol><!-- /#posts-list -->
|
||||||
|
<p class="paginator">
|
||||||
|
Page 1 / 1
|
||||||
|
</p>
|
||||||
|
</section><!-- /#content -->
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
114
pelican/tests/output/custom_locale/tag/baz.html
Normal file
|
|
@ -0,0 +1,114 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>The baz tag</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li class="active"><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title">
|
||||||
|
<a href="../tag/baz.html" rel="bookmark"
|
||||||
|
title="Permalink to The baz tag">The baz tag</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-03-14T00:00:00">
|
||||||
|
Published: dim. 14 mars 2010
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/misc.html">misc</a>. </p>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --> <p>This article overrides the listening of the articles under the <em>baz</em> tag.</p>
|
||||||
|
|
||||||
|
</div><!-- /.entry-content -->
|
||||||
|
<div class="comments">
|
||||||
|
<h2>Comments !</h2>
|
||||||
|
<div id="disqus_thread"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
var disqus_identifier = 'tag/baz.html';
|
||||||
|
var disqus_url = '../tag/baz.html';
|
||||||
|
(function() {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = '//blog-notmyidea.disqus.com/embed.js';
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the comments.</noscript>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
130
pelican/tests/output/custom_locale/tag/foo.html
Normal file
|
|
@ -0,0 +1,130 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log - foo</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<aside id="featured" class="body">
|
||||||
|
<article>
|
||||||
|
<h1 class="entry-title"><a href="../posts/2012/février/29/second-article/">Second article</a></h1>
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2012-02-29T00:00:00">
|
||||||
|
Published: mer. 29 février 2012
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/misc.html">misc</a>. </p>
|
||||||
|
<p>tags: <a href="../tag/foo.html">foo</a> <a href="../tag/bar.html">bar</a> <a href="../tag/baz.html">baz</a> </p>Translations:
|
||||||
|
<a href="../second-article-fr.html">fr</a>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --><p>This is some article, in english</p>
|
||||||
|
<p>There are <a href="../posts/2012/février/29/second-article/#disqus_thread">comments</a>.</p> </article>
|
||||||
|
</aside><!-- /#featured -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<h1>Other articles</h1>
|
||||||
|
<hr />
|
||||||
|
<ol id="posts-list" class="hfeed">
|
||||||
|
|
||||||
|
<li><article class="hentry">
|
||||||
|
<header>
|
||||||
|
<h1><a href="../posts/2010/décembre/02/this-is-a-super-article/" rel="bookmark"
|
||||||
|
title="Permalink to This is a super article !">This is a super article !</a></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="entry-content">
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-12-02T10:14:00">
|
||||||
|
Published: jeu. 02 décembre 2010
|
||||||
|
</abbr>
|
||||||
|
<br />
|
||||||
|
<abbr class="modified" title="2013-11-17T23:29:00">
|
||||||
|
Updated: dim. 17 novembre 2013
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/yeah.html">yeah</a>. </p>
|
||||||
|
<p>tags: <a href="../tag/foo.html">foo</a> <a href="../tag/bar.html">bar</a> <a href="../tag/foobar.html">foobar</a> </p>
|
||||||
|
</footer><!-- /.post-info --> <p class="first last">Multi-line metadata should be supported
|
||||||
|
as well as <strong>inline markup</strong>.</p>
|
||||||
|
|
||||||
|
<a class="readmore" href="../posts/2010/décembre/02/this-is-a-super-article/">read more</a>
|
||||||
|
<p>There are <a href="../posts/2010/décembre/02/this-is-a-super-article/#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
||||||
|
</article></li>
|
||||||
|
</ol><!-- /#posts-list -->
|
||||||
|
<p class="paginator">
|
||||||
|
Page 1 / 1
|
||||||
|
</p>
|
||||||
|
</section><!-- /#content -->
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
109
pelican/tests/output/custom_locale/tag/foobar.html
Normal file
|
|
@ -0,0 +1,109 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log - foobar</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<aside id="featured" class="body">
|
||||||
|
<article>
|
||||||
|
<h1 class="entry-title"><a href="../posts/2010/décembre/02/this-is-a-super-article/">This is a super article !</a></h1>
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-12-02T10:14:00">
|
||||||
|
Published: jeu. 02 décembre 2010
|
||||||
|
</abbr>
|
||||||
|
<br />
|
||||||
|
<abbr class="modified" title="2013-11-17T23:29:00">
|
||||||
|
Updated: dim. 17 novembre 2013
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/yeah.html">yeah</a>. </p>
|
||||||
|
<p>tags: <a href="../tag/foo.html">foo</a> <a href="../tag/bar.html">bar</a> <a href="../tag/foobar.html">foobar</a> </p>
|
||||||
|
</footer><!-- /.post-info --><p>Some content here !</p>
|
||||||
|
<div class="section" id="this-is-a-simple-title">
|
||||||
|
<h2>This is a simple title</h2>
|
||||||
|
<p>And here comes the cool <a class="reference external" href="http://books.couchdb.org/relax/design-documents/views">stuff</a>.</p>
|
||||||
|
<img alt="alternate text" src="../pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
<img alt="alternate text" src="../pictures/Sushi_Macro.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
<pre class="literal-block">
|
||||||
|
>>> from ipdb import set_trace
|
||||||
|
>>> set_trace()
|
||||||
|
</pre>
|
||||||
|
<p>→ And now try with some utf8 hell: ééé</p>
|
||||||
|
</div>
|
||||||
|
<p>There are <a href="../posts/2010/décembre/02/this-is-a-super-article/#disqus_thread">comments</a>.</p> </article>
|
||||||
|
<p class="paginator">
|
||||||
|
Page 1 / 1
|
||||||
|
</p>
|
||||||
|
</aside><!-- /#featured -->
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
80
pelican/tests/output/custom_locale/tag/oh.html
Normal file
|
|
@ -0,0 +1,80 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Oh Oh Oh</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li class="active"><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
<section id="content" class="body">
|
||||||
|
<h1 class="entry-title">Oh Oh Oh</h1>
|
||||||
|
|
||||||
|
<p>This page overrides the listening of the articles under the <em>oh</em> tag.</p>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
101
pelican/tests/output/custom_locale/tag/yeah.html
Normal file
|
|
@ -0,0 +1,101 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log - yeah</title>
|
||||||
|
<link rel="stylesheet" href="../theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="../">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="../tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="../override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="../category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="../category/misc.html">misc</a></li>
|
||||||
|
<li><a href="../category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="../category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<aside id="featured" class="body">
|
||||||
|
<article>
|
||||||
|
<h1 class="entry-title"><a href="../posts/2010/octobre/20/oh-yeah/">Oh yeah !</a></h1>
|
||||||
|
<footer class="post-info">
|
||||||
|
<abbr class="published" title="2010-10-20T10:14:00">
|
||||||
|
Published: mer. 20 octobre 2010
|
||||||
|
</abbr>
|
||||||
|
|
||||||
|
<address class="vcard author">
|
||||||
|
By <a class="url fn" href="../author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||||
|
</address>
|
||||||
|
<p>In <a href="../category/bar.html">bar</a>. </p>
|
||||||
|
<p>tags: <a href="../tag/oh.html">oh</a> <a href="../tag/bar.html">bar</a> <a href="../tag/yeah.html">yeah</a> </p>Translations:
|
||||||
|
<a href="../oh-yeah-fr.html">fr</a>
|
||||||
|
|
||||||
|
</footer><!-- /.post-info --><div class="section" id="why-not">
|
||||||
|
<h2>Why not ?</h2>
|
||||||
|
<p>After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
|
||||||
|
YEAH !</p>
|
||||||
|
<img alt="alternate text" src="../pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||||
|
</div>
|
||||||
|
<p>There are <a href="../posts/2010/octobre/20/oh-yeah/#disqus_thread">comments</a>.</p> </article>
|
||||||
|
<p class="paginator">
|
||||||
|
Page 1 / 1
|
||||||
|
</p>
|
||||||
|
</aside><!-- /#featured -->
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
87
pelican/tests/output/custom_locale/tags.html
Normal file
|
|
@ -0,0 +1,87 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Alexis' log - Tags</title>
|
||||||
|
<link rel="stylesheet" href="./theme/css/main.css" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||||
|
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="index" class="home">
|
||||||
|
<a href="http://github.com/ametaireau/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
||||||
|
</a>
|
||||||
|
<header id="banner" class="body">
|
||||||
|
<h1><a href="./">Alexis' log </a></h1>
|
||||||
|
<nav><ul>
|
||||||
|
<li><a href="./tag/oh.html">Oh Oh Oh</a></li>
|
||||||
|
<li><a href="./override/">Override url/save_as</a></li>
|
||||||
|
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||||
|
<li><a href="./category/yeah.html">yeah</a></li>
|
||||||
|
<li><a href="./category/misc.html">misc</a></li>
|
||||||
|
<li><a href="./category/cat1.html">cat1</a></li>
|
||||||
|
<li><a href="./category/bar.html">bar</a></li>
|
||||||
|
</ul></nav>
|
||||||
|
</header><!-- /#banner -->
|
||||||
|
|
||||||
|
<section id="content" class="body">
|
||||||
|
<h1>Tags for Alexis' log</h1>
|
||||||
|
<ul>
|
||||||
|
<li><a href="./tag/bar.html">bar</a> (3)</li>
|
||||||
|
<li><a href="./tag/baz.html">baz</a> (1)</li>
|
||||||
|
<li><a href="./tag/foo.html">foo</a> (2)</li>
|
||||||
|
<li><a href="./tag/foobar.html">foobar</a> (1)</li>
|
||||||
|
<li><a href="./tag/oh.html">oh</a> (1)</li>
|
||||||
|
<li><a href="./tag/yeah.html">yeah</a> (1)</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="extras" class="body">
|
||||||
|
<div class="blogroll">
|
||||||
|
<h2>blogroll</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||||
|
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||||
|
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||||
|
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||||
|
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||||
|
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.blogroll -->
|
||||||
|
<div class="social">
|
||||||
|
<h2>social</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||||
|
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||||
|
|
||||||
|
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||||
|
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||||
|
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.social -->
|
||||||
|
</section><!-- /#extras -->
|
||||||
|
|
||||||
|
<footer id="contentinfo" class="body">
|
||||||
|
<address id="about" class="vcard body">
|
||||||
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
||||||
|
</address><!-- /#about -->
|
||||||
|
|
||||||
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||||
|
</footer><!-- /#contentinfo -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var disqus_shortname = 'blog-notmyidea';
|
||||||
|
(function () {
|
||||||
|
var s = document.createElement('script'); s.async = true;
|
||||||
|
s.type = 'text/javascript';
|
||||||
|
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
||||||
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
451
pelican/tests/output/custom_locale/theme/css/main.css
Normal file
|
|
@ -0,0 +1,451 @@
|
||||||
|
/*
|
||||||
|
Name: Smashing HTML5
|
||||||
|
Date: July 2009
|
||||||
|
Description: Sample layout for HTML5 and CSS3 goodness.
|
||||||
|
Version: 1.0
|
||||||
|
License: MIT <http://opensource.org/licenses/MIT>
|
||||||
|
Licensed by: Smashing Media GmbH <http://www.smashingmagazine.com/>
|
||||||
|
Original author: Enrique Ramírez <http://enrique-ramirez.com/>
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Imports */
|
||||||
|
@import url("reset.css");
|
||||||
|
@import url("pygment.css");
|
||||||
|
@import url("typogrify.css");
|
||||||
|
@import url(//fonts.googleapis.com/css?family=Yanone+Kaffeesatz&subset=latin);
|
||||||
|
|
||||||
|
/***** Global *****/
|
||||||
|
/* Body */
|
||||||
|
body {
|
||||||
|
background: #F5F4EF;
|
||||||
|
color: #000305;
|
||||||
|
font-size: 87.5%; /* Base font size: 14px */
|
||||||
|
font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
||||||
|
line-height: 1.429;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Headings */
|
||||||
|
h1 {font-size: 2em }
|
||||||
|
h2 {font-size: 1.571em} /* 22px */
|
||||||
|
h3 {font-size: 1.429em} /* 20px */
|
||||||
|
h4 {font-size: 1.286em} /* 18px */
|
||||||
|
h5 {font-size: 1.143em} /* 16px */
|
||||||
|
h6 {font-size: 1em} /* 14px */
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 1.1;
|
||||||
|
margin-bottom: .8em;
|
||||||
|
font-family: 'Yanone Kaffeesatz', arial, serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3, h4, h5, h6 { margin-top: .8em; }
|
||||||
|
|
||||||
|
hr { border: 2px solid #EEEEEE; }
|
||||||
|
|
||||||
|
/* Anchors */
|
||||||
|
a {outline: 0;}
|
||||||
|
a img {border: 0px; text-decoration: none;}
|
||||||
|
a:link, a:visited {
|
||||||
|
color: #C74350;
|
||||||
|
padding: 0 1px;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
a:hover, a:active {
|
||||||
|
background-color: #C74350;
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
text-shadow: 1px 1px 1px #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 a:hover {
|
||||||
|
background-color: inherit
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Paragraphs */
|
||||||
|
div.line-block,
|
||||||
|
p { margin-top: 1em;
|
||||||
|
margin-bottom: 1em;}
|
||||||
|
|
||||||
|
strong, b {font-weight: bold;}
|
||||||
|
em, i {font-style: italic;}
|
||||||
|
|
||||||
|
/* Lists */
|
||||||
|
ul {
|
||||||
|
list-style: outside disc;
|
||||||
|
margin: 0em 0 0 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
ol {
|
||||||
|
list-style: outside decimal;
|
||||||
|
margin: 0em 0 0 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
li { margin-top: 0.5em;}
|
||||||
|
|
||||||
|
.post-info {
|
||||||
|
float:right;
|
||||||
|
margin:10px;
|
||||||
|
padding:5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-info p{
|
||||||
|
margin-top: 1px;
|
||||||
|
margin-bottom: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.readmore { float: right }
|
||||||
|
|
||||||
|
dl {margin: 0 0 1.5em 0;}
|
||||||
|
dt {font-weight: bold;}
|
||||||
|
dd {margin-left: 1.5em;}
|
||||||
|
|
||||||
|
pre{background-color: rgb(238, 238, 238); padding: 10px; margin: 10px; overflow: auto;}
|
||||||
|
|
||||||
|
/* Quotes */
|
||||||
|
blockquote {
|
||||||
|
margin: 20px;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
cite {}
|
||||||
|
|
||||||
|
q {}
|
||||||
|
|
||||||
|
div.note {
|
||||||
|
float: right;
|
||||||
|
margin: 5px;
|
||||||
|
font-size: 85%;
|
||||||
|
max-width: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tables */
|
||||||
|
table {margin: .5em auto 1.5em auto; width: 98%;}
|
||||||
|
|
||||||
|
/* Thead */
|
||||||
|
thead th {padding: .5em .4em; text-align: left;}
|
||||||
|
thead td {}
|
||||||
|
|
||||||
|
/* Tbody */
|
||||||
|
tbody td {padding: .5em .4em;}
|
||||||
|
tbody th {}
|
||||||
|
|
||||||
|
tbody .alt td {}
|
||||||
|
tbody .alt th {}
|
||||||
|
|
||||||
|
/* Tfoot */
|
||||||
|
tfoot th {}
|
||||||
|
tfoot td {}
|
||||||
|
|
||||||
|
/* HTML5 tags */
|
||||||
|
header, section, footer,
|
||||||
|
aside, nav, article, figure {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***** Layout *****/
|
||||||
|
.body {clear: both; margin: 0 auto; width: 800px;}
|
||||||
|
img.right, figure.right {float: right; margin: 0 0 2em 2em;}
|
||||||
|
img.left, figure.left {float: left; margin: 0 2em 2em 0;}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Header
|
||||||
|
*****************/
|
||||||
|
#banner {
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 2.5em 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Banner */
|
||||||
|
#banner h1 {font-size: 3.571em; line-height: 0;}
|
||||||
|
#banner h1 a:link, #banner h1 a:visited {
|
||||||
|
color: #000305;
|
||||||
|
display: block;
|
||||||
|
font-weight: bold;
|
||||||
|
margin: 0 0 .6em .2em;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
#banner h1 a:hover, #banner h1 a:active {
|
||||||
|
background: none;
|
||||||
|
color: #C74350;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#banner h1 strong {font-size: 0.36em; font-weight: normal;}
|
||||||
|
|
||||||
|
/* Main Nav */
|
||||||
|
#banner nav {
|
||||||
|
background: #000305;
|
||||||
|
font-size: 1.143em;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 30px;
|
||||||
|
margin: 0 auto 2em auto;
|
||||||
|
padding: 0;
|
||||||
|
text-align: center;
|
||||||
|
width: 800px;
|
||||||
|
|
||||||
|
border-radius: 5px;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#banner nav ul {list-style: none; margin: 0 auto; width: 800px;}
|
||||||
|
#banner nav li {float: left; display: inline; margin: 0;}
|
||||||
|
|
||||||
|
#banner nav a:link, #banner nav a:visited {
|
||||||
|
color: #fff;
|
||||||
|
display: inline-block;
|
||||||
|
height: 30px;
|
||||||
|
padding: 5px 1.5em;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
#banner nav a:hover, #banner nav a:active,
|
||||||
|
#banner nav .active a:link, #banner nav .active a:visited {
|
||||||
|
background: #C74451;
|
||||||
|
color: #fff;
|
||||||
|
text-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#banner nav li:first-child a {
|
||||||
|
border-top-left-radius: 5px;
|
||||||
|
-moz-border-radius-topleft: 5px;
|
||||||
|
-webkit-border-top-left-radius: 5px;
|
||||||
|
|
||||||
|
border-bottom-left-radius: 5px;
|
||||||
|
-moz-border-radius-bottomleft: 5px;
|
||||||
|
-webkit-border-bottom-left-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Featured
|
||||||
|
*****************/
|
||||||
|
#featured {
|
||||||
|
background: #fff;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 20px;
|
||||||
|
width: 760px;
|
||||||
|
|
||||||
|
border-radius: 10px;
|
||||||
|
-moz-border-radius: 10px;
|
||||||
|
-webkit-border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#featured figure {
|
||||||
|
border: 2px solid #eee;
|
||||||
|
float: right;
|
||||||
|
margin: 0.786em 2em 0 5em;
|
||||||
|
width: 248px;
|
||||||
|
}
|
||||||
|
#featured figure img {display: block; float: right;}
|
||||||
|
|
||||||
|
#featured h2 {color: #C74451; font-size: 1.714em; margin-bottom: 0.333em;}
|
||||||
|
#featured h3 {font-size: 1.429em; margin-bottom: .5em;}
|
||||||
|
|
||||||
|
#featured h3 a:link, #featured h3 a:visited {color: #000305; text-decoration: none;}
|
||||||
|
#featured h3 a:hover, #featured h3 a:active {color: #fff;}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Body
|
||||||
|
*****************/
|
||||||
|
#content {
|
||||||
|
background: #fff;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 20px 20px;
|
||||||
|
width: 760px;
|
||||||
|
|
||||||
|
border-radius: 10px;
|
||||||
|
-moz-border-radius: 10px;
|
||||||
|
-webkit-border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Extras
|
||||||
|
*****************/
|
||||||
|
#extras {margin: 0 auto 3em auto; overflow: hidden;}
|
||||||
|
|
||||||
|
#extras ul {list-style: none; margin: 0;}
|
||||||
|
#extras li {border-bottom: 1px solid #fff;}
|
||||||
|
#extras h2 {
|
||||||
|
color: #C74350;
|
||||||
|
font-size: 1.429em;
|
||||||
|
margin-bottom: .25em;
|
||||||
|
padding: 0 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#extras a:link, #extras a:visited {
|
||||||
|
color: #444;
|
||||||
|
display: block;
|
||||||
|
border-bottom: 1px solid #F4E3E3;
|
||||||
|
text-decoration: none;
|
||||||
|
padding: .3em .25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#extras a:hover, #extras a:active {color: #fff;}
|
||||||
|
|
||||||
|
/* Blogroll */
|
||||||
|
#extras .blogroll {
|
||||||
|
float: left;
|
||||||
|
width: 615px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#extras .blogroll li {float: left; margin: 0 20px 0 0; width: 185px;}
|
||||||
|
|
||||||
|
/* Social */
|
||||||
|
#extras .social {
|
||||||
|
float: right;
|
||||||
|
width: 175px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#extras div[class='social'] a {
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: 3px 6px;
|
||||||
|
padding-left: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Icons */
|
||||||
|
.social a[href*='about.me'] {background-image: url('../images/icons/aboutme.png');}
|
||||||
|
.social a[href*='bitbucket.org'] {background-image: url('../images/icons/bitbucket.png');}
|
||||||
|
.social a[href*='delicious.com'] {background-image: url('../images/icons/delicious.png');}
|
||||||
|
.social a[href*='digg.com'] {background-image: url('../images/icons/digg.png');}
|
||||||
|
.social a[href*='facebook.com'] {background-image: url('../images/icons/facebook.png');}
|
||||||
|
.social a[href*='gitorious.org'] {background-image: url('../images/icons/gitorious.png');}
|
||||||
|
.social a[href*='github.com'],
|
||||||
|
.social a[href*='git.io'] {
|
||||||
|
background-image: url('../images/icons/github.png');
|
||||||
|
background-size: 16px 16px;
|
||||||
|
}
|
||||||
|
.social a[href*='gittip.com'] {background-image: url('../images/icons/gittip.png');}
|
||||||
|
.social a[href*='plus.google.com'] {background-image: url('../images/icons/google-plus.png');}
|
||||||
|
.social a[href*='groups.google.com'] {background-image: url('../images/icons/google-groups.png');}
|
||||||
|
.social a[href*='news.ycombinator.com'],
|
||||||
|
.social a[href*='hackernewsers.com'] {background-image: url('../images/icons/hackernews.png');}
|
||||||
|
.social a[href*='last.fm'], .social a[href*='lastfm.'] {background-image: url('../images/icons/lastfm.png');}
|
||||||
|
.social a[href*='linkedin.com'] {background-image: url('../images/icons/linkedin.png');}
|
||||||
|
.social a[href*='reddit.com'] {background-image: url('../images/icons/reddit.png');}
|
||||||
|
.social a[type$='atom+xml'], .social a[type$='rss+xml'] {background-image: url('../images/icons/rss.png');}
|
||||||
|
.social a[href*='slideshare.net'] {background-image: url('../images/icons/slideshare.png');}
|
||||||
|
.social a[href*='speakerdeck.com'] {background-image: url('../images/icons/speakerdeck.png');}
|
||||||
|
.social a[href*='stackoverflow.com'] {background-image: url('../images/icons/stackoverflow.png');}
|
||||||
|
.social a[href*='twitter.com'] {background-image: url('../images/icons/twitter.png');}
|
||||||
|
.social a[href*='vimeo.com'] {background-image: url('../images/icons/vimeo.png');}
|
||||||
|
.social a[href*='youtube.com'] {background-image: url('../images/icons/youtube.png');}
|
||||||
|
|
||||||
|
/*
|
||||||
|
About
|
||||||
|
*****************/
|
||||||
|
#about {
|
||||||
|
background: #fff;
|
||||||
|
font-style: normal;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 20px;
|
||||||
|
text-align: left;
|
||||||
|
width: 760px;
|
||||||
|
|
||||||
|
border-radius: 10px;
|
||||||
|
-moz-border-radius: 10px;
|
||||||
|
-webkit-border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#about .primary {float: left; width: 165px;}
|
||||||
|
#about .primary strong {color: #C64350; display: block; font-size: 1.286em;}
|
||||||
|
#about .photo {float: left; margin: 5px 20px;}
|
||||||
|
|
||||||
|
#about .url:link, #about .url:visited {text-decoration: none;}
|
||||||
|
|
||||||
|
#about .bio {float: right; width: 500px;}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Footer
|
||||||
|
*****************/
|
||||||
|
#contentinfo {padding-bottom: 2em; text-align: right;}
|
||||||
|
|
||||||
|
/***** Sections *****/
|
||||||
|
/* Blog */
|
||||||
|
.hentry {
|
||||||
|
display: block;
|
||||||
|
clear: both;
|
||||||
|
border-bottom: 1px solid #eee;
|
||||||
|
padding: 1.5em 0;
|
||||||
|
}
|
||||||
|
li:last-child .hentry, #content > .hentry {border: 0; margin: 0;}
|
||||||
|
#content > .hentry {padding: 1em 0;}
|
||||||
|
.hentry img{display : none ;}
|
||||||
|
.entry-title {font-size: 3em; margin-bottom: 10px; margin-top: 0;}
|
||||||
|
.entry-title a:link, .entry-title a:visited {text-decoration: none; color: #333;}
|
||||||
|
.entry-title a:visited {background-color: #fff;}
|
||||||
|
|
||||||
|
.hentry .post-info * {font-style: normal;}
|
||||||
|
|
||||||
|
/* Content */
|
||||||
|
.hentry footer {margin-bottom: 2em;}
|
||||||
|
.hentry footer address {display: inline;}
|
||||||
|
#posts-list footer address {display: block;}
|
||||||
|
|
||||||
|
/* Blog Index */
|
||||||
|
#posts-list {list-style: none; margin: 0;}
|
||||||
|
#posts-list .hentry {padding-left: 10px; position: relative;}
|
||||||
|
|
||||||
|
#posts-list footer {
|
||||||
|
left: 10px;
|
||||||
|
position: relative;
|
||||||
|
float: left;
|
||||||
|
top: 0.5em;
|
||||||
|
width: 190px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* About the Author */
|
||||||
|
#about-author {
|
||||||
|
background: #f9f9f9;
|
||||||
|
clear: both;
|
||||||
|
font-style: normal;
|
||||||
|
margin: 2em 0;
|
||||||
|
padding: 10px 20px 15px 20px;
|
||||||
|
|
||||||
|
border-radius: 5px;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#about-author strong {
|
||||||
|
color: #C64350;
|
||||||
|
clear: both;
|
||||||
|
display: block;
|
||||||
|
font-size: 1.429em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#about-author .photo {border: 1px solid #ddd; float: left; margin: 5px 1em 0 0;}
|
||||||
|
|
||||||
|
/* Comments */
|
||||||
|
#comments-list {list-style: none; margin: 0 1em;}
|
||||||
|
#comments-list blockquote {
|
||||||
|
background: #f8f8f8;
|
||||||
|
clear: both;
|
||||||
|
font-style: normal;
|
||||||
|
margin: 0;
|
||||||
|
padding: 15px 20px;
|
||||||
|
|
||||||
|
border-radius: 5px;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
}
|
||||||
|
#comments-list footer {color: #888; padding: .5em 1em 0 0; text-align: right;}
|
||||||
|
|
||||||
|
#comments-list li:nth-child(2n) blockquote {background: #F5f5f5;}
|
||||||
|
|
||||||
|
/* Add a Comment */
|
||||||
|
#add-comment label {clear: left; float: left; text-align: left; width: 150px;}
|
||||||
|
#add-comment input[type='text'],
|
||||||
|
#add-comment input[type='email'],
|
||||||
|
#add-comment input[type='url'] {float: left; width: 200px;}
|
||||||
|
|
||||||
|
#add-comment textarea {float: left; height: 150px; width: 495px;}
|
||||||
|
|
||||||
|
#add-comment p.req {clear: both; margin: 0 .5em 1em 0; text-align: right;}
|
||||||
|
|
||||||
|
#add-comment input[type='submit'] {float: right; margin: 0 .5em;}
|
||||||
|
#add-comment * {margin-bottom: .5em;}
|
||||||
205
pelican/tests/output/custom_locale/theme/css/pygment.css
Normal file
|
|
@ -0,0 +1,205 @@
|
||||||
|
.hll {
|
||||||
|
background-color:#eee;
|
||||||
|
}
|
||||||
|
.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:#06287E;
|
||||||
|
}
|
||||||
|
.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;
|
||||||
|
}
|
||||||
52
pelican/tests/output/custom_locale/theme/css/reset.css
Normal file
|
|
@ -0,0 +1,52 @@
|
||||||
|
/*
|
||||||
|
Name: Reset Stylesheet
|
||||||
|
Description: Resets browser's default CSS
|
||||||
|
Author: Eric Meyer
|
||||||
|
Author URI: http://meyerweb.com/eric/tools/css/reset/
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* v1.0 | 20080212 */
|
||||||
|
html, body, div, span, applet, object, iframe,
|
||||||
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||||
|
a, abbr, acronym, address, big, cite, code,
|
||||||
|
del, dfn, em, font, img, ins, kbd, q, s, samp,
|
||||||
|
small, strike, strong, sub, sup, tt, var,
|
||||||
|
b, u, i, center,
|
||||||
|
dl, dt, dd, ol, ul, li,
|
||||||
|
fieldset, form, label, legend,
|
||||||
|
table, caption, tbody, tfoot, thead, tr, th, td {
|
||||||
|
background: transparent;
|
||||||
|
border: 0;
|
||||||
|
font-size: 100%;
|
||||||
|
margin: 0;
|
||||||
|
outline: 0;
|
||||||
|
padding: 0;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {line-height: 1;}
|
||||||
|
|
||||||
|
ol, ul {list-style: none;}
|
||||||
|
|
||||||
|
blockquote, q {quotes: none;}
|
||||||
|
|
||||||
|
blockquote:before, blockquote:after,
|
||||||
|
q:before, q:after {
|
||||||
|
content: '';
|
||||||
|
content: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* remember to define focus styles! */
|
||||||
|
:focus {
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* remember to highlight inserts somehow! */
|
||||||
|
ins {text-decoration: none;}
|
||||||
|
del {text-decoration: line-through;}
|
||||||
|
|
||||||
|
/* tables still need 'cellspacing="0"' in the markup */
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
.caps {font-size:.92em;}
|
||||||
|
.amp {color:#666; font-size:1.05em;font-family:"Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua",serif; font-style:italic;}
|
||||||
|
.dquo {margin-left:-.38em;}
|
||||||
48
pelican/tests/output/custom_locale/theme/css/wide.css
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
@import url("main.css");
|
||||||
|
|
||||||
|
body {
|
||||||
|
font:1.3em/1.3 "Hoefler Text","Georgia",Georgia,serif,sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-info{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#banner nav {
|
||||||
|
display: none;
|
||||||
|
-moz-border-radius: 0px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
overflow: hidden;
|
||||||
|
font-size: 1em;
|
||||||
|
background: #F5F4EF;
|
||||||
|
}
|
||||||
|
|
||||||
|
#banner nav ul{
|
||||||
|
padding-right: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#banner nav li{
|
||||||
|
float: right;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#banner nav li a {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#banner h1 {
|
||||||
|
margin-bottom: -18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#featured, #extras {
|
||||||
|
padding: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#featured {
|
||||||
|
padding-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#extras {
|
||||||
|
padding-top: 0px;
|
||||||
|
padding-bottom: 0px;
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 751 B |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 958 B |
|
After Width: | Height: | Size: 202 B |
BIN
pelican/tests/output/custom_locale/theme/images/icons/github.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 227 B |
BIN
pelican/tests/output/custom_locale/theme/images/icons/gittip.png
Normal file
|
After Width: | Height: | Size: 487 B |
|
After Width: | Height: | Size: 803 B |
|
After Width: | Height: | Size: 527 B |
|
After Width: | Height: | Size: 3.2 KiB |
BIN
pelican/tests/output/custom_locale/theme/images/icons/lastfm.png
Normal file
|
After Width: | Height: | Size: 975 B |
|
After Width: | Height: | Size: 896 B |
BIN
pelican/tests/output/custom_locale/theme/images/icons/reddit.png
Normal file
|
After Width: | Height: | Size: 693 B |
BIN
pelican/tests/output/custom_locale/theme/images/icons/rss.png
Normal file
|
After Width: | Height: | Size: 879 B |
|
After Width: | Height: | Size: 535 B |
|
After Width: | Height: | Size: 1 KiB |
|
After Width: | Height: | Size: 916 B |
|
After Width: | Height: | Size: 830 B |
BIN
pelican/tests/output/custom_locale/theme/images/icons/vimeo.png
Normal file
|
After Width: | Height: | Size: 544 B |
|
After Width: | Height: | Size: 458 B |
|
|
@ -2,7 +2,6 @@
|
||||||
from __future__ import unicode_literals, absolute_import
|
from __future__ import unicode_literals, absolute_import
|
||||||
|
|
||||||
import six
|
import six
|
||||||
from datetime import datetime
|
|
||||||
from sys import platform
|
from sys import platform
|
||||||
import locale
|
import locale
|
||||||
|
|
||||||
|
|
@ -10,7 +9,7 @@ from pelican.tests.support import unittest, get_settings
|
||||||
|
|
||||||
from pelican.contents import Page, Article, URLWrapper
|
from pelican.contents import Page, Article, URLWrapper
|
||||||
from pelican.settings import DEFAULT_CONFIG
|
from pelican.settings import DEFAULT_CONFIG
|
||||||
from pelican.utils import truncate_html_words
|
from pelican.utils import truncate_html_words, SafeDatetime
|
||||||
from pelican.signals import content_object_init
|
from pelican.signals import content_object_init
|
||||||
from jinja2.utils import generate_lorem_ipsum
|
from jinja2.utils import generate_lorem_ipsum
|
||||||
|
|
||||||
|
|
@ -127,7 +126,7 @@ class TestPage(unittest.TestCase):
|
||||||
|
|
||||||
def test_datetime(self):
|
def test_datetime(self):
|
||||||
# If DATETIME is set to a tuple, it should be used to override LOCALE
|
# If DATETIME is set to a tuple, it should be used to override LOCALE
|
||||||
dt = datetime(2015, 9, 13)
|
dt = SafeDatetime(2015, 9, 13)
|
||||||
|
|
||||||
page_kwargs = self._copy_page_kwargs()
|
page_kwargs = self._copy_page_kwargs()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
from __future__ import unicode_literals, print_function
|
from __future__ import unicode_literals, print_function
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
from tempfile import mkdtemp
|
from tempfile import mkdtemp
|
||||||
from shutil import rmtree
|
from shutil import rmtree
|
||||||
import locale
|
import locale
|
||||||
|
|
@ -10,7 +11,7 @@ import subprocess
|
||||||
|
|
||||||
from pelican import Pelican
|
from pelican import Pelican
|
||||||
from pelican.settings import read_settings
|
from pelican.settings import read_settings
|
||||||
from pelican.tests.support import LoggedTestCase, mute
|
from pelican.tests.support import LoggedTestCase, mute, locale_available, unittest
|
||||||
|
|
||||||
CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))
|
CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
SAMPLES_PATH = os.path.abspath(os.path.join(
|
SAMPLES_PATH = os.path.abspath(os.path.join(
|
||||||
|
|
@ -19,6 +20,7 @@ OUTPUT_PATH = os.path.abspath(os.path.join(CURRENT_DIR, 'output'))
|
||||||
|
|
||||||
INPUT_PATH = os.path.join(SAMPLES_PATH, "content")
|
INPUT_PATH = os.path.join(SAMPLES_PATH, "content")
|
||||||
SAMPLE_CONFIG = os.path.join(SAMPLES_PATH, "pelican.conf.py")
|
SAMPLE_CONFIG = os.path.join(SAMPLES_PATH, "pelican.conf.py")
|
||||||
|
SAMPLE_FR_CONFIG = os.path.join(SAMPLES_PATH, "pelican_FR.conf.py")
|
||||||
|
|
||||||
|
|
||||||
def recursiveDiff(dcmp):
|
def recursiveDiff(dcmp):
|
||||||
|
|
@ -102,6 +104,27 @@ class TestPelican(LoggedTestCase):
|
||||||
mute(True)(pelican.run)()
|
mute(True)(pelican.run)()
|
||||||
self.assertDirsEqual(self.temp_path, os.path.join(OUTPUT_PATH, 'custom'))
|
self.assertDirsEqual(self.temp_path, os.path.join(OUTPUT_PATH, 'custom'))
|
||||||
|
|
||||||
|
@unittest.skipUnless(locale_available('fr_FR.UTF-8') or
|
||||||
|
locale_available('French'), 'French locale needed')
|
||||||
|
def test_custom_locale_generation_works(self):
|
||||||
|
'''Test that generation with fr_FR.UTF-8 locale works'''
|
||||||
|
old_locale = locale.setlocale(locale.LC_TIME)
|
||||||
|
|
||||||
|
if sys.platform == 'win32':
|
||||||
|
our_locale = str('French')
|
||||||
|
else:
|
||||||
|
our_locale = str('fr_FR.UTF-8')
|
||||||
|
|
||||||
|
settings = read_settings(path=SAMPLE_FR_CONFIG, override={
|
||||||
|
'PATH': INPUT_PATH,
|
||||||
|
'OUTPUT_PATH': self.temp_path,
|
||||||
|
'CACHE_PATH': self.temp_cache,
|
||||||
|
'LOCALE': our_locale,
|
||||||
|
})
|
||||||
|
pelican = Pelican(settings=settings)
|
||||||
|
mute(True)(pelican.run)()
|
||||||
|
self.assertDirsEqual(self.temp_path, os.path.join(OUTPUT_PATH, 'custom_locale'))
|
||||||
|
|
||||||
def test_theme_static_paths_copy(self):
|
def test_theme_static_paths_copy(self):
|
||||||
# the same thing with a specified set of settings should work
|
# the same thing with a specified set of settings should work
|
||||||
settings = read_settings(path=SAMPLE_CONFIG, override={
|
settings = read_settings(path=SAMPLE_CONFIG, override={
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from __future__ import unicode_literals, print_function
|
from __future__ import unicode_literals, print_function
|
||||||
|
|
||||||
import datetime
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from pelican import readers
|
from pelican import readers
|
||||||
|
from pelican.utils import SafeDatetime
|
||||||
from pelican.tests.support import unittest, get_settings
|
from pelican.tests.support import unittest, get_settings
|
||||||
|
|
||||||
CUR_DIR = os.path.dirname(__file__)
|
CUR_DIR = os.path.dirname(__file__)
|
||||||
|
|
@ -42,8 +42,8 @@ class RstReaderTest(ReaderTest):
|
||||||
' supported\nas well as <strong>inline'
|
' supported\nas well as <strong>inline'
|
||||||
' markup</strong> and stuff to "typogrify'
|
' markup</strong> and stuff to "typogrify'
|
||||||
'"...</p>\n',
|
'"...</p>\n',
|
||||||
'date': datetime.datetime(2010, 12, 2, 10, 14),
|
'date': SafeDatetime(2010, 12, 2, 10, 14),
|
||||||
'modified': datetime.datetime(2010, 12, 2, 10, 20),
|
'modified': SafeDatetime(2010, 12, 2, 10, 20),
|
||||||
'tags': ['foo', 'bar', 'foobar'],
|
'tags': ['foo', 'bar', 'foobar'],
|
||||||
'custom_field': 'http://notmyidea.org',
|
'custom_field': 'http://notmyidea.org',
|
||||||
}
|
}
|
||||||
|
|
@ -70,7 +70,7 @@ class RstReaderTest(ReaderTest):
|
||||||
'category': 'yeah',
|
'category': 'yeah',
|
||||||
'author': 'Alexis Métaireau',
|
'author': 'Alexis Métaireau',
|
||||||
'title': 'Rst with filename metadata',
|
'title': 'Rst with filename metadata',
|
||||||
'date': datetime.datetime(2012, 11, 29),
|
'date': SafeDatetime(2012, 11, 29),
|
||||||
}
|
}
|
||||||
for key, value in page.metadata.items():
|
for key, value in page.metadata.items():
|
||||||
self.assertEqual(value, expected[key], key)
|
self.assertEqual(value, expected[key], key)
|
||||||
|
|
@ -85,7 +85,7 @@ class RstReaderTest(ReaderTest):
|
||||||
'category': 'yeah',
|
'category': 'yeah',
|
||||||
'author': 'Alexis Métaireau',
|
'author': 'Alexis Métaireau',
|
||||||
'title': 'Rst with filename metadata',
|
'title': 'Rst with filename metadata',
|
||||||
'date': datetime.datetime(2012, 11, 29),
|
'date': SafeDatetime(2012, 11, 29),
|
||||||
'slug': 'article_with_filename_metadata',
|
'slug': 'article_with_filename_metadata',
|
||||||
'mymeta': 'foo',
|
'mymeta': 'foo',
|
||||||
}
|
}
|
||||||
|
|
@ -171,8 +171,8 @@ class MdReaderTest(ReaderTest):
|
||||||
'category': 'test',
|
'category': 'test',
|
||||||
'title': 'Test md File',
|
'title': 'Test md File',
|
||||||
'summary': '<p>I have a lot to test</p>',
|
'summary': '<p>I have a lot to test</p>',
|
||||||
'date': datetime.datetime(2010, 12, 2, 10, 14),
|
'date': SafeDatetime(2010, 12, 2, 10, 14),
|
||||||
'modified': datetime.datetime(2010, 12, 2, 10, 20),
|
'modified': SafeDatetime(2010, 12, 2, 10, 20),
|
||||||
'tags': ['foo', 'bar', 'foobar'],
|
'tags': ['foo', 'bar', 'foobar'],
|
||||||
}
|
}
|
||||||
for key, value in metadata.items():
|
for key, value in metadata.items():
|
||||||
|
|
@ -184,8 +184,8 @@ class MdReaderTest(ReaderTest):
|
||||||
'title': 'マックOS X 10.8でパイソンとVirtualenvをインストールと設定',
|
'title': 'マックOS X 10.8でパイソンとVirtualenvをインストールと設定',
|
||||||
'summary': '<p>パイソンとVirtualenvをまっくでインストールする方法について明確に説明します。</p>',
|
'summary': '<p>パイソンとVirtualenvをまっくでインストールする方法について明確に説明します。</p>',
|
||||||
'category': '指導書',
|
'category': '指導書',
|
||||||
'date': datetime.datetime(2012, 12, 20),
|
'date': SafeDatetime(2012, 12, 20),
|
||||||
'modified': datetime.datetime(2012, 12, 22),
|
'modified': SafeDatetime(2012, 12, 22),
|
||||||
'tags': ['パイソン', 'マック'],
|
'tags': ['パイソン', 'マック'],
|
||||||
'slug': 'python-virtualenv-on-mac-osx-mountain-lion-10.8',
|
'slug': 'python-virtualenv-on-mac-osx-mountain-lion-10.8',
|
||||||
}
|
}
|
||||||
|
|
@ -220,8 +220,8 @@ class MdReaderTest(ReaderTest):
|
||||||
'summary': (
|
'summary': (
|
||||||
'<p>Summary with <strong>inline</strong> markup '
|
'<p>Summary with <strong>inline</strong> markup '
|
||||||
'<em>should</em> be supported.</p>'),
|
'<em>should</em> be supported.</p>'),
|
||||||
'date': datetime.datetime(2012, 10, 31),
|
'date': SafeDatetime(2012, 10, 31),
|
||||||
'modified': datetime.datetime(2012, 11, 1),
|
'modified': SafeDatetime(2012, 11, 1),
|
||||||
'slug': 'article-with-markdown-containing-footnotes',
|
'slug': 'article-with-markdown-containing-footnotes',
|
||||||
'multiline': [
|
'multiline': [
|
||||||
'Line Metadata should be handle properly.',
|
'Line Metadata should be handle properly.',
|
||||||
|
|
@ -311,7 +311,7 @@ class MdReaderTest(ReaderTest):
|
||||||
expected = {
|
expected = {
|
||||||
'category': 'yeah',
|
'category': 'yeah',
|
||||||
'author': 'Alexis Métaireau',
|
'author': 'Alexis Métaireau',
|
||||||
'date': datetime.datetime(2012, 11, 30),
|
'date': SafeDatetime(2012, 11, 30),
|
||||||
}
|
}
|
||||||
for key, value in expected.items():
|
for key, value in expected.items():
|
||||||
self.assertEqual(value, page.metadata[key], key)
|
self.assertEqual(value, page.metadata[key], key)
|
||||||
|
|
@ -325,7 +325,7 @@ class MdReaderTest(ReaderTest):
|
||||||
expected = {
|
expected = {
|
||||||
'category': 'yeah',
|
'category': 'yeah',
|
||||||
'author': 'Alexis Métaireau',
|
'author': 'Alexis Métaireau',
|
||||||
'date': datetime.datetime(2012, 11, 30),
|
'date': SafeDatetime(2012, 11, 30),
|
||||||
'slug': 'md_w_filename_meta',
|
'slug': 'md_w_filename_meta',
|
||||||
'mymeta': 'foo',
|
'mymeta': 'foo',
|
||||||
}
|
}
|
||||||
|
|
@ -358,7 +358,7 @@ class HTMLReaderTest(ReaderTest):
|
||||||
'author': 'Alexis Métaireau',
|
'author': 'Alexis Métaireau',
|
||||||
'title': 'This is a super article !',
|
'title': 'This is a super article !',
|
||||||
'summary': 'Summary and stuff',
|
'summary': 'Summary and stuff',
|
||||||
'date': datetime.datetime(2010, 12, 2, 10, 14),
|
'date': SafeDatetime(2010, 12, 2, 10, 14),
|
||||||
'tags': ['foo', 'bar', 'foobar'],
|
'tags': ['foo', 'bar', 'foobar'],
|
||||||
'custom_field': 'http://notmyidea.org',
|
'custom_field': 'http://notmyidea.org',
|
||||||
}
|
}
|
||||||
|
|
@ -382,7 +382,7 @@ class HTMLReaderTest(ReaderTest):
|
||||||
'author': 'Alexis Métaireau',
|
'author': 'Alexis Métaireau',
|
||||||
'title': 'This is a super article !',
|
'title': 'This is a super article !',
|
||||||
'summary': 'Summary and stuff',
|
'summary': 'Summary and stuff',
|
||||||
'date': datetime.datetime(2010, 12, 2, 10, 14),
|
'date': SafeDatetime(2010, 12, 2, 10, 14),
|
||||||
'tags': ['foo', 'bar', 'foobar'],
|
'tags': ['foo', 'bar', 'foobar'],
|
||||||
'custom_field': 'http://notmyidea.org',
|
'custom_field': 'http://notmyidea.org',
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ from __future__ import unicode_literals, print_function, absolute_import
|
||||||
import logging
|
import logging
|
||||||
import shutil
|
import shutil
|
||||||
import os
|
import os
|
||||||
import datetime
|
|
||||||
import time
|
import time
|
||||||
import locale
|
import locale
|
||||||
from sys import platform, version_info
|
from sys import platform, version_info
|
||||||
|
|
@ -38,24 +37,24 @@ class TestUtils(LoggedTestCase):
|
||||||
|
|
||||||
def test_get_date(self):
|
def test_get_date(self):
|
||||||
# valid ones
|
# valid ones
|
||||||
date = datetime.datetime(year=2012, month=11, day=22)
|
date = utils.SafeDatetime(year=2012, month=11, day=22)
|
||||||
date_hour = datetime.datetime(
|
date_hour = utils.SafeDatetime(
|
||||||
year=2012, month=11, day=22, hour=22, minute=11)
|
year=2012, month=11, day=22, hour=22, minute=11)
|
||||||
date_hour_z = datetime.datetime(
|
date_hour_z = utils.SafeDatetime(
|
||||||
year=2012, month=11, day=22, hour=22, minute=11,
|
year=2012, month=11, day=22, hour=22, minute=11,
|
||||||
tzinfo=pytz.timezone('UTC'))
|
tzinfo=pytz.timezone('UTC'))
|
||||||
date_hour_est = datetime.datetime(
|
date_hour_est = utils.SafeDatetime(
|
||||||
year=2012, month=11, day=22, hour=22, minute=11,
|
year=2012, month=11, day=22, hour=22, minute=11,
|
||||||
tzinfo=pytz.timezone('EST'))
|
tzinfo=pytz.timezone('EST'))
|
||||||
date_hour_sec = datetime.datetime(
|
date_hour_sec = utils.SafeDatetime(
|
||||||
year=2012, month=11, day=22, hour=22, minute=11, second=10)
|
year=2012, month=11, day=22, hour=22, minute=11, second=10)
|
||||||
date_hour_sec_z = datetime.datetime(
|
date_hour_sec_z = utils.SafeDatetime(
|
||||||
year=2012, month=11, day=22, hour=22, minute=11, second=10,
|
year=2012, month=11, day=22, hour=22, minute=11, second=10,
|
||||||
tzinfo=pytz.timezone('UTC'))
|
tzinfo=pytz.timezone('UTC'))
|
||||||
date_hour_sec_est = datetime.datetime(
|
date_hour_sec_est = utils.SafeDatetime(
|
||||||
year=2012, month=11, day=22, hour=22, minute=11, second=10,
|
year=2012, month=11, day=22, hour=22, minute=11, second=10,
|
||||||
tzinfo=pytz.timezone('EST'))
|
tzinfo=pytz.timezone('EST'))
|
||||||
date_hour_sec_frac_z = datetime.datetime(
|
date_hour_sec_frac_z = utils.SafeDatetime(
|
||||||
year=2012, month=11, day=22, hour=22, minute=11, second=10,
|
year=2012, month=11, day=22, hour=22, minute=11, second=10,
|
||||||
microsecond=123000, tzinfo=pytz.timezone('UTC'))
|
microsecond=123000, tzinfo=pytz.timezone('UTC'))
|
||||||
dates = {
|
dates = {
|
||||||
|
|
@ -76,14 +75,14 @@ class TestUtils(LoggedTestCase):
|
||||||
}
|
}
|
||||||
|
|
||||||
# examples from http://www.w3.org/TR/NOTE-datetime
|
# examples from http://www.w3.org/TR/NOTE-datetime
|
||||||
iso_8601_date = datetime.datetime(year=1997, month=7, day=16)
|
iso_8601_date = utils.SafeDatetime(year=1997, month=7, day=16)
|
||||||
iso_8601_date_hour_tz = datetime.datetime(
|
iso_8601_date_hour_tz = utils.SafeDatetime(
|
||||||
year=1997, month=7, day=16, hour=19, minute=20,
|
year=1997, month=7, day=16, hour=19, minute=20,
|
||||||
tzinfo=pytz.timezone('CET'))
|
tzinfo=pytz.timezone('CET'))
|
||||||
iso_8601_date_hour_sec_tz = datetime.datetime(
|
iso_8601_date_hour_sec_tz = utils.SafeDatetime(
|
||||||
year=1997, month=7, day=16, hour=19, minute=20, second=30,
|
year=1997, month=7, day=16, hour=19, minute=20, second=30,
|
||||||
tzinfo=pytz.timezone('CET'))
|
tzinfo=pytz.timezone('CET'))
|
||||||
iso_8601_date_hour_sec_ms_tz = datetime.datetime(
|
iso_8601_date_hour_sec_ms_tz = utils.SafeDatetime(
|
||||||
year=1997, month=7, day=16, hour=19, minute=20, second=30,
|
year=1997, month=7, day=16, hour=19, minute=20, second=30,
|
||||||
microsecond=450000, tzinfo=pytz.timezone('CET'))
|
microsecond=450000, tzinfo=pytz.timezone('CET'))
|
||||||
iso_8601 = {
|
iso_8601 = {
|
||||||
|
|
@ -258,7 +257,7 @@ class TestUtils(LoggedTestCase):
|
||||||
self.assertFalse(os.path.exists(test_directory))
|
self.assertFalse(os.path.exists(test_directory))
|
||||||
|
|
||||||
def test_strftime(self):
|
def test_strftime(self):
|
||||||
d = datetime.date(2012, 8, 29)
|
d = utils.SafeDatetime(2012, 8, 29)
|
||||||
|
|
||||||
# simple formatting
|
# simple formatting
|
||||||
self.assertEqual(utils.strftime(d, '%d/%m/%y'), '29/08/12')
|
self.assertEqual(utils.strftime(d, '%d/%m/%y'), '29/08/12')
|
||||||
|
|
@ -296,7 +295,7 @@ class TestUtils(LoggedTestCase):
|
||||||
else:
|
else:
|
||||||
locale.setlocale(locale.LC_TIME, str('tr_TR.UTF-8'))
|
locale.setlocale(locale.LC_TIME, str('tr_TR.UTF-8'))
|
||||||
|
|
||||||
d = datetime.date(2012, 8, 29)
|
d = utils.SafeDatetime(2012, 8, 29)
|
||||||
|
|
||||||
# simple
|
# simple
|
||||||
self.assertEqual(utils.strftime(d, '%d %B %Y'), '29 Ağustos 2012')
|
self.assertEqual(utils.strftime(d, '%d %B %Y'), '29 Ağustos 2012')
|
||||||
|
|
@ -329,7 +328,7 @@ class TestUtils(LoggedTestCase):
|
||||||
else:
|
else:
|
||||||
locale.setlocale(locale.LC_TIME, str('fr_FR.UTF-8'))
|
locale.setlocale(locale.LC_TIME, str('fr_FR.UTF-8'))
|
||||||
|
|
||||||
d = datetime.date(2012, 8, 29)
|
d = utils.SafeDatetime(2012, 8, 29)
|
||||||
|
|
||||||
# simple
|
# simple
|
||||||
self.assertEqual(utils.strftime(d, '%d %B %Y'), '29 août 2012')
|
self.assertEqual(utils.strftime(d, '%d %B %Y'), '29 août 2012')
|
||||||
|
|
@ -448,7 +447,7 @@ class TestDateFormatter(unittest.TestCase):
|
||||||
os.makedirs(template_dir)
|
os.makedirs(template_dir)
|
||||||
with open(template_path, 'w') as template_file:
|
with open(template_path, 'w') as template_file:
|
||||||
template_file.write('date = {{ date|strftime("%A, %d %B %Y") }}')
|
template_file.write('date = {{ date|strftime("%A, %d %B %Y") }}')
|
||||||
self.date = datetime.date(2012, 8, 29)
|
self.date = utils.SafeDatetime(2012, 8, 29)
|
||||||
|
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
|
|
@ -464,7 +463,7 @@ class TestDateFormatter(unittest.TestCase):
|
||||||
def test_french_strftime(self):
|
def test_french_strftime(self):
|
||||||
# This test tries to reproduce an issue that occured with python3.3 under macos10 only
|
# This test tries to reproduce an issue that occured with python3.3 under macos10 only
|
||||||
locale.setlocale(locale.LC_ALL, str('fr_FR.UTF-8'))
|
locale.setlocale(locale.LC_ALL, str('fr_FR.UTF-8'))
|
||||||
date = datetime.datetime(2014,8,14)
|
date = utils.SafeDatetime(2014,8,14)
|
||||||
# we compare the lower() dates since macos10 returns "Jeudi" for %A whereas linux reports "jeudi"
|
# we compare the lower() dates since macos10 returns "Jeudi" for %A whereas linux reports "jeudi"
|
||||||
self.assertEqual( u'jeudi, 14 août 2014', utils.strftime(date, date_format="%A, %d %B %Y").lower() )
|
self.assertEqual( u'jeudi, 14 août 2014', utils.strftime(date, date_format="%A, %d %B %Y").lower() )
|
||||||
df = utils.DateFormatter()
|
df = utils.DateFormatter()
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from six.moves.urllib.error import URLError
|
||||||
from six.moves.urllib.parse import urlparse
|
from six.moves.urllib.parse import urlparse
|
||||||
from six.moves.urllib.request import urlretrieve
|
from six.moves.urllib.request import urlretrieve
|
||||||
|
|
||||||
from pelican.utils import slugify
|
from pelican.utils import slugify, SafeDatetime
|
||||||
from pelican.log import init
|
from pelican.log import init
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
@ -303,7 +303,7 @@ def dc2fields(file):
|
||||||
def posterous2fields(api_token, email, password):
|
def posterous2fields(api_token, email, password):
|
||||||
"""Imports posterous posts"""
|
"""Imports posterous posts"""
|
||||||
import base64
|
import base64
|
||||||
from datetime import datetime, timedelta
|
from datetime import timedelta
|
||||||
try:
|
try:
|
||||||
# py3k import
|
# py3k import
|
||||||
import json
|
import json
|
||||||
|
|
@ -340,7 +340,7 @@ def posterous2fields(api_token, email, password):
|
||||||
slug = slugify(post.get('title'))
|
slug = slugify(post.get('title'))
|
||||||
tags = [tag.get('name') for tag in post.get('tags')]
|
tags = [tag.get('name') for tag in post.get('tags')]
|
||||||
raw_date = post.get('display_date')
|
raw_date = post.get('display_date')
|
||||||
date_object = datetime.strptime(raw_date[:-6], "%Y/%m/%d %H:%M:%S")
|
date_object = SafeDatetime.strptime(raw_date[:-6], "%Y/%m/%d %H:%M:%S")
|
||||||
offset = int(raw_date[-5:])
|
offset = int(raw_date[-5:])
|
||||||
delta = timedelta(hours = offset / 100)
|
delta = timedelta(hours = offset / 100)
|
||||||
date_object -= delta
|
date_object -= delta
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ import shutil
|
||||||
import traceback
|
import traceback
|
||||||
import pickle
|
import pickle
|
||||||
import hashlib
|
import hashlib
|
||||||
|
import datetime
|
||||||
|
|
||||||
from collections import Hashable
|
from collections import Hashable
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
|
|
@ -56,7 +57,10 @@ def strftime(date, date_format):
|
||||||
for candidate in candidates:
|
for candidate in candidates:
|
||||||
# test for valid C89 directives only
|
# test for valid C89 directives only
|
||||||
if candidate[1] in 'aAbBcdfHIjmMpSUwWxXyYzZ%':
|
if candidate[1] in 'aAbBcdfHIjmMpSUwWxXyYzZ%':
|
||||||
formatted = date.strftime(candidate)
|
if isinstance(date, SafeDatetime):
|
||||||
|
formatted = date.strftime(candidate, safe=False)
|
||||||
|
else:
|
||||||
|
formatted = date.strftime(candidate)
|
||||||
# convert Py2 result to unicode
|
# convert Py2 result to unicode
|
||||||
if not six.PY3 and enc is not None:
|
if not six.PY3 and enc is not None:
|
||||||
formatted = formatted.decode(enc)
|
formatted = formatted.decode(enc)
|
||||||
|
|
@ -68,6 +72,17 @@ def strftime(date, date_format):
|
||||||
return template % tuple(formatted_candidates)
|
return template % tuple(formatted_candidates)
|
||||||
|
|
||||||
|
|
||||||
|
class SafeDatetime(datetime.datetime):
|
||||||
|
'''Subclass of datetime that works with utf-8 format strings on PY2'''
|
||||||
|
|
||||||
|
def strftime(self, fmt, safe=True):
|
||||||
|
'''Uses our custom strftime if supposed to be *safe*'''
|
||||||
|
if safe:
|
||||||
|
return strftime(self, fmt)
|
||||||
|
else:
|
||||||
|
return super(SafeDatetime, self).strftime(fmt)
|
||||||
|
|
||||||
|
|
||||||
class DateFormatter(object):
|
class DateFormatter(object):
|
||||||
'''A date formatter object used as a jinja filter
|
'''A date formatter object used as a jinja filter
|
||||||
|
|
||||||
|
|
@ -183,8 +198,10 @@ def get_date(string):
|
||||||
If no format matches the given date, raise a ValueError.
|
If no format matches the given date, raise a ValueError.
|
||||||
"""
|
"""
|
||||||
string = re.sub(' +', ' ', string)
|
string = re.sub(' +', ' ', string)
|
||||||
|
default = SafeDatetime.now().replace(hour=0, minute=0,
|
||||||
|
second=0, microsecond=0)
|
||||||
try:
|
try:
|
||||||
return dateutil.parser.parse(string)
|
return dateutil.parser.parse(string, default=default)
|
||||||
except (TypeError, ValueError):
|
except (TypeError, ValueError):
|
||||||
raise ValueError('{0!r} is not a valid date'.format(string))
|
raise ValueError('{0!r} is not a valid date'.format(string))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -151,12 +151,7 @@ class Writer(object):
|
||||||
|
|
||||||
def _write_file(template, localcontext, output_path, name, override):
|
def _write_file(template, localcontext, output_path, name, override):
|
||||||
"""Render the template write the file."""
|
"""Render the template write the file."""
|
||||||
old_locale = locale.setlocale(locale.LC_ALL)
|
output = template.render(localcontext)
|
||||||
locale.setlocale(locale.LC_ALL, str('C'))
|
|
||||||
try:
|
|
||||||
output = template.render(localcontext)
|
|
||||||
finally:
|
|
||||||
locale.setlocale(locale.LC_ALL, old_locale)
|
|
||||||
path = os.path.join(output_path, name)
|
path = os.path.join(output_path, name)
|
||||||
try:
|
try:
|
||||||
os.makedirs(os.path.dirname(path))
|
os.makedirs(os.path.dirname(path))
|
||||||
|
|
|
||||||
59
samples/pelican_FR.conf.py
Normal file
|
|
@ -0,0 +1,59 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
AUTHOR = 'Alexis Métaireau'
|
||||||
|
SITENAME = "Alexis' log"
|
||||||
|
SITEURL = 'http://blog.notmyidea.org'
|
||||||
|
TIMEZONE = "Europe/Paris"
|
||||||
|
|
||||||
|
# can be useful in development, but set to False when you're ready to publish
|
||||||
|
RELATIVE_URLS = True
|
||||||
|
|
||||||
|
GITHUB_URL = 'http://github.com/ametaireau/'
|
||||||
|
DISQUS_SITENAME = "blog-notmyidea"
|
||||||
|
PDF_GENERATOR = False
|
||||||
|
REVERSE_CATEGORY_ORDER = True
|
||||||
|
LOCALE = "fr_FR.UTF-8"
|
||||||
|
DEFAULT_PAGINATION = 4
|
||||||
|
DEFAULT_DATE = (2012, 3, 2, 14, 1, 1)
|
||||||
|
|
||||||
|
ARTICLE_URL = 'posts/{date:%Y}/{date:%B}/{date:%d}/{slug}/'
|
||||||
|
ARTICLE_SAVE_AS = ARTICLE_URL + 'index.html'
|
||||||
|
|
||||||
|
FEED_ALL_RSS = 'feeds/all.rss.xml'
|
||||||
|
CATEGORY_FEED_RSS = 'feeds/%s.rss.xml'
|
||||||
|
|
||||||
|
LINKS = (('Biologeek', 'http://biologeek.org'),
|
||||||
|
('Filyb', "http://filyb.info/"),
|
||||||
|
('Libert-fr', "http://www.libert-fr.com"),
|
||||||
|
('N1k0', "http://prendreuncafe.com/blog/"),
|
||||||
|
('Tarek Ziadé', "http://ziade.org/blog"),
|
||||||
|
('Zubin Mithra', "http://zubin71.wordpress.com/"),)
|
||||||
|
|
||||||
|
SOCIAL = (('twitter', 'http://twitter.com/ametaireau'),
|
||||||
|
('lastfm', 'http://lastfm.com/user/akounet'),
|
||||||
|
('github', 'http://github.com/ametaireau'),)
|
||||||
|
|
||||||
|
# global metadata to all the contents
|
||||||
|
DEFAULT_METADATA = (('yeah', 'it is'),)
|
||||||
|
|
||||||
|
# path-specific metadata
|
||||||
|
EXTRA_PATH_METADATA = {
|
||||||
|
'extra/robots.txt': {'path': 'robots.txt'},
|
||||||
|
}
|
||||||
|
|
||||||
|
# static paths will be copied without parsing their contents
|
||||||
|
STATIC_PATHS = [
|
||||||
|
'pictures',
|
||||||
|
'extra/robots.txt',
|
||||||
|
]
|
||||||
|
|
||||||
|
# custom page generated with a jinja2 template
|
||||||
|
TEMPLATE_PAGES = {'pages/jinja2_template.html': 'jinja2_template.html'}
|
||||||
|
|
||||||
|
# code blocks with line numbers
|
||||||
|
PYGMENTS_RST_OPTIONS = {'linenos': 'table'}
|
||||||
|
|
||||||
|
# foobar will not be used, because it's not in caps. All configuration keys
|
||||||
|
# have to be in caps
|
||||||
|
foobar = "barbaz"
|
||||||