Sort articles by date. A bit more templates. Add an author field.

--HG--
rename : pelican/templates/archives.html => pelican/themes/archives.html
rename : pelican/templates/article.html => pelican/themes/article.html
rename : pelican/templates/categories.html => pelican/themes/categories.html
rename : pelican/templates/category.html => pelican/themes/category.html
rename : pelican/templates/index.html => pelican/themes/index.html
rename : pelican/templates/tag.html => pelican/themes/tag.html
rename : pelican/templates/tags.html => pelican/themes/tags.html
This commit is contained in:
Alexis Metaireau 2010-08-17 20:28:51 +02:00
commit 3634e5c49d
20 changed files with 123 additions and 30 deletions

View file

@ -19,11 +19,14 @@ parser.add_argument('-o', '--output', default=None, dest='output',
parser.add_argument('-m', '--markup', default='rest', dest='markup',
help='the markup language to use. Currently only ReSTreucturedtext is'
' available.')
parser.add_argument('-s', '--settings', default=None, dest='settings',
help='the settings of the application. Default to None.')
if __name__ == '__main__':
args = parser.parse_args()
files = []
for root, dirs, temp_files in os.walk(args.path, followlinks=True):
files.extend([os.sep.join((root, f)) for f in temp_files])
generate_output(files, args.templates, args.output, args.markup)
generate_output(files, args.templates, args.output, args.markup,
args.settings)
print 'Done !'