From fd4d5145ab7a29c62d97c7aaec0ec70cca7a9738 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sat, 4 Dec 2021 22:39:11 -0500 Subject: Update from nikola 8.x template, update asciidoc plugin. --- plugins/asciidoc/conf.py.sample | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'plugins/asciidoc/conf.py.sample') diff --git a/plugins/asciidoc/conf.py.sample b/plugins/asciidoc/conf.py.sample index 1dd5d3a..b8fda52 100644 --- a/plugins/asciidoc/conf.py.sample +++ b/plugins/asciidoc/conf.py.sample @@ -1,11 +1,14 @@ # Add the asciidoc compiler to your COMPILERS dict. -COMPILERS["asciidoc"] = ('.asc',) +COMPILERS["asciidoc"] = ['.asc'] # Add asciidoc files to your POSTS, PAGES POSTS = POSTS + (("posts/*.asc", "posts", "post.tmpl"),) -PAGES = PAGES + (("stories/*.asc", "posts", "post.tmpl"),) +PAGES = PAGES + (("pages/*.asc", "pages", "page.tmpl"),) # You can choose what command to use for processing. # For example, you can replace asciidoc with asciidoctor # Or use the full path to the program. # ASCIIDOC_BINARY = "asciidoc" + +# Specify options to the asciidoc compiler (as a string). +# ASCIIDOC_OPTIONS = "" -- cgit v1.2.3