@@ 2,10 2,6 @@
import time
-# !! This is the configuration of Nikola. !! #
-# !! You should edit it to your liking. !! #
-
-
# ! Some settings can be different in different languages.
# ! A comment stating (translatable) is used to denote those.
# ! There are two ways to specify a translatable setting:
@@ 14,7 10,6 @@ import time
# ! Option (a) is used when you don't want that setting translated.
# ! Option (b) is used for settings that are different in different languages.
-
# Data about this site
BLOG_AUTHOR = "Paul Bissex" # (translatable)
BLOG_TITLE = "Pocumtuck Ridge Trail" # (translatable)
@@ 27,70 22,6 @@ SITE_URL = "http://pocumtuck.org/"
BLOG_EMAIL = "paul@bissex.net"
BLOG_DESCRIPTION = "A footpath along the Pocumtuck Ridge of western Massachusetts" # (translatable)
-# Nikola is multilingual!
-#
-# Currently supported languages are:
-#
-# en English
-# af Afrikaans
-# ar Arabic
-# az Azerbaijani
-# bg Bulgarian
-# bs Bosnian
-# ca Catalan
-# cs Czech [ALTERNATIVELY cz]
-# da Danish
-# de German
-# el Greek [NOT gr]
-# eo Esperanto
-# es Spanish
-# et Estonian
-# eu Basque
-# fa Persian
-# fi Finnish
-# fr French
-# fur Friulian
-# gl Galician
-# he Hebrew
-# hi Hindi
-# hr Croatian
-# hu Hungarian
-# ia Interlingua
-# id Indonesian
-# it Italian
-# ja Japanese [NOT jp]
-# ko Korean
-# lt Lithuanian
-# ml Malayalam
-# mr Marathi
-# nb Norwegian (Bokmål)
-# nl Dutch
-# pa Punjabi
-# pl Polish
-# pt Portuguese
-# pt_br Portuguese (Brazil)
-# ru Russian
-# sk Slovak
-# sl Slovene
-# sq Albanian
-# sr Serbian (Cyrillic)
-# sr_latin Serbian (Latin)
-# sv Swedish
-# te Telugu
-# th Thai
-# tr Turkish [NOT tr_TR]
-# uk Ukrainian
-# ur Urdu
-# vi Vietnamese
-# zh_cn Chinese (Simplified)
-# zh_tw Chinese (Traditional)
-#
-# If you want to use Nikola with a non-supported language you have to provide
-# a module containing the necessary translations
-# (cf. the modules at nikola/data/themes/base/messages/).
-# If a specific post is not translated to a language, then the version
-# in the default language will be shown instead.
-
# What is the default language?
DEFAULT_LANG = "en"
@@ 104,13 35,6 @@ TRANSLATIONS = {
}
# What will translated input files be named like?
-
-# If you have a page something.rst, then something.pl.rst will be considered
-# its Polish translation.
-# (in the above example: path == "something", ext == "rst", lang == "pl")
-# this pattern is also used for metadata:
-# something.meta -> something.pl.meta
-
TRANSLATIONS_PATTERN = '{path}.{lang}.{ext}'
# Links for the sidebar / navigation bar. (translatable)
@@ 233,77 157,19 @@ THEME_CONFIG = {
# ("pages/*.md", {"en": "pages", "de": "seiten"}, "page.tmpl"),
# )
-POSTS = (
- ("posts/*.rst", "posts", "post.tmpl"),
- ("posts/*.md", "posts", "post.tmpl"),
- ("posts/*.txt", "posts", "post.tmpl"),
- ("posts/*.html", "posts", "post.tmpl"),
-)
+POSTS = ()
PAGES = (
- ("pages/*.rst", "pages", "page.tmpl"),
- ("pages/*.md", "pages", "page.tmpl"),
- ("pages/*.txt", "pages", "page.tmpl"),
- ("pages/*.html", "pages", "page.tmpl"),
+ ("pages/*.rst", "", "page.tmpl"),
+ ("pages/*.md", "", "page.tmpl"),
+ ("pages/*.txt", "", "page.tmpl"),
+ ("pages/*.html", "", "page.tmpl"),
)
# Below this point, everything is optional
-# Post's dates are considered in UTC by default, if you want to use
-# another time zone, please set TIMEZONE to match. Check the available
-# list from Wikipedia:
-# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
-# (e.g. 'Europe/Zurich')
-# Also, if you want to use a different time zone in some of your posts,
-# you can use the ISO 8601/RFC 3339 format (ex. 2012-03-30T23:00:00+02:00)
TIMEZONE = "America/New_York"
-# If you want to use ISO 8601 (also valid RFC 3339) throughout Nikola
-# (especially in new_post), set this to True.
-# Note that this does not affect DATE_FORMAT.
-# FORCE_ISO8601 = False
-
-# Date format used to display post dates. (translatable)
-# Used by babel.dates, CLDR style: http://cldr.unicode.org/translation/date-time
-# You can also use 'full', 'long', 'medium', or 'short'
-# DATE_FORMAT = 'yyyy-MM-dd HH:mm'
-
-# Date format used to display post dates, if local dates are used. (translatable)
-# Used by Luxon: https://moment.github.io/luxon/docs/manual/formatting
-# Example for presets: {'preset': True, 'format': 'DATE_FULL'}
-# LUXON_DATE_FORMAT = {
-# DEFAULT_LANG: {'preset': False, 'format': 'yyyy-MM-dd HH:mm'},
-# }
-
-# Date fanciness.
-#
-# 0 = using DATE_FORMAT and TIMEZONE (without JS)
-# 1 = using LUXON_DATE_FORMAT and local user time (JS, using Luxon)
-# 2 = using a string like “2 days ago” (JS, using Luxon)
-#
-# Your theme must support it, Bootstrap already does.
-# DATE_FANCINESS = 0
-
-# Customize the locale/region used for a language.
-# For example, to use British instead of US English: LOCALES = {'en': 'en_GB'}
-# LOCALES = {}
-
-# One or more folders containing files to be copied as-is into the output.
-# The format is a dictionary of {source: relative destination}.
-# Default is:
-# FILES_FOLDERS = {'files': ''}
-# Which means copy 'files' into 'output'
-
-# One or more folders containing code listings to be processed and published on
-# the site. The format is a dictionary of {source: relative destination}.
-# Default is:
-# LISTINGS_FOLDERS = {'listings': 'listings'}
-# Which means process listings from 'listings' into 'output/listings'
-
-# A mapping of languages to file-extensions that represent that language.
-# Feel free to add or delete extensions to any list, but don't add any new
-# compilers unless you write the interface for it yourself.
-#
# The default compiler for `new_post` is the first entry in the POSTS tuple.
#
# 'rest' is reStructuredText
@@ 572,7 438,7 @@ HIDDEN_AUTHORS = ['Guest']
# Final location for the main blog page and sibling paginated pages is
# output / TRANSLATION[lang] / INDEX_PATH / index-*.html
# (translatable)
-# INDEX_PATH = ""
+INDEX_PATH = ""
# Optional HTML that displayed on “main” blog index.html files.
# May be used for a greeting. (translatable)
@@ 1222,7 1088,7 @@ MARKDOWN_EXTENSIONS = ['markdown.extensi
# <input type="text" name="q" class="form-control" placeholder="Search">
# </div>
# <button type="submit" class="btn btn-primary">
-# <span class="glyphicon glyphicon-search"></span>
+# <span class="glyphicon glyphicon-search"></span>
# </button>
# <input type="hidden" name="sitesearch" value="%s">
# </form>
@@ 1335,7 1201,7 @@ MARKDOWN_EXTENSIONS = ['markdown.extensi
# Special settings to disable only parts of the indexes plugin.
# Use with care.
-# DISABLE_INDEXES = False
+DISABLE_INDEXES = True
# DISABLE_MAIN_ATOM_FEED = False
# DISABLE_MAIN_RSS_FEED = False