mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge branch 'master' of https://github.com/ametaireau/pelican
This commit is contained in:
commit
180060cd58
130 changed files with 11027 additions and 218 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -6,6 +6,5 @@ docs/_build
|
|||
docs/fr/_build
|
||||
build
|
||||
dist
|
||||
output
|
||||
tags
|
||||
.tox
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ python:
|
|||
install:
|
||||
- pip install nose unittest2 mock --use-mirrors
|
||||
- pip install . --use-mirrors
|
||||
- pip install Markdown
|
||||
script: nosetests -s tests
|
||||
notifications:
|
||||
irc:
|
||||
|
|
|
|||
|
|
@ -5,3 +5,4 @@ feedgenerator
|
|||
unittest2
|
||||
pytz
|
||||
mock
|
||||
Markdown
|
||||
|
|
|
|||
|
|
@ -22,13 +22,13 @@ At this time, Pelican is dependent on the following Python packages:
|
|||
|
||||
* feedgenerator, to generate the Atom feeds
|
||||
* jinja2, for templating support
|
||||
* docutils, for supporting reStructuredText as an input format
|
||||
|
||||
If you're not using Python 2.7, you will also need `argparse`.
|
||||
|
||||
Optionally:
|
||||
|
||||
* pygments, for syntax highlighting
|
||||
* docutils, for supporting reStructuredText as an input format
|
||||
* Markdown, for supporting Markdown as an input format
|
||||
|
||||
Writing articles using Pelican
|
||||
|
|
@ -53,7 +53,11 @@ following syntax (give your file the `.rst` extension)::
|
|||
:author: Alexis Metaireau
|
||||
|
||||
|
||||
You can also use Markdown syntax (with a file ending in `.md`)::
|
||||
You can also use Markdown syntax (with a file ending in `.md`).
|
||||
Markdown generation will not work until you explicitly install the `markdown`
|
||||
distribution. You can do so on a normal system using `pip install markdown`
|
||||
|
||||
::
|
||||
|
||||
Date: 2010-12-03
|
||||
Title: My super title
|
||||
|
|
@ -154,13 +158,16 @@ Syntax highlighting
|
|||
---------------------
|
||||
|
||||
Pelican is able to provide colorized syntax highlighting for your code blocks.
|
||||
To do so, you have to use the following convention for reStructuredText::
|
||||
To do so, you have to use the following conventions (you need to put this in
|
||||
your content files).
|
||||
|
||||
For RestructuredText::
|
||||
|
||||
.. code-block:: identifier
|
||||
|
||||
your code goes here
|
||||
|
||||
For Markdown, format your code blocks thusly:
|
||||
For Markdown, format your code blocks thusly::
|
||||
|
||||
::identifier
|
||||
your code goes here
|
||||
|
|
@ -168,18 +175,6 @@ For Markdown, format your code blocks thusly:
|
|||
The specified identifier should be one that appears on the
|
||||
`list of available lexers <http://pygments.org/docs/lexers/>`_.
|
||||
|
||||
You also can use the default `::` syntax, in which case it will be assumed
|
||||
that your code is written in Python. For reStructuredText::
|
||||
|
||||
::
|
||||
|
||||
your code goes here
|
||||
|
||||
For Markdown:
|
||||
|
||||
::
|
||||
your code goes here
|
||||
|
||||
Autoreload
|
||||
----------
|
||||
|
||||
|
|
|
|||
|
|
@ -62,10 +62,14 @@ Setting name (default value) What does it do?
|
|||
`RELATIVE_URLS` (``True``) Defines whether Pelican should use relative URLs or
|
||||
not.
|
||||
`SITENAME` (``'A Pelican Blog'``) Your site name
|
||||
`SITEURL` Base URL of your website. Note that this is
|
||||
not a way to tell Pelican whether to use relative URLs
|
||||
or static ones. You should instead use the
|
||||
`RELATIVE_URL` setting for that purpose.
|
||||
`SITEURL` Base URL of your website. Not defined by default,
|
||||
which means the base URL is assumed to be "/" with a
|
||||
root-relative URL structure. If `SITEURL` is specified
|
||||
explicitly, there should be no trailing slash at the end,
|
||||
and URLs will be generated with an absolute URL structure
|
||||
(including the domain). If you want to use relative URLs
|
||||
instead of root-relative or absolute URLs, you should
|
||||
instead use the `RELATIVE_URL` setting.
|
||||
`STATIC_PATHS` (``['images']``) The static paths you want to have accessible
|
||||
on the output path "static". By default,
|
||||
Pelican will copy the 'images' folder to the
|
||||
|
|
@ -86,10 +90,10 @@ Setting name (default value) What does it do?
|
|||
URL settings
|
||||
------------
|
||||
|
||||
You can customize the URL's and locations where files will be saved. The URL's and
|
||||
SAVE_AS variables use python's format strings. These variables allow you to place
|
||||
your articles in a location such as '{slug}/index.html' and link to then as
|
||||
'{slug}' for clean urls. These settings give you the flexibility to place your
|
||||
You can customize the URLs and locations where files will be saved. The URLs and
|
||||
SAVE_AS variables use Python's format strings. These variables allow you to place
|
||||
your articles in a location such as '{slug}/index.html' and link to them as
|
||||
'{slug}' for clean URLs. These settings give you the flexibility to place your
|
||||
articles and pages anywhere you want.
|
||||
|
||||
Note: If you specify a datetime directive, it will be substituted using the
|
||||
|
|
@ -216,11 +220,17 @@ the ``TAG_FEED`` and ``TAG_FEED_RSS`` settings:
|
|||
================================================ =====================================================
|
||||
Setting name (default value) What does it do?
|
||||
================================================ =====================================================
|
||||
`CATEGORY_FEED` ('feeds/%s.atom.xml'[2]_) Where to put the category Atom feeds.
|
||||
`CATEGORY_FEED_RSS` (``None``, i.e. no RSS) Where to put the category RSS feeds.
|
||||
`FEED_DOMAIN` (``None``, i.e. base URL is "/") The domain prepended to feed URLs. Since feed URLs
|
||||
should always be absolute, it is highly recommended
|
||||
to define this (e.g., "http://feeds.example.com"). If
|
||||
you have already explicitly defined SITEURL (see
|
||||
above) and want to use the same domain for your
|
||||
feeds, you can just set: `FEED_DOMAIN = SITEURL`
|
||||
`FEED` (``'feeds/all.atom.xml'``) Relative URL to output the Atom feed.
|
||||
`FEED_RSS` (``None``, i.e. no RSS) Relative URL to output the RSS feed.
|
||||
`TAG_FEED` (``None``, ie no tag feed) Relative URL to output the tag Atom feed. It should
|
||||
`CATEGORY_FEED` ('feeds/%s.atom.xml'[2]_) Where to put the category Atom feeds.
|
||||
`CATEGORY_FEED_RSS` (``None``, i.e. no RSS) Where to put the category RSS feeds.
|
||||
`TAG_FEED` (``None``, i.e. no tag feed) Relative URL to output the tag Atom feed. It should
|
||||
be defined using a "%s" match in the tag name.
|
||||
`TAG_FEED_RSS` (``None``, ie no RSS tag feed) Relative URL to output the tag RSS feed
|
||||
`FEED_MAX_ITEMS` Maximum number of items allowed in a feed. Feed item
|
||||
|
|
@ -232,6 +242,25 @@ variables above.
|
|||
|
||||
.. [2] %s is the name of the category.
|
||||
|
||||
FeedBurner
|
||||
----------
|
||||
|
||||
If you want to use FeedBurner for your feed, you will likely need to decide
|
||||
upon a unique identifier. For example, if your site were called "Thyme" and
|
||||
hosted on the www.example.com domain, you might use "thymefeeds" as your
|
||||
unique identifier, which we'll use throughout this section for illustrative
|
||||
purposes. In your Pelican settings, set the `FEED` attribute to
|
||||
"thymefeeds/main.xml" to create an Atom feed with an original address of
|
||||
`http://www.example.com/thymefeeds/main.xml`. Set the `FEED_DOMAIN` attribute
|
||||
to `http://feeds.feedburner.com`, or `http://feeds.example.com` if you are
|
||||
using a CNAME on your own domain (i.e., FeedBurner's "MyBrand" feature).
|
||||
|
||||
There are two fields to configure in the `FeedBurner
|
||||
<http://feedburner.google.com>`_ interface: "Original Feed" and "Feed
|
||||
Address". In this example, the "Original Feed" would be
|
||||
`http://www.example.com/thymefeeds/main.xml` and the "Feed Address" suffix
|
||||
would be `thymefeeds/main.xml`.
|
||||
|
||||
Pagination
|
||||
==========
|
||||
|
||||
|
|
|
|||
|
|
@ -1,21 +1,25 @@
|
|||
import argparse
|
||||
import os
|
||||
import sys
|
||||
import re
|
||||
import sys
|
||||
import time
|
||||
import logging
|
||||
import argparse
|
||||
|
||||
from pelican.generators import (ArticlesGenerator, PagesGenerator,
|
||||
StaticGenerator, PdfGenerator)
|
||||
from pelican.log import init
|
||||
from pelican.settings import read_settings, _DEFAULT_CONFIG
|
||||
from pelican.utils import clean_output_dir, files_changed
|
||||
from pelican.writers import Writer
|
||||
from pelican import log
|
||||
|
||||
__major__ = 3
|
||||
__minor__ = 0
|
||||
__version__ = "{0}.{1}".format(__major__, __minor__)
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Pelican(object):
|
||||
def __init__(self, settings=None, path=None, theme=None, output_path=None,
|
||||
markup=None, delete_outputdir=False):
|
||||
|
|
@ -57,7 +61,7 @@ class Pelican(object):
|
|||
def _handle_deprecation(self):
|
||||
|
||||
if self.settings.get('CLEAN_URLS', False):
|
||||
log.warning('Found deprecated `CLEAN_URLS` in settings. Modifing'
|
||||
logger.warning('Found deprecated `CLEAN_URLS` in settings. Modifing'
|
||||
' the following settings for the same behaviour.')
|
||||
|
||||
self.settings['ARTICLE_URL'] = '{slug}/'
|
||||
|
|
@ -67,10 +71,10 @@ class Pelican(object):
|
|||
|
||||
for setting in ('ARTICLE_URL', 'ARTICLE_LANG_URL', 'PAGE_URL',
|
||||
'PAGE_LANG_URL'):
|
||||
log.warning("%s = '%s'" % (setting, self.settings[setting]))
|
||||
logger.warning("%s = '%s'" % (setting, self.settings[setting]))
|
||||
|
||||
if self.settings.get('ARTICLE_PERMALINK_STRUCTURE', False):
|
||||
log.warning('Found deprecated `ARTICLE_PERMALINK_STRUCTURE` in'
|
||||
logger.warning('Found deprecated `ARTICLE_PERMALINK_STRUCTURE` in'
|
||||
' settings. Modifing the following settings for'
|
||||
' the same behaviour.')
|
||||
|
||||
|
|
@ -91,7 +95,7 @@ class Pelican(object):
|
|||
'PAGE_LANG_SAVE_AS'):
|
||||
self.settings[setting] = os.path.join(structure,
|
||||
self.settings[setting])
|
||||
log.warning("%s = '%s'" % (setting, self.settings[setting]))
|
||||
logger.warning("%s = '%s'" % (setting, self.settings[setting]))
|
||||
|
||||
def run(self):
|
||||
"""Run the generators and return"""
|
||||
|
|
@ -135,45 +139,59 @@ class Pelican(object):
|
|||
return Writer(self.output_path, settings=self.settings)
|
||||
|
||||
|
||||
def main():
|
||||
def parse_arguments():
|
||||
parser = argparse.ArgumentParser(description="""A tool to generate a
|
||||
static blog, with restructured text input files.""",
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
|
||||
|
||||
parser.add_argument(dest='path', nargs='?',
|
||||
help='Path where to find the content files.')
|
||||
help='Path where to find the content files.',
|
||||
default=None)
|
||||
|
||||
parser.add_argument('-t', '--theme-path', dest='theme',
|
||||
help='Path where to find the theme templates. If not specified, it'
|
||||
'will use the default one included with pelican.')
|
||||
|
||||
parser.add_argument('-o', '--output', dest='output',
|
||||
help='Where to output the generated files. If not specified, a '
|
||||
'directory will be created, named "output" in the current path.')
|
||||
|
||||
parser.add_argument('-m', '--markup', dest='markup',
|
||||
help='The list of markup language to use (rst or md). Please indicate '
|
||||
'them separated by commas.')
|
||||
|
||||
parser.add_argument('-s', '--settings', dest='settings',
|
||||
help='The settings of the application.')
|
||||
parser.add_argument('-d', '--delete-output-directory',
|
||||
dest='delete_outputdir',
|
||||
action='store_true', help='Delete the output directory.')
|
||||
parser.add_argument('-v', '--verbose', action='store_const',
|
||||
const=log.INFO, dest='verbosity',
|
||||
help='Show all messages.')
|
||||
parser.add_argument('-q', '--quiet', action='store_const',
|
||||
const=log.CRITICAL, dest='verbosity',
|
||||
help='Show only critical errors.')
|
||||
parser.add_argument('-D', '--debug', action='store_const',
|
||||
const=log.DEBUG, dest='verbosity',
|
||||
help='Show all message, including debug messages.')
|
||||
parser.add_argument('--version', action='version', version=__version__,
|
||||
help='Print the pelican version and exit.')
|
||||
parser.add_argument('-r', '--autoreload', dest='autoreload',
|
||||
action='store_true',
|
||||
help="Relaunch pelican each time a modification occurs"
|
||||
" on the content files.")
|
||||
args = parser.parse_args()
|
||||
|
||||
log.init(args.verbosity)
|
||||
parser.add_argument('-d', '--delete-output-directory',
|
||||
dest='delete_outputdir',
|
||||
action='store_true', help='Delete the output directory.')
|
||||
|
||||
parser.add_argument('-v', '--verbose', action='store_const',
|
||||
const=logging.INFO, dest='verbosity',
|
||||
help='Show all messages.')
|
||||
|
||||
parser.add_argument('-q', '--quiet', action='store_const',
|
||||
const=logging.CRITICAL, dest='verbosity',
|
||||
help='Show only critical errors.')
|
||||
|
||||
parser.add_argument('-D', '--debug', action='store_const',
|
||||
const=logging.DEBUG, dest='verbosity',
|
||||
help='Show all message, including debug messages.')
|
||||
|
||||
parser.add_argument('--version', action='version', version=__version__,
|
||||
help='Print the pelican version and exit.')
|
||||
|
||||
parser.add_argument('-r', '--autoreload', dest='autoreload',
|
||||
action='store_true',
|
||||
help="Relaunch pelican each time a modification occurs"
|
||||
" on the content files.")
|
||||
return parser.parse_args()
|
||||
|
||||
|
||||
def main():
|
||||
args = parse_arguments()
|
||||
init(args.verbosity)
|
||||
# Split the markup languages only if some have been given. Otherwise,
|
||||
# populate the variable with None.
|
||||
markup = [a.strip().lower() for a in args.markup.split(',')]\
|
||||
|
|
@ -207,9 +225,9 @@ def main():
|
|||
else:
|
||||
pelican.run()
|
||||
except Exception, e:
|
||||
log.critical(unicode(e))
|
||||
logger.critical(unicode(e))
|
||||
|
||||
if (args.verbosity == log.DEBUG):
|
||||
if (args.verbosity == logging.DEBUG):
|
||||
raise
|
||||
else:
|
||||
sys.exit(getattr(e, 'exitcode', 1))
|
||||
|
|
|
|||
|
|
@ -1,15 +1,19 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import locale
|
||||
import logging
|
||||
import functools
|
||||
|
||||
from datetime import datetime
|
||||
from os import getenv
|
||||
from sys import platform, stdin
|
||||
import functools
|
||||
import locale
|
||||
|
||||
from pelican.log import warning, error
|
||||
|
||||
from pelican.settings import _DEFAULT_CONFIG
|
||||
from pelican.utils import slugify, truncate_html_words
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
class Page(object):
|
||||
"""Represents a page
|
||||
Given a content, and metadata, create an adequate object.
|
||||
|
|
@ -44,7 +48,7 @@ class Page(object):
|
|||
else:
|
||||
title = filename.decode('utf-8') if filename else self.title
|
||||
self.author = Author(getenv('USER', 'John Doe'), settings)
|
||||
warning(u"Author of `{0}' unknown, assuming that his name is "
|
||||
logger.warning(u"Author of `{0}' unknown, assuming that his name is "
|
||||
"`{1}'".format(title, self.author))
|
||||
|
||||
# manage languages
|
||||
|
|
@ -169,14 +173,14 @@ class URLWrapper(object):
|
|||
return self.name == unicode(other)
|
||||
|
||||
def __str__(self):
|
||||
return str(self.name)
|
||||
return str(self.name.encode('utf-8', 'replace'))
|
||||
|
||||
def __unicode__(self):
|
||||
return self.name
|
||||
|
||||
def _from_settings(self, key):
|
||||
setting = "%s_%s" % (self.__class__.__name__.upper(), key)
|
||||
return self.settings[setting].format(**self.as_dict())
|
||||
return unicode(self.settings[setting]).format(**self.as_dict())
|
||||
|
||||
url = property(functools.partial(_from_settings, key='URL'))
|
||||
save_as = property(functools.partial(_from_settings, key='SAVE_AS'))
|
||||
|
|
@ -200,6 +204,6 @@ def is_valid_content(content, f):
|
|||
content.check_properties()
|
||||
return True
|
||||
except NameError, e:
|
||||
error(u"Skipping %s: impossible to find informations about '%s'"\
|
||||
logger.error(u"Skipping %s: impossible to find informations about '%s'"\
|
||||
% (f, e))
|
||||
return False
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
import datetime
|
||||
import math
|
||||
import random
|
||||
import logging
|
||||
import datetime
|
||||
|
||||
from collections import defaultdict
|
||||
from functools import partial
|
||||
|
|
@ -13,11 +14,13 @@ from jinja2 import Environment, FileSystemLoader, PrefixLoader, ChoiceLoader
|
|||
from jinja2.exceptions import TemplateNotFound
|
||||
|
||||
from pelican.contents import Article, Page, Category, is_valid_content
|
||||
from pelican.log import warning, error, debug, info
|
||||
from pelican.readers import read_file
|
||||
from pelican.utils import copy, process_translations, open
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Generator(object):
|
||||
"""Baseclass generator"""
|
||||
|
||||
|
|
@ -47,7 +50,7 @@ class Generator(object):
|
|||
extensions=self.settings.get('JINJA_EXTENSIONS', []),
|
||||
)
|
||||
|
||||
debug('template list: {0}'.format(self._env.list_templates()))
|
||||
logger.debug('template list: {0}'.format(self._env.list_templates()))
|
||||
|
||||
# get custom Jinja filters from user settings
|
||||
custom_filters = self.settings.get('JINJA_FILTERS', {})
|
||||
|
|
@ -216,20 +219,21 @@ class ArticlesGenerator(Generator):
|
|||
def generate_context(self):
|
||||
"""change the context"""
|
||||
|
||||
article_path = os.path.join(self.path, self.settings['ARTICLE_DIR'])
|
||||
all_articles = []
|
||||
for f in self.get_files(
|
||||
os.path.join(self.path, self.settings['ARTICLE_DIR']),
|
||||
article_path,
|
||||
exclude=self.settings['ARTICLE_EXCLUDES']):
|
||||
try:
|
||||
content, metadata = read_file(f, settings=self.settings)
|
||||
except Exception, e:
|
||||
warning(u'Could not process %s\n%s' % (f, str(e)))
|
||||
logger.warning(u'Could not process %s\n%s' % (f, str(e)))
|
||||
continue
|
||||
|
||||
# if no category is set, use the name of the path as a category
|
||||
if 'category' not in metadata:
|
||||
|
||||
if os.path.dirname(f) == self.path:
|
||||
if os.path.dirname(f) == article_path:
|
||||
category = self.settings['DEFAULT_CATEGORY']
|
||||
else:
|
||||
category = os.path.basename(os.path.dirname(f))\
|
||||
|
|
@ -326,7 +330,7 @@ class PagesGenerator(Generator):
|
|||
try:
|
||||
content, metadata = read_file(f)
|
||||
except Exception, e:
|
||||
error(u'Could not process %s\n%s' % (f, str(e)))
|
||||
logger.error(u'Could not process %s\n%s' % (f, str(e)))
|
||||
continue
|
||||
page = Page(content, metadata, settings=self.settings,
|
||||
filename=f)
|
||||
|
|
@ -388,7 +392,7 @@ class PdfGenerator(Generator):
|
|||
# print "Generating pdf for", obj.filename, " in ", output_pdf
|
||||
with open(obj.filename) as f:
|
||||
self.pdfcreator.createPdf(text=f, output=output_pdf)
|
||||
info(u' [ok] writing %s' % output_pdf)
|
||||
logger.info(u' [ok] writing %s' % output_pdf)
|
||||
|
||||
def generate_context(self):
|
||||
pass
|
||||
|
|
@ -396,13 +400,13 @@ class PdfGenerator(Generator):
|
|||
def generate_output(self, writer=None):
|
||||
# we don't use the writer passed as argument here
|
||||
# since we write our own files
|
||||
info(u' Generating PDF files...')
|
||||
logger.info(u' Generating PDF files...')
|
||||
pdf_path = os.path.join(self.output_path, 'pdf')
|
||||
if not os.path.exists(pdf_path):
|
||||
try:
|
||||
os.mkdir(pdf_path)
|
||||
except OSError:
|
||||
error("Couldn't create the pdf output folder in " + pdf_path)
|
||||
logger.error("Couldn't create the pdf output folder in " + pdf_path)
|
||||
pass
|
||||
|
||||
for article in self.context['articles']:
|
||||
|
|
|
|||
|
|
@ -1,22 +1,16 @@
|
|||
__all__ = [
|
||||
'init'
|
||||
]
|
||||
|
||||
import os
|
||||
import sys
|
||||
from logging import CRITICAL, ERROR, WARN, INFO, DEBUG
|
||||
from logging import critical, error, info, warning, warn, debug
|
||||
from logging import Formatter, getLogger, StreamHandler
|
||||
import logging
|
||||
|
||||
from logging import Formatter, getLogger, StreamHandler, DEBUG
|
||||
|
||||
|
||||
RESET_TERM = u'\033[0;m'
|
||||
|
||||
|
||||
def start_color(index):
|
||||
return u'\033[1;{0}m'.format(index)
|
||||
|
||||
|
||||
def term_color(color):
|
||||
code = COLOR_CODES[color]
|
||||
return lambda text: start_color(code) + unicode(text) + RESET_TERM
|
||||
|
||||
|
||||
COLOR_CODES = {
|
||||
'red': 31,
|
||||
'yellow': 33,
|
||||
|
|
@ -26,7 +20,11 @@ COLOR_CODES = {
|
|||
'bggrey': 100,
|
||||
}
|
||||
|
||||
ANSI = dict((col, term_color(col)) for col in COLOR_CODES)
|
||||
|
||||
def ansi(color, text):
|
||||
"""Wrap text in an ansi escape sequence"""
|
||||
code = COLOR_CODES[color]
|
||||
return u'\033[1;{0}m{1}{2}'.format(code, text, RESET_TERM)
|
||||
|
||||
|
||||
class ANSIFormatter(Formatter):
|
||||
|
|
@ -37,17 +35,17 @@ class ANSIFormatter(Formatter):
|
|||
|
||||
def format(self, record):
|
||||
if record.levelname is 'INFO':
|
||||
return ANSI['cyan']('-> ') + unicode(record.msg)
|
||||
return ansi('cyan', '-> ') + unicode(record.msg)
|
||||
elif record.levelname is 'WARNING':
|
||||
return ANSI['yellow'](record.levelname) + ': ' + unicode(record.msg)
|
||||
return ansi('yellow', record.levelname) + ': ' + unicode(record.msg)
|
||||
elif record.levelname is 'ERROR':
|
||||
return ANSI['red'](record.levelname) + ': ' + unicode(record.msg)
|
||||
return ansi('red', record.levelname) + ': ' + unicode(record.msg)
|
||||
elif record.levelname is 'CRITICAL':
|
||||
return ANSI['bgred'](record.levelname) + ': ' + unicode(record.msg)
|
||||
return ansi('bgred', record.levelname) + ': ' + unicode(record.msg)
|
||||
elif record.levelname is 'DEBUG':
|
||||
return ANSI['bggrey'](record.levelname) + ': ' + unicode(record.msg)
|
||||
return ansi('bggrey', record.levelname) + ': ' + unicode(record.msg)
|
||||
else:
|
||||
return ANSI['white'](record.levelname) + ': ' + unicode(record.msg)
|
||||
return ansi('white', record.levelname) + ': ' + unicode(record.msg)
|
||||
|
||||
|
||||
class TextFormatter(Formatter):
|
||||
|
|
@ -62,48 +60,27 @@ class TextFormatter(Formatter):
|
|||
return record.levelname + ': ' + record.msg
|
||||
|
||||
|
||||
class DummyFormatter(object):
|
||||
"""
|
||||
A dummy class.
|
||||
Return an instance of the appropriate formatter (ANSIFormatter if
|
||||
sys.stdout.isatty() is True, else TextFormatter)
|
||||
"""
|
||||
|
||||
def __new__(cls, *args, **kwargs):
|
||||
if os.isatty(sys.stdout.fileno())\
|
||||
and not sys.platform.startswith('win'):
|
||||
return ANSIFormatter(*args, **kwargs)
|
||||
else:
|
||||
return TextFormatter(*args, **kwargs)
|
||||
|
||||
|
||||
def init(level=None, logger=getLogger(), handler=StreamHandler()):
|
||||
fmt = DummyFormatter()
|
||||
logger = logging.getLogger()
|
||||
|
||||
if os.isatty(sys.stdout.fileno()) \
|
||||
and not sys.platform.startswith('win'):
|
||||
fmt = ANSIFormatter()
|
||||
else:
|
||||
fmt = TextFormatter()
|
||||
handler.setFormatter(fmt)
|
||||
logger.addHandler(handler)
|
||||
|
||||
if level:
|
||||
logger.setLevel(level)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
init(level=DEBUG)
|
||||
debug('debug')
|
||||
info('info')
|
||||
warning('warning')
|
||||
error('error')
|
||||
critical('critical')
|
||||
|
||||
|
||||
__all__ = [
|
||||
"debug",
|
||||
"info",
|
||||
"warn",
|
||||
"warning",
|
||||
"error",
|
||||
"critical",
|
||||
"DEBUG",
|
||||
"INFO",
|
||||
"WARN",
|
||||
"ERROR",
|
||||
"CRITICAL"
|
||||
]
|
||||
root_logger = logging.getLogger()
|
||||
root_logger.debug('debug')
|
||||
root_logger.info('info')
|
||||
root_logger.warning('warning')
|
||||
root_logger.error('error')
|
||||
root_logger.critical('critical')
|
||||
|
|
|
|||
|
|
@ -43,6 +43,10 @@ class Reader(object):
|
|||
|
||||
class _FieldBodyTranslator(HTMLTranslator):
|
||||
|
||||
def __init__(self, document):
|
||||
HTMLTranslator.__init__(self, document)
|
||||
self.compact_p = None
|
||||
|
||||
def astext(self):
|
||||
return ''.join(self.body)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,17 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
from os.path import isabs
|
||||
import locale
|
||||
import logging
|
||||
|
||||
from os.path import isabs
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
from pelican import log
|
||||
|
||||
DEFAULT_THEME = os.sep.join([os.path.dirname(os.path.abspath(__file__)),
|
||||
"themes/notmyidea"])
|
||||
_DEFAULT_CONFIG = {'PATH': None,
|
||||
_DEFAULT_CONFIG = {'PATH': '.',
|
||||
'ARTICLE_DIR': '',
|
||||
'ARTICLE_EXCLUDES': ('pages',),
|
||||
'PAGE_DIR': 'pages',
|
||||
|
|
@ -67,26 +71,45 @@ _DEFAULT_CONFIG = {'PATH': None,
|
|||
|
||||
|
||||
def read_settings(filename=None):
|
||||
if filename:
|
||||
local_settings = get_settings_from_file(filename)
|
||||
else:
|
||||
local_settings = _DEFAULT_CONFIG
|
||||
configured_settings = configure_settings(local_settings, None, filename)
|
||||
return configured_settings
|
||||
|
||||
|
||||
def get_settings_from_file(filename, default_settings=None):
|
||||
"""Load a Python file into a dictionary.
|
||||
"""
|
||||
context = _DEFAULT_CONFIG.copy()
|
||||
if default_settings == None:
|
||||
default_settings = _DEFAULT_CONFIG
|
||||
context = default_settings.copy()
|
||||
if filename:
|
||||
tempdict = {}
|
||||
execfile(filename, tempdict)
|
||||
for key in tempdict:
|
||||
if key.isupper():
|
||||
context[key] = tempdict[key]
|
||||
return context
|
||||
|
||||
# Make the paths relative to the settings file
|
||||
|
||||
def configure_settings(settings, default_settings=None, filename=None):
|
||||
"""Provide optimizations, error checking, and warnings for loaded settings"""
|
||||
if default_settings is None:
|
||||
default_settings = _DEFAULT_CONFIG
|
||||
|
||||
# Make the paths relative to the settings file
|
||||
if filename:
|
||||
for path in ['PATH', 'OUTPUT_PATH']:
|
||||
if path in context:
|
||||
if context[path] is not None and not isabs(context[path]):
|
||||
context[path] = os.path.abspath(os.path.normpath(
|
||||
os.path.join(os.path.dirname(filename), context[path]))
|
||||
if path in settings:
|
||||
if settings[path] is not None and not isabs(settings[path]):
|
||||
settings[path] = os.path.abspath(os.path.normpath(
|
||||
os.path.join(os.path.dirname(filename), settings[path]))
|
||||
)
|
||||
|
||||
# if locales is not a list, make it one
|
||||
locales = context['LOCALE']
|
||||
locales = settings['LOCALE']
|
||||
|
||||
if isinstance(locales, basestring):
|
||||
locales = [locales]
|
||||
|
|
@ -102,13 +125,28 @@ def read_settings(filename=None):
|
|||
except locale.Error:
|
||||
pass
|
||||
else:
|
||||
log.warn("LOCALE option doesn't contain a correct value")
|
||||
logger.warn("LOCALE option doesn't contain a correct value")
|
||||
|
||||
if not 'TIMEZONE' in context:
|
||||
log.warn("No timezone information specified in the settings. Assuming"
|
||||
if ('SITEURL' in settings):
|
||||
# If SITEURL has a trailing slash, remove it and provide a warning
|
||||
siteurl = settings['SITEURL']
|
||||
if (siteurl[len(siteurl) - 1:] == '/'):
|
||||
settings['SITEURL'] = siteurl[:-1]
|
||||
logger.warn("Removed extraneous trailing slash from SITEURL.")
|
||||
# If SITEURL is defined but FEED_DOMAIN isn't, set FEED_DOMAIN = SITEURL
|
||||
if not 'FEED_DOMAIN' in settings:
|
||||
settings['FEED_DOMAIN'] = settings['SITEURL']
|
||||
|
||||
# Warn if feeds are generated with both SITEURL & FEED_DOMAIN undefined
|
||||
if (('FEED' in settings) or ('FEED_RSS' in settings)) and (not 'FEED_DOMAIN' in settings):
|
||||
logger.warn("Since feed URLs should always be absolute, you should specify "
|
||||
"FEED_DOMAIN in your settings. (e.g., 'FEED_DOMAIN = "
|
||||
"http://www.example.com')")
|
||||
|
||||
if not 'TIMEZONE' in settings:
|
||||
logger.warn("No timezone information specified in the settings. Assuming"
|
||||
" your timezone is UTC for feed generation. Check "
|
||||
"http://docs.notmyidea.org/alexis/pelican/settings.html#timezone "
|
||||
"for more information")
|
||||
|
||||
# set the locale
|
||||
return context
|
||||
return settings
|
||||
|
|
|
|||
|
|
@ -26,8 +26,6 @@ body {
|
|||
text-align: left;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Headings */
|
||||
h1 {font-size: 2em }
|
||||
h2 {font-size: 1.571em} /* 22px */
|
||||
|
|
@ -113,6 +111,13 @@ cite {}
|
|||
|
||||
q {}
|
||||
|
||||
div.note {
|
||||
float: right;
|
||||
margin: 5px;
|
||||
font-size: 85%;
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
/* Tables */
|
||||
table {margin: .5em auto 1.5em auto; width: 98%;}
|
||||
|
||||
|
|
@ -304,7 +309,7 @@ img.left, figure.left {float: right; margin: 0 0 2em 2em;}
|
|||
.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*='last.fm'], .social a[href*='lastfm.'] {background-image: url('../images/icons/lastfm.png');}
|
||||
.social a[href*='atom.xml'] {background-image: url('../images/icons/rss.png');}
|
||||
.social a[type$='atom+xml'], .social a[type$='rss+xml'] {background-image: url('../images/icons/rss.png');}
|
||||
.social a[href*='twitter.com'] {background-image: url('../images/icons/twitter.png');}
|
||||
.social a[href*='linkedin.com'] {background-image: url('../images/icons/linkedin.png');}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" />
|
||||
<link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
|
||||
<link href="{{ FEED_DOMAIN }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
|
||||
{% if FEED_RSS %}
|
||||
<link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
|
||||
<link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
|
||||
{% endif %}
|
||||
|
||||
<!--[if IE]>
|
||||
|
|
@ -56,9 +56,9 @@
|
|||
<div class="social">
|
||||
<h2>social</h2>
|
||||
<ul>
|
||||
<li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate">atom feed</a></li>
|
||||
<li><a href="{{ FEED_DOMAIN }}/{{ FEED }}" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||
{% if FEED_RSS %}
|
||||
<li><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate">rss feed</a></li>
|
||||
<li><a href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||
{% endif %}
|
||||
|
||||
{% for name, link in SOCIAL %}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
{% endif %}
|
||||
{# other items #}
|
||||
{% else %}
|
||||
|
|
@ -44,17 +44,17 @@
|
|||
or not articles_page.has_previous() and loop.length > 1) %}
|
||||
{% include 'pagination.html' %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if loop.length > 1 or articles_page.has_previous() %}
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
{% endif %}
|
||||
{% if loop.last %}
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<section id="content" class="body">
|
||||
<h2>Pages</h2>
|
||||
{% for page in PAGES %}
|
||||
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
||||
{% endfor %}
|
||||
{% for page in PAGES %}
|
||||
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
||||
{% endfor %}
|
||||
</section>
|
||||
{% endif %}
|
||||
{% endblock content %}
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ ssh_upload: $$(OUTPUTDIR)/index.html
|
|||
\tscp -r $$(OUTPUTDIR)/* $$(SSH_USER)@$$(SSH_HOST):$$(SSH_TARGET_DIR)
|
||||
|
||||
ftp_upload: $$(OUTPUTDIR)/index.html
|
||||
\tlftp ftp://$$(FTP_USER)@$$(FTP_HOST) -e "mirror -R $$(OUTPUT_DIR)/* $$(FTP_TARGET_DIR) ; quit"
|
||||
\tlftp ftp://$$(FTP_USER)@$$(FTP_HOST) -e "mirror -R $$(OUTPUTDIR) $$(FTP_TARGET_DIR) ; quit"
|
||||
|
||||
github: $$(OUTPUTDIR)/index.html
|
||||
\tghp-import $$(OUTPUTDIR)
|
||||
|
|
|
|||
|
|
@ -1,14 +1,16 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
import pytz
|
||||
import re
|
||||
import pytz
|
||||
import shutil
|
||||
import logging
|
||||
|
||||
from codecs import open as _open
|
||||
from datetime import datetime
|
||||
from itertools import groupby
|
||||
from operator import attrgetter
|
||||
from pelican.log import warning, info
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def get_date(string):
|
||||
|
|
@ -71,16 +73,16 @@ def copy(path, source, destination, destination_path=None, overwrite=False):
|
|||
if os.path.isdir(source_):
|
||||
try:
|
||||
shutil.copytree(source_, destination_)
|
||||
info('copying %s to %s' % (source_, destination_))
|
||||
logger.info('copying %s to %s' % (source_, destination_))
|
||||
except OSError:
|
||||
if overwrite:
|
||||
shutil.rmtree(destination_)
|
||||
shutil.copytree(source_, destination_)
|
||||
info('replacement of %s with %s' % (source_, destination_))
|
||||
logger.info('replacement of %s with %s' % (source_, destination_))
|
||||
|
||||
elif os.path.isfile(source_):
|
||||
shutil.copy(source_, destination_)
|
||||
info('copying %s to %s' % (source_, destination_))
|
||||
logger.info('copying %s to %s' % (source_, destination_))
|
||||
|
||||
|
||||
def clean_output_dir(path):
|
||||
|
|
@ -186,14 +188,17 @@ def process_translations(content_list):
|
|||
default_lang_items = filter(attrgetter('in_default_lang'), items)
|
||||
len_ = len(default_lang_items)
|
||||
if len_ > 1:
|
||||
warning(u'there are %s variants of "%s"' % (len_, slug))
|
||||
logger.warning(u'there are %s variants of "%s"' % (len_, slug))
|
||||
for x in default_lang_items:
|
||||
warning(' %s' % x.filename)
|
||||
logger.warning(' %s' % x.filename)
|
||||
elif len_ == 0:
|
||||
default_lang_items = items[:1]
|
||||
|
||||
if not slug:
|
||||
warning('empty slug for %r' % (default_lang_items[0].filename,))
|
||||
msg = 'empty slug for %r. ' % default_lang_items[0].filename\
|
||||
+ 'You can fix this by adding a title or a slug to your '\
|
||||
+ 'content'
|
||||
logger.warning(msg)
|
||||
index.extend(default_lang_items)
|
||||
translations.extend(filter(
|
||||
lambda x: x not in default_lang_items,
|
||||
|
|
|
|||
|
|
@ -1,16 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import with_statement
|
||||
|
||||
import os
|
||||
import re
|
||||
import locale
|
||||
import logging
|
||||
|
||||
from codecs import open
|
||||
from functools import partial
|
||||
import locale
|
||||
import re
|
||||
|
||||
from feedgenerator import Atom1Feed, Rss201rev2Feed
|
||||
from pelican.paginator import Paginator
|
||||
from pelican.log import info
|
||||
from pelican.utils import get_relative_path, set_date_tzinfo
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Writer(object):
|
||||
|
||||
|
|
@ -23,7 +27,7 @@ class Writer(object):
|
|||
feed_class = Rss201rev2Feed if feed_type == 'rss' else Atom1Feed
|
||||
feed = feed_class(
|
||||
title=context['SITENAME'],
|
||||
link=self.site_url,
|
||||
link=(self.site_url + '/'),
|
||||
feed_url=self.feed_url,
|
||||
description=context.get('SITESUBTITLE', ''))
|
||||
return feed
|
||||
|
|
@ -32,8 +36,9 @@ class Writer(object):
|
|||
|
||||
feed.add_item(
|
||||
title=item.title,
|
||||
link='%s/%s' % (self.site_url, item.url),
|
||||
unique_id='%s/%s' % (self.site_url, item.url),
|
||||
link='%s%s' % (self.site_url, item.url),
|
||||
unique_id='tag:%s,%s:%s' % (self.site_url.replace('http://', ''),
|
||||
item.date.date(), item.url),
|
||||
description=item.content,
|
||||
categories=item.tags if hasattr(item, 'tags') else None,
|
||||
author_name=getattr(item, 'author', 'John Doe'),
|
||||
|
|
@ -55,7 +60,8 @@ class Writer(object):
|
|||
locale.setlocale(locale.LC_ALL, 'C')
|
||||
try:
|
||||
self.site_url = context.get('SITEURL', get_relative_path(filename))
|
||||
self.feed_url = '%s/%s' % (self.site_url, filename)
|
||||
self.feed_domain = context.get('FEED_DOMAIN')
|
||||
self.feed_url = '%s/%s' % (self.feed_domain, filename)
|
||||
|
||||
feed = self._create_new_feed(feed_type, context)
|
||||
|
||||
|
|
@ -73,7 +79,7 @@ class Writer(object):
|
|||
pass
|
||||
fp = open(complete_path, 'w')
|
||||
feed.write(fp, 'utf-8')
|
||||
info('writing %s' % complete_path)
|
||||
logger.info('writing %s' % complete_path)
|
||||
|
||||
fp.close()
|
||||
return feed
|
||||
|
|
@ -108,7 +114,7 @@ class Writer(object):
|
|||
pass
|
||||
with open(filename, 'w', encoding='utf-8') as f:
|
||||
f.write(output)
|
||||
info(u'writing %s' % filename)
|
||||
logger.info(u'writing %s' % filename)
|
||||
|
||||
localcontext = context.copy()
|
||||
if relative_urls:
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ SOCIAL = (('twitter', 'http://twitter.com/ametaireau'),
|
|||
DEFAULT_METADATA = (('yeah', 'it is'),)
|
||||
|
||||
# static paths will be copied under the same name
|
||||
STATIC_PATHS = ["pictures",]
|
||||
STATIC_PATHS = ["pictures", ]
|
||||
|
||||
# A list of files to copy from the source to the destination
|
||||
FILES_TO_COPY = (('extra/robots.txt', 'robots.txt'),)
|
||||
|
|
@ -37,4 +37,3 @@ FILES_TO_COPY = (('extra/robots.txt', 'robots.txt'),)
|
|||
# foobar will not be used, because it's not in caps. All configuration keys
|
||||
# have to be in caps
|
||||
foobar = "barbaz"
|
||||
|
||||
|
|
|
|||
3
setup.py
3
setup.py
|
|
@ -33,7 +33,8 @@ setup(
|
|||
'Environment :: Console',
|
||||
'License :: OSI Approved :: GNU Affero General Public License v3',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 2.6',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Topic :: Internet :: WWW/HTTP',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||
],
|
||||
|
|
|
|||
6
tests/content/TestCategory/article_with_category.rst
Normal file
6
tests/content/TestCategory/article_with_category.rst
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
This is an article with category !
|
||||
##################################
|
||||
|
||||
:category: yeah
|
||||
|
||||
This article should be in 'yeah' category.
|
||||
4
tests/content/TestCategory/article_without_category.rst
Normal file
4
tests/content/TestCategory/article_without_category.rst
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
This is an article without category !
|
||||
#####################################
|
||||
|
||||
This article should be in 'TestCategory' category.
|
||||
6
tests/content/article_without_category.rst
Normal file
6
tests/content/article_without_category.rst
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
This is an article without category !
|
||||
#####################################
|
||||
|
||||
This article should be in the DEFAULT_CATEGORY.
|
||||
|
||||
89
tests/output/basic/a-markdown-powered-article.html
Normal file
89
tests/output/basic/a-markdown-powered-article.html
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A markdown powered article</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href=".">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
<li class="active"><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Wed 20 April 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="./author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href="./category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>You're mutually oblivious.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
|
||||
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
94
tests/output/basic/archives.html
Normal file
94
tests/output/basic/archives.html
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A Pelican Blog</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href=".">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<h1>Archives for A Pelican Blog</h1>
|
||||
|
||||
<dl>
|
||||
|
||||
<dt>Fri 15 October 2010</dt>
|
||||
<dd><a href="unbelievable.html">Unbelievable !</a></dd>
|
||||
|
||||
<dt>Wed 20 October 2010</dt>
|
||||
<dd><a href="oh-yeah.html">Oh yeah !</a></dd>
|
||||
|
||||
<dt>Thu 02 December 2010</dt>
|
||||
<dd><a href="this-is-a-super-article.html">This is a super article !</a></dd>
|
||||
|
||||
<dt>Thu 17 February 2011</dt>
|
||||
<dd><a href="article-1.html">Article 1</a></dd>
|
||||
|
||||
<dt>Thu 17 February 2011</dt>
|
||||
<dd><a href="article-2.html">Article 2</a></dd>
|
||||
|
||||
<dt>Thu 17 February 2011</dt>
|
||||
<dd><a href="article-3.html">Article 3</a></dd>
|
||||
|
||||
<dt>Wed 20 April 2011</dt>
|
||||
<dd><a href="a-markdown-powered-article.html">A markdown powered article</a></dd>
|
||||
|
||||
<dt>Wed 29 February 2012</dt>
|
||||
<dd><a href="second-article.html">Second article</a></dd>
|
||||
|
||||
</dl>
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
90
tests/output/basic/article-1.html
Normal file
90
tests/output/basic/article-1.html
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Article 1</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href=".">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
<li class="active"><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="./author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href="./category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Article 1</p>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
|
||||
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
90
tests/output/basic/article-2.html
Normal file
90
tests/output/basic/article-2.html
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Article 2</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href=".">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
<li class="active"><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="./author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href="./category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Article 2</p>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
|
||||
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
90
tests/output/basic/article-3.html
Normal file
90
tests/output/basic/article-3.html
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Article 3</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href=".">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
<li class="active"><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="./author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href="./category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Article 3</p>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
|
||||
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
152
tests/output/basic/author/alexis-metaireau.html
Normal file
152
tests/output/basic/author/alexis-metaireau.html
Normal file
|
|
@ -0,0 +1,152 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A Pelican Blog - Alexis Métaireau</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href="../.">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././oh-yeah.html">Oh yeah !</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-20T10:14:00">
|
||||
Wed 20 October 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="../static/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
|
||||
</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=".././this-is-a-super-article.html" 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">
|
||||
Thu 02 December 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/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 -->
|
||||
Multi-line metadata should be supported
|
||||
as well as <strong>inline markup</strong>.
|
||||
<a class="readmore" href=".././this-is-a-super-article.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
286
tests/output/basic/author/bruno.html
Normal file
286
tests/output/basic/author/bruno.html
Normal file
|
|
@ -0,0 +1,286 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A Pelican Blog - bruno</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href="../.">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././a-markdown-powered-article.html">A markdown powered article</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-04-20T00:00:00">
|
||||
Wed 20 April 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info --><p>You're mutually oblivious.</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=".././article-1.html" 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">
|
||||
Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Article 1</p>
|
||||
|
||||
<a class="readmore" href=".././article-1.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././article-2.html" 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">
|
||||
Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Article 2</p>
|
||||
|
||||
<a class="readmore" href=".././article-2.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././article-3.html" 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">
|
||||
Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Article 3</p>
|
||||
|
||||
<a class="readmore" href=".././article-3.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././second-article.html" 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">
|
||||
Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/content.html">content</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=".././second-article.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././unbelievable.html" 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">
|
||||
Fri 15 October 2010
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/content.html">content</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Or completely awesome. Depends the needs.</p>
|
||||
|
||||
<a class="readmore" href=".././unbelievable.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
74
tests/output/basic/categories.html
Normal file
74
tests/output/basic/categories.html
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A Pelican Blog</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href=".">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<ul>
|
||||
|
||||
<li><a href="category/content.html">content</a></li>
|
||||
|
||||
<li><a href="category/cat1.html">cat1</a></li>
|
||||
|
||||
<li><a href="category/bar.html">bar</a></li>
|
||||
|
||||
<li><a href="category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
112
tests/output/basic/category/bar.html
Normal file
112
tests/output/basic/category/bar.html
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A Pelican Blog - bar</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href="../.">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li class="active"><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././oh-yeah.html">Oh yeah !</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-20T10:14:00">
|
||||
Wed 20 October 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="../static/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
</aside><!-- /#featured -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
211
tests/output/basic/category/cat1.html
Normal file
211
tests/output/basic/category/cat1.html
Normal file
|
|
@ -0,0 +1,211 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A Pelican Blog - cat1</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href="../.">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
<li class="active"><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././a-markdown-powered-article.html">A markdown powered article</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-04-20T00:00:00">
|
||||
Wed 20 April 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info --><p>You're mutually oblivious.</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=".././article-1.html" 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">
|
||||
Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Article 1</p>
|
||||
|
||||
<a class="readmore" href=".././article-1.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././article-2.html" 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">
|
||||
Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Article 2</p>
|
||||
|
||||
<a class="readmore" href=".././article-2.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././article-3.html" 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">
|
||||
Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Article 3</p>
|
||||
|
||||
<a class="readmore" href=".././article-3.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
147
tests/output/basic/category/content.html
Normal file
147
tests/output/basic/category/content.html
Normal file
|
|
@ -0,0 +1,147 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A Pelican Blog - content</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href="../.">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li class="active"><a href=".././category/content.html">content</a></li>
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././second-article.html">Second article</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-02-29T00:00:00">
|
||||
Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/content.html">content</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>
|
||||
|
||||
</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=".././unbelievable.html" 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">
|
||||
Fri 15 October 2010
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/content.html">content</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Or completely awesome. Depends the needs.</p>
|
||||
|
||||
<a class="readmore" href=".././unbelievable.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
113
tests/output/basic/category/yeah.html
Normal file
113
tests/output/basic/category/yeah.html
Normal file
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A Pelican Blog - yeah</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href="../.">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li class="active"><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././this-is-a-super-article.html">This is a super article !</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-12-02T10:14:00">
|
||||
Thu 02 December 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/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="../static/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
<img alt="alternate text" src="../static/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>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
</aside><!-- /#featured -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
91
tests/output/basic/drafts/a-draft-article.html
Normal file
91
tests/output/basic/drafts/a-draft-article.html
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A draft article</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href="../.">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li class="active"><a href=".././category/content.html">content</a></li>
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Fri 02 March 2012
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/content.html">content</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">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
25
tests/output/basic/feeds/all-en.atom.xml
Normal file
25
tests/output/basic/feeds/all-en.atom.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom"><title>A Pelican Blog</title><link href="../." rel="alternate"></link><link href=".././feeds/all-en.atom.xml" rel="self"></link><id>../.</id><updated>2012-02-29T00:00:00Z</updated><entry><title>Second article</title><link href=".././second-article.html" rel="alternate"></link><updated>2012-02-29T00:00:00Z</updated><author><name>bruno</name></author><id>.././second-article.html</id><summary type="html"><p>This is some article, in english</p>
|
||||
</summary><category term="foo"></category><category term="bar"></category><category term="baz"></category></entry><entry><title>A markdown powered article</title><link href=".././a-markdown-powered-article.html" rel="alternate"></link><updated>2011-04-20T00:00:00Z</updated><author><name>bruno</name></author><id>.././a-markdown-powered-article.html</id><summary type="html"><p>You're mutually oblivious.</p></summary></entry><entry><title>Article 1</title><link href=".././article-1.html" rel="alternate"></link><updated>2011-02-17T00:00:00Z</updated><author><name>bruno</name></author><id>.././article-1.html</id><summary type="html"><p>Article 1</p>
|
||||
</summary></entry><entry><title>Article 2</title><link href=".././article-2.html" rel="alternate"></link><updated>2011-02-17T00:00:00Z</updated><author><name>bruno</name></author><id>.././article-2.html</id><summary type="html"><p>Article 2</p>
|
||||
</summary></entry><entry><title>Article 3</title><link href=".././article-3.html" rel="alternate"></link><updated>2011-02-17T00:00:00Z</updated><author><name>bruno</name></author><id>.././article-3.html</id><summary type="html"><p>Article 3</p>
|
||||
</summary></entry><entry><title>This is a super article !</title><link href=".././this-is-a-super-article.html" rel="alternate"></link><updated>2010-12-02T10:14:00Z</updated><author><name>Alexis Métaireau</name></author><id>.././this-is-a-super-article.html</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="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">
|
||||
&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><entry><title>Oh yeah !</title><link href=".././oh-yeah.html" rel="alternate"></link><updated>2010-10-20T10:14:00Z</updated><author><name>Alexis Métaireau</name></author><id>.././oh-yeah.html</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="pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
</summary><category term="oh"></category><category term="bar"></category><category term="yeah"></category></entry><entry><title>Unbelievable !</title><link href=".././unbelievable.html" rel="alternate"></link><updated>2010-10-15T20:30:00Z</updated><author><name>bruno</name></author><id>.././unbelievable.html</id><summary type="html"><p>Or completely awesome. Depends the needs.</p>
|
||||
</summary></entry></feed>
|
||||
4
tests/output/basic/feeds/all-fr.atom.xml
Normal file
4
tests/output/basic/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>A Pelican Blog</title><link href="../." rel="alternate"></link><link href=".././feeds/all-fr.atom.xml" rel="self"></link><id>../.</id><updated>2012-03-02T14:01:01Z</updated><entry><title>Trop bien !</title><link href=".././oh-yeah-fr.html" rel="alternate"></link><updated>2012-03-02T14:01:01Z</updated><author><name>bruno</name></author><id>.././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=".././second-article-fr.html" rel="alternate"></link><updated>2012-02-29T00:00:00Z</updated><author><name>bruno</name></author><id>.././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>
|
||||
25
tests/output/basic/feeds/all.atom.xml
Normal file
25
tests/output/basic/feeds/all.atom.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom"><title>A Pelican Blog</title><link href="../." rel="alternate"></link><link href=".././feeds/all.atom.xml" rel="self"></link><id>../.</id><updated>2012-02-29T00:00:00Z</updated><entry><title>Second article</title><link href=".././second-article.html" rel="alternate"></link><updated>2012-02-29T00:00:00Z</updated><author><name>bruno</name></author><id>.././second-article.html</id><summary type="html"><p>This is some article, in english</p>
|
||||
</summary><category term="foo"></category><category term="bar"></category><category term="baz"></category></entry><entry><title>A markdown powered article</title><link href=".././a-markdown-powered-article.html" rel="alternate"></link><updated>2011-04-20T00:00:00Z</updated><author><name>bruno</name></author><id>.././a-markdown-powered-article.html</id><summary type="html"><p>You're mutually oblivious.</p></summary></entry><entry><title>Article 1</title><link href=".././article-1.html" rel="alternate"></link><updated>2011-02-17T00:00:00Z</updated><author><name>bruno</name></author><id>.././article-1.html</id><summary type="html"><p>Article 1</p>
|
||||
</summary></entry><entry><title>Article 2</title><link href=".././article-2.html" rel="alternate"></link><updated>2011-02-17T00:00:00Z</updated><author><name>bruno</name></author><id>.././article-2.html</id><summary type="html"><p>Article 2</p>
|
||||
</summary></entry><entry><title>Article 3</title><link href=".././article-3.html" rel="alternate"></link><updated>2011-02-17T00:00:00Z</updated><author><name>bruno</name></author><id>.././article-3.html</id><summary type="html"><p>Article 3</p>
|
||||
</summary></entry><entry><title>This is a super article !</title><link href=".././this-is-a-super-article.html" rel="alternate"></link><updated>2010-12-02T10:14:00Z</updated><author><name>Alexis Métaireau</name></author><id>.././this-is-a-super-article.html</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="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">
|
||||
&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><entry><title>Oh yeah !</title><link href=".././oh-yeah.html" rel="alternate"></link><updated>2010-10-20T10:14:00Z</updated><author><name>Alexis Métaireau</name></author><id>.././oh-yeah.html</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="pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
</summary><category term="oh"></category><category term="bar"></category><category term="yeah"></category></entry><entry><title>Unbelievable !</title><link href=".././unbelievable.html" rel="alternate"></link><updated>2010-10-15T20:30:00Z</updated><author><name>bruno</name></author><id>.././unbelievable.html</id><summary type="html"><p>Or completely awesome. Depends the needs.</p>
|
||||
</summary></entry></feed>
|
||||
8
tests/output/basic/feeds/bar.atom.xml
Normal file
8
tests/output/basic/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>A Pelican Blog</title><link href="../." rel="alternate"></link><link href=".././feeds/bar.atom.xml" rel="self"></link><id>../.</id><updated>2010-10-20T10:14:00Z</updated><entry><title>Oh yeah !</title><link href=".././oh-yeah.html" rel="alternate"></link><updated>2010-10-20T10:14:00Z</updated><author><name>Alexis Métaireau</name></author><id>.././oh-yeah.html</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="pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
</summary><category term="oh"></category><category term="bar"></category><category term="yeah"></category></entry></feed>
|
||||
5
tests/output/basic/feeds/cat1.atom.xml
Normal file
5
tests/output/basic/feeds/cat1.atom.xml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom"><title>A Pelican Blog</title><link href="../." rel="alternate"></link><link href=".././feeds/cat1.atom.xml" rel="self"></link><id>../.</id><updated>2011-04-20T00:00:00Z</updated><entry><title>A markdown powered article</title><link href=".././a-markdown-powered-article.html" rel="alternate"></link><updated>2011-04-20T00:00:00Z</updated><author><name>bruno</name></author><id>.././a-markdown-powered-article.html</id><summary type="html"><p>You're mutually oblivious.</p></summary></entry><entry><title>Article 1</title><link href=".././article-1.html" rel="alternate"></link><updated>2011-02-17T00:00:00Z</updated><author><name>bruno</name></author><id>.././article-1.html</id><summary type="html"><p>Article 1</p>
|
||||
</summary></entry><entry><title>Article 2</title><link href=".././article-2.html" rel="alternate"></link><updated>2011-02-17T00:00:00Z</updated><author><name>bruno</name></author><id>.././article-2.html</id><summary type="html"><p>Article 2</p>
|
||||
</summary></entry><entry><title>Article 3</title><link href=".././article-3.html" rel="alternate"></link><updated>2011-02-17T00:00:00Z</updated><author><name>bruno</name></author><id>.././article-3.html</id><summary type="html"><p>Article 3</p>
|
||||
</summary></entry></feed>
|
||||
4
tests/output/basic/feeds/content.atom.xml
Normal file
4
tests/output/basic/feeds/content.atom.xml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom"><title>A Pelican Blog</title><link href="../." rel="alternate"></link><link href=".././feeds/content.atom.xml" rel="self"></link><id>../.</id><updated>2012-02-29T00:00:00Z</updated><entry><title>Second article</title><link href=".././second-article.html" rel="alternate"></link><updated>2012-02-29T00:00:00Z</updated><author><name>bruno</name></author><id>.././second-article.html</id><summary type="html"><p>This is some article, in english</p>
|
||||
</summary><category term="foo"></category><category term="bar"></category><category term="baz"></category></entry><entry><title>Unbelievable !</title><link href=".././unbelievable.html" rel="alternate"></link><updated>2010-10-15T20:30:00Z</updated><author><name>bruno</name></author><id>.././unbelievable.html</id><summary type="html"><p>Or completely awesome. Depends the needs.</p>
|
||||
</summary></entry></feed>
|
||||
14
tests/output/basic/feeds/yeah.atom.xml
Normal file
14
tests/output/basic/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>A Pelican Blog</title><link href="../." rel="alternate"></link><link href=".././feeds/yeah.atom.xml" rel="self"></link><id>../.</id><updated>2010-12-02T10:14:00Z</updated><entry><title>This is a super article !</title><link href=".././this-is-a-super-article.html" rel="alternate"></link><updated>2010-12-02T10:14:00Z</updated><author><name>Alexis Métaireau</name></author><id>.././this-is-a-super-article.html</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="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">
|
||||
&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>
|
||||
366
tests/output/basic/index.html
Normal file
366
tests/output/basic/index.html
Normal file
|
|
@ -0,0 +1,366 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A Pelican Blog</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href=".">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href="./second-article.html">Second article</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-02-29T00:00:00">
|
||||
Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="./author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href="./category/content.html">content</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>
|
||||
|
||||
</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="./a-markdown-powered-article.html" 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">
|
||||
Wed 20 April 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="./author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href="./category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>You're mutually oblivious.</p>
|
||||
<a class="readmore" href="./a-markdown-powered-article.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href="./article-1.html" 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">
|
||||
Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="./author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href="./category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Article 1</p>
|
||||
|
||||
<a class="readmore" href="./article-1.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href="./article-2.html" 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">
|
||||
Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="./author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href="./category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Article 2</p>
|
||||
|
||||
<a class="readmore" href="./article-2.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href="./article-3.html" 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">
|
||||
Thu 17 February 2011
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="./author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href="./category/cat1.html">cat1</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Article 3</p>
|
||||
|
||||
<a class="readmore" href="./article-3.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href="./this-is-a-super-article.html" 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">
|
||||
Thu 02 December 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/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 -->
|
||||
Multi-line metadata should be supported
|
||||
as well as <strong>inline markup</strong>.
|
||||
<a class="readmore" href="./this-is-a-super-article.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href="./oh-yeah.html" 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">
|
||||
Wed 20 October 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="static/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
|
||||
<a class="readmore" href="./oh-yeah.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href="./unbelievable.html" 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">
|
||||
Fri 15 October 2010
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="./author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href="./category/content.html">content</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Or completely awesome. Depends the needs.</p>
|
||||
|
||||
<a class="readmore" href="./unbelievable.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
95
tests/output/basic/oh-yeah-fr.html
Normal file
95
tests/output/basic/oh-yeah-fr.html
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Trop bien !</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href=".">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li class="active"><a href="./category/content.html">content</a></li>
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Fri 02 March 2012
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="./author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href="./category/content.html">content</a>. </p>
|
||||
|
||||
|
||||
|
||||
Translations:
|
||||
|
||||
<a href="./oh-yeah.html">en</a>
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Et voila du contenu en français</p>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
|
||||
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
100
tests/output/basic/oh-yeah.html
Normal file
100
tests/output/basic/oh-yeah.html
Normal file
|
|
@ -0,0 +1,100 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Oh yeah !</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href=".">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li class="active"><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Wed 20 October 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="static/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
|
||||
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
70
tests/output/basic/pages/this-is-a-test-page.html
Normal file
70
tests/output/basic/pages/this-is-a-test-page.html
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>This is a test page</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href="../.">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</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="../static/pictures/Fat_Cat.jpg" style="width: 600px; height: 450px;" />
|
||||
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
95
tests/output/basic/second-article-fr.html
Normal file
95
tests/output/basic/second-article-fr.html
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Deuxième article</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href=".">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li class="active"><a href="./category/content.html">content</a></li>
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="./author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href="./category/content.html">content</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.html">en</a>
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Ceci est un article, en français.</p>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
|
||||
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
95
tests/output/basic/second-article.html
Normal file
95
tests/output/basic/second-article.html
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Second article</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href=".">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li class="active"><a href="./category/content.html">content</a></li>
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="./author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href="./category/content.html">content</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 -->
|
||||
|
||||
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
232
tests/output/basic/tag/bar.html
Normal file
232
tests/output/basic/tag/bar.html
Normal file
|
|
@ -0,0 +1,232 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A Pelican Blog - bar</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href="../.">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././second-article-fr.html">Deuxième article</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-02-29T00:00:00">
|
||||
Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/content.html">content</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.html">en</a>
|
||||
|
||||
|
||||
</footer><!-- /.post-info --><p>Ceci est un article, en français.</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=".././second-article.html" 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">
|
||||
Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/content.html">content</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=".././second-article.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././this-is-a-super-article.html" 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">
|
||||
Thu 02 December 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/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 -->
|
||||
Multi-line metadata should be supported
|
||||
as well as <strong>inline markup</strong>.
|
||||
<a class="readmore" href=".././this-is-a-super-article.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././oh-yeah.html" 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">
|
||||
Wed 20 October 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="../static/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
|
||||
<a class="readmore" href=".././oh-yeah.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
152
tests/output/basic/tag/baz.html
Normal file
152
tests/output/basic/tag/baz.html
Normal file
|
|
@ -0,0 +1,152 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A Pelican Blog - baz</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href="../.">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././second-article-fr.html">Deuxième article</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-02-29T00:00:00">
|
||||
Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/content.html">content</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.html">en</a>
|
||||
|
||||
|
||||
</footer><!-- /.post-info --><p>Ceci est un article, en français.</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=".././second-article.html" 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">
|
||||
Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/content.html">content</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=".././second-article.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
187
tests/output/basic/tag/foo.html
Normal file
187
tests/output/basic/tag/foo.html
Normal file
|
|
@ -0,0 +1,187 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A Pelican Blog - foo</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href="../.">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././second-article-fr.html">Deuxième article</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-02-29T00:00:00">
|
||||
Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/content.html">content</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.html">en</a>
|
||||
|
||||
|
||||
</footer><!-- /.post-info --><p>Ceci est un article, en français.</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=".././second-article.html" 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">
|
||||
Wed 29 February 2012
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href=".././author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href=".././category/content.html">content</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=".././second-article.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././this-is-a-super-article.html" 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">
|
||||
Thu 02 December 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/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 -->
|
||||
Multi-line metadata should be supported
|
||||
as well as <strong>inline markup</strong>.
|
||||
<a class="readmore" href=".././this-is-a-super-article.html">read more</a>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
113
tests/output/basic/tag/foobar.html
Normal file
113
tests/output/basic/tag/foobar.html
Normal file
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A Pelican Blog - foobar</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href="../.">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././this-is-a-super-article.html">This is a super article !</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-12-02T10:14:00">
|
||||
Thu 02 December 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/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="../static/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
<img alt="alternate text" src="../static/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>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
</aside><!-- /#featured -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
112
tests/output/basic/tag/oh.html
Normal file
112
tests/output/basic/tag/oh.html
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A Pelican Blog - oh</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href="../.">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././oh-yeah.html">Oh yeah !</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-20T10:14:00">
|
||||
Wed 20 October 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="../static/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
</aside><!-- /#featured -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
112
tests/output/basic/tag/yeah.html
Normal file
112
tests/output/basic/tag/yeah.html
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A Pelican Blog - yeah</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href="../.">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././oh-yeah.html">Oh yeah !</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-20T10:14:00">
|
||||
Wed 20 October 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="../static/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
</aside><!-- /#featured -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
0
tests/output/basic/tags.html
Normal file
0
tests/output/basic/tags.html
Normal file
423
tests/output/basic/theme/css/main.css
Normal file
423
tests/output/basic/theme/css/main.css
Normal file
|
|
@ -0,0 +1,423 @@
|
|||
/*
|
||||
Name: Smashing HTML5
|
||||
Date: July 2009
|
||||
Description: Sample layout for HTML5 and CSS3 goodness.
|
||||
Version: 1.0
|
||||
Author: Enrique Ramírez
|
||||
Autor URI: http://enrique-ramirez.com
|
||||
*/
|
||||
|
||||
/* Imports */
|
||||
@import url("reset.css");
|
||||
@import url("pygment.css");
|
||||
@import url("typogrify.css");
|
||||
@import url(http://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 */
|
||||
p {margin-bottom: 1.143em;}
|
||||
|
||||
strong, b {font-weight: bold;}
|
||||
em, i {font-style: italic;}
|
||||
|
||||
::-moz-selection {background: #F6CF74; color: #fff;}
|
||||
::selection {background: #F6CF74; color: #fff;}
|
||||
|
||||
/* Lists */
|
||||
ul {
|
||||
list-style: outside disc;
|
||||
margin: 1em 0 1.5em 1.5em;
|
||||
}
|
||||
|
||||
ol {
|
||||
list-style: outside decimal;
|
||||
margin: 1em 0 1.5em 1.5em;
|
||||
}
|
||||
|
||||
.post-info {
|
||||
float:right;
|
||||
margin:10px;
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
.post-info p{
|
||||
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: #000; padding: 10px; color: #fff; margin: 10px; overflow: auto;}
|
||||
|
||||
/* Quotes */
|
||||
blockquote {
|
||||
margin: 20px;
|
||||
font-style: italic;
|
||||
}
|
||||
cite {}
|
||||
|
||||
q {}
|
||||
|
||||
/* 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: right; margin: 0 0 2em 2em;}
|
||||
|
||||
/*
|
||||
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;
|
||||
width: 427px;
|
||||
}
|
||||
#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*='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*='last.fm'], .social a[href*='lastfm.'] {background-image: url('../images/icons/lastfm.png');}
|
||||
.social a[type$='atom+xml'], .social a[type$='rss+xml'] {background-image: url('../images/icons/rss.png');}
|
||||
.social a[href*='twitter.com'] {background-image: url('../images/icons/twitter.png');}
|
||||
.social a[href*='linkedin.com'] {background-image: url('../images/icons/linkedin.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
tests/output/basic/theme/css/pygment.css
Normal file
205
tests/output/basic/theme/css/pygment.css
Normal file
|
|
@ -0,0 +1,205 @@
|
|||
.hll {
|
||||
background-color:#FFFFCC;
|
||||
}
|
||||
.c {
|
||||
color:#408090;
|
||||
font-style:italic;
|
||||
}
|
||||
.err {
|
||||
border:1px solid #FF0000;
|
||||
}
|
||||
.k {
|
||||
color:#007020;
|
||||
font-weight:bold;
|
||||
}
|
||||
.o {
|
||||
color:#666666;
|
||||
}
|
||||
.cm {
|
||||
color:#408090;
|
||||
font-style:italic;
|
||||
}
|
||||
.cp {
|
||||
color:#007020;
|
||||
}
|
||||
.c1 {
|
||||
color:#408090;
|
||||
font-style:italic;
|
||||
}
|
||||
.cs {
|
||||
background-color:#FFF0F0;
|
||||
color:#408090;
|
||||
}
|
||||
.gd {
|
||||
color:#A00000;
|
||||
}
|
||||
.ge {
|
||||
font-style:italic;
|
||||
}
|
||||
.gr {
|
||||
color:#FF0000;
|
||||
}
|
||||
.gh {
|
||||
color:#000080;
|
||||
font-weight:bold;
|
||||
}
|
||||
.gi {
|
||||
color:#00A000;
|
||||
}
|
||||
.go {
|
||||
color:#303030;
|
||||
}
|
||||
.gp {
|
||||
color:#C65D09;
|
||||
font-weight:bold;
|
||||
}
|
||||
.gs {
|
||||
font-weight:bold;
|
||||
}
|
||||
.gu {
|
||||
color:#800080;
|
||||
font-weight:bold;
|
||||
}
|
||||
.gt {
|
||||
color:#0040D0;
|
||||
}
|
||||
.kc {
|
||||
color:#007020;
|
||||
font-weight:bold;
|
||||
}
|
||||
.kd {
|
||||
color:#007020;
|
||||
font-weight:bold;
|
||||
}
|
||||
.kn {
|
||||
color:#007020;
|
||||
font-weight:bold;
|
||||
}
|
||||
.kp {
|
||||
color:#007020;
|
||||
}
|
||||
.kr {
|
||||
color:#007020;
|
||||
font-weight:bold;
|
||||
}
|
||||
.kt {
|
||||
color:#902000;
|
||||
}
|
||||
.m {
|
||||
color:#208050;
|
||||
}
|
||||
.s {
|
||||
color:#4070A0;
|
||||
}
|
||||
.na {
|
||||
color:#4070A0;
|
||||
}
|
||||
.nb {
|
||||
color:#007020;
|
||||
}
|
||||
.nc {
|
||||
color:#0E84B5;
|
||||
font-weight:bold;
|
||||
}
|
||||
.no {
|
||||
color:#60ADD5;
|
||||
}
|
||||
.nd {
|
||||
color:#555555;
|
||||
font-weight:bold;
|
||||
}
|
||||
.ni {
|
||||
color:#D55537;
|
||||
font-weight:bold;
|
||||
}
|
||||
.ne {
|
||||
color:#007020;
|
||||
}
|
||||
.nf {
|
||||
color:#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
tests/output/basic/theme/css/reset.css
Normal file
52
tests/output/basic/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;
|
||||
}
|
||||
3
tests/output/basic/theme/css/typogrify.css
Normal file
3
tests/output/basic/theme/css/typogrify.css
Normal file
|
|
@ -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;}
|
||||
43
tests/output/basic/theme/css/wide.css
Normal file
43
tests/output/basic/theme/css/wide.css
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
@import url("main.css");
|
||||
|
||||
body {
|
||||
font:1.3em/1.3 "Hoefler Text","Georgia",Georgia,serif,sans-serif;
|
||||
}
|
||||
|
||||
.body, #banner nav, #banner nav ul, #about, #featured, #content{
|
||||
width: inherit;
|
||||
}
|
||||
|
||||
#banner nav {
|
||||
-moz-border-radius: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
#banner nav ul{
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
#banner nav li{
|
||||
float: right;
|
||||
}
|
||||
|
||||
#banner nav li:first-child a {
|
||||
-moz-border-radius: 0px;
|
||||
}
|
||||
|
||||
#banner h1 {
|
||||
margin-bottom: -18px;
|
||||
}
|
||||
|
||||
#featured, #extras {
|
||||
padding: 50px;
|
||||
}
|
||||
|
||||
#featured {
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
#extras {
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
BIN
tests/output/basic/theme/images/icons/delicious.png
Normal file
BIN
tests/output/basic/theme/images/icons/delicious.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 963 B |
BIN
tests/output/basic/theme/images/icons/lastfm.png
Normal file
BIN
tests/output/basic/theme/images/icons/lastfm.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 980 B |
BIN
tests/output/basic/theme/images/icons/linkedin.png
Normal file
BIN
tests/output/basic/theme/images/icons/linkedin.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 376 B |
BIN
tests/output/basic/theme/images/icons/rss.png
Normal file
BIN
tests/output/basic/theme/images/icons/rss.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 896 B |
BIN
tests/output/basic/theme/images/icons/twitter.png
Normal file
BIN
tests/output/basic/theme/images/icons/twitter.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 835 B |
101
tests/output/basic/this-is-a-super-article.html
Normal file
101
tests/output/basic/this-is-a-super-article.html
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>This is a super article !</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href=".">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li class="active"><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Thu 02 December 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/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="static/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
<img alt="alternate text" src="static/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 -->
|
||||
|
||||
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
90
tests/output/basic/unbelievable.html
Normal file
90
tests/output/basic/unbelievable.html
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Unbelievable !</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
|
||||
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
|
||||
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index" class="home">
|
||||
|
||||
<header id="banner" class="body">
|
||||
<h1><a href=".">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
|
||||
|
||||
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li class="active"><a href="./category/content.html">content</a></li>
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Fri 15 October 2010
|
||||
</abbr>
|
||||
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="./author/bruno.html">bruno</a>
|
||||
</address>
|
||||
|
||||
<p>In <a href="./category/content.html">content</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Or completely awesome. Depends the needs.</p>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
|
||||
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
||||
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
Proudly powered by <a href="http://pelican.notmyidea.org/">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 -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
157
tests/output/custom/a-markdown-powered-article.html
Normal file
157
tests/output/custom/a-markdown-powered-article.html
Normal file
|
|
@ -0,0 +1,157 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A markdown powered article</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![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="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li class="active"><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Wed 20 April 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>
|
||||
</div><!-- /.entry-content -->
|
||||
|
||||
<div class="comments">
|
||||
<h2>Comments !</h2>
|
||||
<div id="disqus_thread"></div>
|
||||
<script type="text/javascript">
|
||||
var disqus_identifier = "a-markdown-powered-article.html";
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = 'http://blog-notmyidea.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
149
tests/output/custom/archives.html
Normal file
149
tests/output/custom/archives.html
Normal file
|
|
@ -0,0 +1,149 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Alexis' log</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![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="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<h1>Archives for Alexis' log</h1>
|
||||
|
||||
<dl>
|
||||
|
||||
<dt>Fri 15 October 2010</dt>
|
||||
<dd><a href="unbelievable.html">Unbelievable !</a></dd>
|
||||
|
||||
<dt>Wed 20 October 2010</dt>
|
||||
<dd><a href="oh-yeah.html">Oh yeah !</a></dd>
|
||||
|
||||
<dt>Thu 02 December 2010</dt>
|
||||
<dd><a href="this-is-a-super-article.html">This is a super article !</a></dd>
|
||||
|
||||
<dt>Thu 17 February 2011</dt>
|
||||
<dd><a href="article-1.html">Article 1</a></dd>
|
||||
|
||||
<dt>Thu 17 February 2011</dt>
|
||||
<dd><a href="article-2.html">Article 2</a></dd>
|
||||
|
||||
<dt>Thu 17 February 2011</dt>
|
||||
<dd><a href="article-3.html">Article 3</a></dd>
|
||||
|
||||
<dt>Wed 20 April 2011</dt>
|
||||
<dd><a href="a-markdown-powered-article.html">A markdown powered article</a></dd>
|
||||
|
||||
<dt>Wed 29 February 2012</dt>
|
||||
<dd><a href="second-article.html">Second article</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
158
tests/output/custom/article-1.html
Normal file
158
tests/output/custom/article-1.html
Normal file
|
|
@ -0,0 +1,158 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Article 1</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![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="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li class="active"><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Thu 17 February 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_identifier = "article-1.html";
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = 'http://blog-notmyidea.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
158
tests/output/custom/article-2.html
Normal file
158
tests/output/custom/article-2.html
Normal file
|
|
@ -0,0 +1,158 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Article 2</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![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="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li class="active"><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Thu 17 February 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_identifier = "article-2.html";
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = 'http://blog-notmyidea.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
158
tests/output/custom/article-3.html
Normal file
158
tests/output/custom/article-3.html
Normal file
|
|
@ -0,0 +1,158 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Article 3</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![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="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li class="active"><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Thu 17 February 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_identifier = "article-3.html";
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = 'http://blog-notmyidea.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
274
tests/output/custom/author/alexis-metaireau.html
Normal file
274
tests/output/custom/author/alexis-metaireau.html
Normal file
|
|
@ -0,0 +1,274 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Alexis' log - Alexis Métaireau</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![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=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././a-markdown-powered-article.html">A markdown powered article</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-04-20T00:00:00">
|
||||
Wed 20 April 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>There are <a href=".././a-markdown-powered-article.html#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=".././article-1.html" 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">
|
||||
Thu 17 February 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=".././article-1.html">read more</a>
|
||||
<p>There are <a href=".././article-1.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././article-2.html" 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">
|
||||
Thu 17 February 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=".././article-2.html">read more</a>
|
||||
<p>There are <a href=".././article-2.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././article-3.html" 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">
|
||||
Thu 17 February 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=".././article-3.html">read more</a>
|
||||
<p>There are <a href=".././article-3.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
<p class="paginator">
|
||||
|
||||
Page 1 / 2
|
||||
|
||||
<a href=".././author/Alexis Métaireau2.html">»</a>
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
294
tests/output/custom/author/alexis-metaireau2.html
Normal file
294
tests/output/custom/author/alexis-metaireau2.html
Normal file
|
|
@ -0,0 +1,294 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Alexis' log - Alexis Métaireau</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![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=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
<li ><a href=".././category/content.html">content</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=".././oh-yeah.html" 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">
|
||||
Wed 20 October 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="../static/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
|
||||
<a class="readmore" href=".././oh-yeah.html">read more</a>
|
||||
<p>There are <a href=".././oh-yeah.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././second-article.html" 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">
|
||||
Wed 29 February 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/content.html">content</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=".././second-article.html">read more</a>
|
||||
<p>There are <a href=".././second-article.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././this-is-a-super-article.html" 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">
|
||||
Thu 02 December 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/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 -->
|
||||
Multi-line metadata should be supported
|
||||
as well as <strong>inline markup</strong>.
|
||||
<a class="readmore" href=".././this-is-a-super-article.html">read more</a>
|
||||
<p>There are <a href=".././this-is-a-super-article.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././unbelievable.html" 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">
|
||||
Fri 15 October 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/content.html">content</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Or completely awesome. Depends the needs.</p>
|
||||
|
||||
<a class="readmore" href=".././unbelievable.html">read more</a>
|
||||
<p>There are <a href=".././unbelievable.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
<p class="paginator">
|
||||
|
||||
|
||||
<a href=".././author/Alexis Métaireau.html">«</a>
|
||||
|
||||
|
||||
Page 2 / 2
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
129
tests/output/custom/categories.html
Normal file
129
tests/output/custom/categories.html
Normal file
|
|
@ -0,0 +1,129 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Alexis' log</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![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="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<ul>
|
||||
|
||||
<li><a href="category/cat1.html">cat1</a></li>
|
||||
|
||||
<li><a href="category/bar.html">bar</a></li>
|
||||
|
||||
<li><a href="category/yeah.html">yeah</a></li>
|
||||
|
||||
<li><a href="category/content.html">content</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
173
tests/output/custom/category/bar.html
Normal file
173
tests/output/custom/category/bar.html
Normal file
|
|
@ -0,0 +1,173 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Alexis' log - bar</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![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=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li class="active"><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././oh-yeah.html">Oh yeah !</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-20T10:14:00">
|
||||
Wed 20 October 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="../static/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
<p>There are <a href=".././oh-yeah.html#disqus_thread">comments</a>.</p>
|
||||
</article>
|
||||
|
||||
|
||||
<p class="paginator">
|
||||
|
||||
Page 1 / 1
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
</aside><!-- /#featured -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
272
tests/output/custom/category/cat1.html
Normal file
272
tests/output/custom/category/cat1.html
Normal file
|
|
@ -0,0 +1,272 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Alexis' log - cat1</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![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=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li class="active"><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././a-markdown-powered-article.html">A markdown powered article</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-04-20T00:00:00">
|
||||
Wed 20 April 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>There are <a href=".././a-markdown-powered-article.html#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=".././article-1.html" 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">
|
||||
Thu 17 February 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=".././article-1.html">read more</a>
|
||||
<p>There are <a href=".././article-1.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././article-2.html" 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">
|
||||
Thu 17 February 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=".././article-2.html">read more</a>
|
||||
<p>There are <a href=".././article-2.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href=".././article-3.html" 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">
|
||||
Thu 17 February 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=".././article-3.html">read more</a>
|
||||
<p>There are <a href=".././article-3.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
<p class="paginator">
|
||||
|
||||
Page 1 / 1
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
208
tests/output/custom/category/content.html
Normal file
208
tests/output/custom/category/content.html
Normal file
|
|
@ -0,0 +1,208 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Alexis' log - content</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![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=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
<li class="active"><a href=".././category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././second-article.html">Second article</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-02-29T00:00:00">
|
||||
Wed 29 February 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/content.html">content</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=".././second-article.html#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=".././unbelievable.html" 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">
|
||||
Fri 15 October 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/content.html">content</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Or completely awesome. Depends the needs.</p>
|
||||
|
||||
<a class="readmore" href=".././unbelievable.html">read more</a>
|
||||
<p>There are <a href=".././unbelievable.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
<p class="paginator">
|
||||
|
||||
Page 1 / 1
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
174
tests/output/custom/category/yeah.html
Normal file
174
tests/output/custom/category/yeah.html
Normal file
|
|
@ -0,0 +1,174 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Alexis' log - yeah</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![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=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li class="active"><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
<li ><a href=".././category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href=".././this-is-a-super-article.html">This is a super article !</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-12-02T10:14:00">
|
||||
Thu 02 December 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/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="../static/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
<img alt="alternate text" src="../static/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=".././this-is-a-super-article.html#disqus_thread">comments</a>.</p>
|
||||
</article>
|
||||
|
||||
|
||||
<p class="paginator">
|
||||
|
||||
Page 1 / 1
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
</aside><!-- /#featured -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
159
tests/output/custom/drafts/a-draft-article.html
Normal file
159
tests/output/custom/drafts/a-draft-article.html
Normal file
|
|
@ -0,0 +1,159 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>A draft article</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![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=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
<li class="active"><a href=".././category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Fri 02 March 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/content.html">content</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 -->
|
||||
|
||||
<div class="comments">
|
||||
<h2>Comments !</h2>
|
||||
<div id="disqus_thread"></div>
|
||||
<script type="text/javascript">
|
||||
var disqus_identifier = "a-draft-article.html";
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = 'http://blog-notmyidea.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
25
tests/output/custom/feeds/all-en.atom.xml
Normal file
25
tests/output/custom/feeds/all-en.atom.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?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-en.atom.xml" rel="self"></link><id>http://blog.notmyidea.org</id><updated>2012-02-29T00:00:00+01:00</updated><entry><title>Second article</title><link href="http://blog.notmyidea.org/second-article.html" rel="alternate"></link><updated>2012-02-29T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/second-article.html</id><summary type="html"><p>This is some article, in english</p>
|
||||
</summary><category term="foo"></category><category term="bar"></category><category term="baz"></category></entry><entry><title>A markdown powered article</title><link href="http://blog.notmyidea.org/a-markdown-powered-article.html" rel="alternate"></link><updated>2011-04-20T00:00:00+02:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/a-markdown-powered-article.html</id><summary type="html"><p>You're mutually oblivious.</p></summary></entry><entry><title>Article 1</title><link href="http://blog.notmyidea.org/article-1.html" rel="alternate"></link><updated>2011-02-17T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/article-1.html</id><summary type="html"><p>Article 1</p>
|
||||
</summary></entry><entry><title>Article 2</title><link href="http://blog.notmyidea.org/article-2.html" rel="alternate"></link><updated>2011-02-17T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/article-2.html</id><summary type="html"><p>Article 2</p>
|
||||
</summary></entry><entry><title>Article 3</title><link href="http://blog.notmyidea.org/article-3.html" rel="alternate"></link><updated>2011-02-17T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/article-3.html</id><summary type="html"><p>Article 3</p>
|
||||
</summary></entry><entry><title>This is a super article !</title><link href="http://blog.notmyidea.org/this-is-a-super-article.html" rel="alternate"></link><updated>2010-12-02T10:14:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/this-is-a-super-article.html</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="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">
|
||||
&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><entry><title>Oh yeah !</title><link href="http://blog.notmyidea.org/oh-yeah.html" rel="alternate"></link><updated>2010-10-20T10:14:00+02:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/oh-yeah.html</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="pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
</summary><category term="oh"></category><category term="bar"></category><category term="yeah"></category></entry><entry><title>Unbelievable !</title><link href="http://blog.notmyidea.org/unbelievable.html" rel="alternate"></link><updated>2010-10-15T20:30:00+02:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/unbelievable.html</id><summary type="html"><p>Or completely awesome. Depends the needs.</p>
|
||||
</summary></entry></feed>
|
||||
4
tests/output/custom/feeds/all-fr.atom.xml
Normal file
4
tests/output/custom/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>http://blog.notmyidea.org/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>http://blog.notmyidea.org/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>
|
||||
25
tests/output/custom/feeds/all.atom.xml
Normal file
25
tests/output/custom/feeds/all.atom.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?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.atom.xml" rel="self"></link><id>http://blog.notmyidea.org</id><updated>2012-02-29T00:00:00+01:00</updated><entry><title>Second article</title><link href="http://blog.notmyidea.org/second-article.html" rel="alternate"></link><updated>2012-02-29T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/second-article.html</id><summary type="html"><p>This is some article, in english</p>
|
||||
</summary><category term="foo"></category><category term="bar"></category><category term="baz"></category></entry><entry><title>A markdown powered article</title><link href="http://blog.notmyidea.org/a-markdown-powered-article.html" rel="alternate"></link><updated>2011-04-20T00:00:00+02:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/a-markdown-powered-article.html</id><summary type="html"><p>You're mutually oblivious.</p></summary></entry><entry><title>Article 1</title><link href="http://blog.notmyidea.org/article-1.html" rel="alternate"></link><updated>2011-02-17T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/article-1.html</id><summary type="html"><p>Article 1</p>
|
||||
</summary></entry><entry><title>Article 2</title><link href="http://blog.notmyidea.org/article-2.html" rel="alternate"></link><updated>2011-02-17T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/article-2.html</id><summary type="html"><p>Article 2</p>
|
||||
</summary></entry><entry><title>Article 3</title><link href="http://blog.notmyidea.org/article-3.html" rel="alternate"></link><updated>2011-02-17T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/article-3.html</id><summary type="html"><p>Article 3</p>
|
||||
</summary></entry><entry><title>This is a super article !</title><link href="http://blog.notmyidea.org/this-is-a-super-article.html" rel="alternate"></link><updated>2010-12-02T10:14:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/this-is-a-super-article.html</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="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">
|
||||
&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><entry><title>Oh yeah !</title><link href="http://blog.notmyidea.org/oh-yeah.html" rel="alternate"></link><updated>2010-10-20T10:14:00+02:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/oh-yeah.html</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="pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
</summary><category term="oh"></category><category term="bar"></category><category term="yeah"></category></entry><entry><title>Unbelievable !</title><link href="http://blog.notmyidea.org/unbelievable.html" rel="alternate"></link><updated>2010-10-15T20:30:00+02:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/unbelievable.html</id><summary type="html"><p>Or completely awesome. Depends the needs.</p>
|
||||
</summary></entry></feed>
|
||||
25
tests/output/custom/feeds/all.rss.xml
Normal file
25
tests/output/custom/feeds/all.rss.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Alexis' log</title><link>http://blog.notmyidea.org</link><description></description><atom:link href="http://blog.notmyidea.org/feeds/all.rss.xml" rel="self"></atom:link><lastBuildDate>Wed, 29 Feb 2012 00:00:00 +0100</lastBuildDate><item><title>Second article</title><link>http://blog.notmyidea.org/second-article.html</link><description><p>This is some article, in english</p>
|
||||
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexis Métaireau</dc:creator><pubDate>Wed, 29 Feb 2012 00:00:00 +0100</pubDate><guid>http://blog.notmyidea.org/second-article.html</guid><category>foo</category><category>bar</category><category>baz</category></item><item><title>A markdown powered article</title><link>http://blog.notmyidea.org/a-markdown-powered-article.html</link><description><p>You're mutually oblivious.</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>http://blog.notmyidea.org/a-markdown-powered-article.html</guid></item><item><title>Article 1</title><link>http://blog.notmyidea.org/article-1.html</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>http://blog.notmyidea.org/article-1.html</guid></item><item><title>Article 2</title><link>http://blog.notmyidea.org/article-2.html</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>http://blog.notmyidea.org/article-2.html</guid></item><item><title>Article 3</title><link>http://blog.notmyidea.org/article-3.html</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>http://blog.notmyidea.org/article-3.html</guid></item><item><title>This is a super article !</title><link>http://blog.notmyidea.org/this-is-a-super-article.html</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="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">
|
||||
&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>Thu, 02 Dec 2010 10:14:00 +0100</pubDate><guid>http://blog.notmyidea.org/this-is-a-super-article.html</guid><category>foo</category><category>bar</category><category>foobar</category></item><item><title>Oh yeah !</title><link>http://blog.notmyidea.org/oh-yeah.html</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="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>http://blog.notmyidea.org/oh-yeah.html</guid><category>oh</category><category>bar</category><category>yeah</category></item><item><title>Unbelievable !</title><link>http://blog.notmyidea.org/unbelievable.html</link><description><p>Or completely awesome. Depends the needs.</p>
|
||||
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexis Métaireau</dc:creator><pubDate>Fri, 15 Oct 2010 20:30:00 +0200</pubDate><guid>http://blog.notmyidea.org/unbelievable.html</guid></item></channel></rss>
|
||||
8
tests/output/custom/feeds/bar.atom.xml
Normal file
8
tests/output/custom/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/oh-yeah.html" rel="alternate"></link><updated>2010-10-20T10:14:00+02:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/oh-yeah.html</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="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
tests/output/custom/feeds/bar.rss.xml
Normal file
8
tests/output/custom/feeds/bar.rss.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><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/oh-yeah.html</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="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>http://blog.notmyidea.org/oh-yeah.html</guid><category>oh</category><category>bar</category><category>yeah</category></item></channel></rss>
|
||||
5
tests/output/custom/feeds/cat1.atom.xml
Normal file
5
tests/output/custom/feeds/cat1.atom.xml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?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/a-markdown-powered-article.html" rel="alternate"></link><updated>2011-04-20T00:00:00+02:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/a-markdown-powered-article.html</id><summary type="html"><p>You're mutually oblivious.</p></summary></entry><entry><title>Article 1</title><link href="http://blog.notmyidea.org/article-1.html" rel="alternate"></link><updated>2011-02-17T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/article-1.html</id><summary type="html"><p>Article 1</p>
|
||||
</summary></entry><entry><title>Article 2</title><link href="http://blog.notmyidea.org/article-2.html" rel="alternate"></link><updated>2011-02-17T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/article-2.html</id><summary type="html"><p>Article 2</p>
|
||||
</summary></entry><entry><title>Article 3</title><link href="http://blog.notmyidea.org/article-3.html" rel="alternate"></link><updated>2011-02-17T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/article-3.html</id><summary type="html"><p>Article 3</p>
|
||||
</summary></entry></feed>
|
||||
5
tests/output/custom/feeds/cat1.rss.xml
Normal file
5
tests/output/custom/feeds/cat1.rss.xml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><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/a-markdown-powered-article.html</link><description><p>You're mutually oblivious.</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>http://blog.notmyidea.org/a-markdown-powered-article.html</guid></item><item><title>Article 1</title><link>http://blog.notmyidea.org/article-1.html</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>http://blog.notmyidea.org/article-1.html</guid></item><item><title>Article 2</title><link>http://blog.notmyidea.org/article-2.html</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>http://blog.notmyidea.org/article-2.html</guid></item><item><title>Article 3</title><link>http://blog.notmyidea.org/article-3.html</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>http://blog.notmyidea.org/article-3.html</guid></item></channel></rss>
|
||||
4
tests/output/custom/feeds/content.atom.xml
Normal file
4
tests/output/custom/feeds/content.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/content.atom.xml" rel="self"></link><id>http://blog.notmyidea.org</id><updated>2012-02-29T00:00:00+01:00</updated><entry><title>Second article</title><link href="http://blog.notmyidea.org/second-article.html" rel="alternate"></link><updated>2012-02-29T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/second-article.html</id><summary type="html"><p>This is some article, in english</p>
|
||||
</summary><category term="foo"></category><category term="bar"></category><category term="baz"></category></entry><entry><title>Unbelievable !</title><link href="http://blog.notmyidea.org/unbelievable.html" rel="alternate"></link><updated>2010-10-15T20:30:00+02:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/unbelievable.html</id><summary type="html"><p>Or completely awesome. Depends the needs.</p>
|
||||
</summary></entry></feed>
|
||||
4
tests/output/custom/feeds/content.rss.xml
Normal file
4
tests/output/custom/feeds/content.rss.xml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Alexis' log</title><link>http://blog.notmyidea.org</link><description></description><atom:link href="http://blog.notmyidea.org/feeds/content.rss.xml" rel="self"></atom:link><lastBuildDate>Wed, 29 Feb 2012 00:00:00 +0100</lastBuildDate><item><title>Second article</title><link>http://blog.notmyidea.org/second-article.html</link><description><p>This is some article, in english</p>
|
||||
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexis Métaireau</dc:creator><pubDate>Wed, 29 Feb 2012 00:00:00 +0100</pubDate><guid>http://blog.notmyidea.org/second-article.html</guid><category>foo</category><category>bar</category><category>baz</category></item><item><title>Unbelievable !</title><link>http://blog.notmyidea.org/unbelievable.html</link><description><p>Or completely awesome. Depends the needs.</p>
|
||||
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexis Métaireau</dc:creator><pubDate>Fri, 15 Oct 2010 20:30:00 +0200</pubDate><guid>http://blog.notmyidea.org/unbelievable.html</guid></item></channel></rss>
|
||||
14
tests/output/custom/feeds/yeah.atom.xml
Normal file
14
tests/output/custom/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>2010-12-02T10:14:00+01:00</updated><entry><title>This is a super article !</title><link href="http://blog.notmyidea.org/this-is-a-super-article.html" rel="alternate"></link><updated>2010-12-02T10:14:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>http://blog.notmyidea.org/this-is-a-super-article.html</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="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">
|
||||
&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
tests/output/custom/feeds/yeah.rss.xml
Normal file
14
tests/output/custom/feeds/yeah.rss.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><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>Thu, 02 Dec 2010 10:14:00 +0100</lastBuildDate><item><title>This is a super article !</title><link>http://blog.notmyidea.org/this-is-a-super-article.html</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="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">
|
||||
&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>Thu, 02 Dec 2010 10:14:00 +0100</pubDate><guid>http://blog.notmyidea.org/this-is-a-super-article.html</guid><category>foo</category><category>bar</category><category>foobar</category></item></channel></rss>
|
||||
279
tests/output/custom/index.html
Normal file
279
tests/output/custom/index.html
Normal file
|
|
@ -0,0 +1,279 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Alexis' log</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![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="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href="./second-article.html">Second article</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-02-29T00:00:00">
|
||||
Wed 29 February 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/content.html">content</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="./second-article.html#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="./a-markdown-powered-article.html" 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">
|
||||
Wed 20 April 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>
|
||||
<a class="readmore" href="./a-markdown-powered-article.html">read more</a>
|
||||
<p>There are <a href="./a-markdown-powered-article.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href="./article-1.html" 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">
|
||||
Thu 17 February 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="./article-1.html">read more</a>
|
||||
<p>There are <a href="./article-1.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href="./article-2.html" 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">
|
||||
Thu 17 February 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="./article-2.html">read more</a>
|
||||
<p>There are <a href="./article-2.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
<p class="paginator">
|
||||
|
||||
Page 1 / 2
|
||||
|
||||
<a href="./index2.html">»</a>
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
289
tests/output/custom/index2.html
Normal file
289
tests/output/custom/index2.html
Normal file
|
|
@ -0,0 +1,289 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Alexis' log</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![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="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
<li ><a href="./category/content.html">content</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="./article-3.html" 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">
|
||||
Thu 17 February 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="./article-3.html">read more</a>
|
||||
<p>There are <a href="./article-3.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href="./this-is-a-super-article.html" 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">
|
||||
Thu 02 December 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/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 -->
|
||||
Multi-line metadata should be supported
|
||||
as well as <strong>inline markup</strong>.
|
||||
<a class="readmore" href="./this-is-a-super-article.html">read more</a>
|
||||
<p>There are <a href="./this-is-a-super-article.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href="./oh-yeah.html" 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">
|
||||
Wed 20 October 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="static/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
|
||||
<a class="readmore" href="./oh-yeah.html">read more</a>
|
||||
<p>There are <a href="./oh-yeah.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href="./unbelievable.html" 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">
|
||||
Fri 15 October 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/content.html">content</a>. </p>
|
||||
|
||||
|
||||
|
||||
</footer><!-- /.post-info -->
|
||||
<p>Or completely awesome. Depends the needs.</p>
|
||||
|
||||
<a class="readmore" href="./unbelievable.html">read more</a>
|
||||
<p>There are <a href="./unbelievable.html#disqus_thread">comments</a>.</p>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
|
||||
|
||||
|
||||
<p class="paginator">
|
||||
|
||||
|
||||
<a href="./index.html">«</a>
|
||||
|
||||
|
||||
Page 2 / 2
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
163
tests/output/custom/oh-yeah-fr.html
Normal file
163
tests/output/custom/oh-yeah-fr.html
Normal file
|
|
@ -0,0 +1,163 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Trop bien !</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![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="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
<li class="active"><a href="./category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Fri 02 March 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/content.html">content</a>. </p>
|
||||
|
||||
|
||||
|
||||
Translations:
|
||||
|
||||
<a href="./oh-yeah.html">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_identifier = "oh-yeah-fr.html";
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = 'http://blog-notmyidea.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
168
tests/output/custom/oh-yeah.html
Normal file
168
tests/output/custom/oh-yeah.html
Normal file
|
|
@ -0,0 +1,168 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Oh yeah !</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![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="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li class="active"><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
<li ><a href="./category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Wed 20 October 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="static/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_identifier = "oh-yeah.html";
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = 'http://blog-notmyidea.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
125
tests/output/custom/pages/this-is-a-test-page.html
Normal file
125
tests/output/custom/pages/this-is-a-test-page.html
Normal file
|
|
@ -0,0 +1,125 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>This is a test page</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href=".././theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie.css"/>
|
||||
<script src=".././js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href=".././css/ie6.css"/><![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=".././pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href=".././category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href=".././category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href=".././category/yeah.html">yeah</a></li>
|
||||
|
||||
<li ><a href=".././category/content.html">content</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="../static/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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
2
tests/output/custom/robots.txt
Normal file
2
tests/output/custom/robots.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
User-agent: *
|
||||
Disallow: /static/pictures
|
||||
163
tests/output/custom/second-article-fr.html
Normal file
163
tests/output/custom/second-article-fr.html
Normal file
|
|
@ -0,0 +1,163 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Deuxième article</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![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="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
<li class="active"><a href="./category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Wed 29 February 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/content.html">content</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.html">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_identifier = "second-article-fr.html";
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = 'http://blog-notmyidea.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
163
tests/output/custom/second-article.html
Normal file
163
tests/output/custom/second-article.html
Normal file
|
|
@ -0,0 +1,163 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Second article</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./theme/css/main.css" type="text/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]-->
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
|
||||
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![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="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
|
||||
|
||||
|
||||
<li ><a href="./category/cat1.html">cat1</a></li>
|
||||
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
||||
<li ><a href="./category/yeah.html">yeah</a></li>
|
||||
|
||||
<li class="active"><a href="./category/content.html">content</a></li>
|
||||
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header> <h1 class="entry-title"><a href=""
|
||||
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">
|
||||
Wed 29 February 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/content.html">content</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_identifier = "second-article.html";
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = 'http://blog-notmyidea.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
</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://pelican.notmyidea.org/">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 = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
||||
}());
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue