diff --git a/pelicanconf.py b/pelicanconf.py index e2a238e..13e8aef 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -91,6 +91,11 @@ CATEGORY_SAVE_AS = 'category/{slug}/index.html' TAG_SAVE_AS = 'tags/{slug}/index.html' AUTHOR_SAVE_AS = 'author/{slug}/index.html' +# Enable raw source files in output directory alongside index.html +# This copies the raw .rst files to the output +OUTPUT_SOURCES = True +OUTPUT_SOURCES_EXTENSION = 'rst' + # Setup filters and plugins. PLUGIN_PATHS = ['pelican-plugins']