fixed URL for menu

This commit is contained in:
Don Harper 2018-12-27 16:18:21 +00:00
parent e12d2369e8
commit aa23d4bccf

10
conf.py
View file

@ -14,8 +14,8 @@ TRANSLATIONS = {
TRANSLATIONS_PATTERN = "{path}.{lang}.{ext}"
NAVIGATION_LINKS = {
DEFAULT_LANG: (
('/index.html', 'Home'),
('/stories/about.html', 'About me'),
('/', 'Home'),
('/stories/about/', 'About me'),
('http://www.duckland.org', 'My Personal and Tech Blog'),
#(
#(
@ -34,7 +34,8 @@ NAVIGATION_LINKS = {
#'Social Sites'
#),
("/archive.html", "Archive"),
("/categories/index.html", "Tags"),
("/categories/", "Tags"),
("/stories/privacy/", "Privacy/GDPR"),
('/rss.xml', 'RSS'),
),
}
@ -44,13 +45,14 @@ DATE_FORMAT = 'YYYY-MM-dd'
JS_DATE_FORMAT = 'YYYY-MM-dd'
DATE_FANCINESS = 1
POSTS = (
("posts/*.md", "posts", "post.tmpl"),
("posts/*.rst", "posts", "post.tmpl"),
("posts/*.txt", "posts", "post.tmpl"),
("posts/*.html", "posts", "post.tmpl"),
("posts/*.wp", "posts", "post.tmpl"),
("posts/*.md", "posts", "post.tmpl"),
)
PAGES = (
("stories/*.md", "stories", "story.tmpl"),
("stories/*.rst", "stories", "story.tmpl"),
("stories/*.txt", "stories", "story.tmpl"),
)