Updating plugins, conf.py cleanup
This commit is contained in:
parent
6efd897861
commit
60150b02fc
7 changed files with 27 additions and 6 deletions
14
plugins/rest_html5/conf.py.sample
Normal file
14
plugins/rest_html5/conf.py.sample
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
COMPILERS = {
|
||||
'rest': ('.rst4',),
|
||||
'rest_html5': ('.rst', '.txt'),
|
||||
}
|
||||
|
||||
POSTS = (
|
||||
("posts/*.rst4", "posts", "post.tmpl"),
|
||||
("posts/*.rst", "posts", "post.tmpl"),
|
||||
("posts/*.txt", "posts", "post.tmpl"),
|
||||
)
|
||||
|
||||
# NOTE: if you want to use the Nikola-provided reST extensions, you need to
|
||||
# keep the original `rest` compiler in COMPILERS *and* POSTS/PAGES,
|
||||
# otherwise they will not get loaded.
|
||||
Loading…
Add table
Add a link
Reference in a new issue