updated config for theme change

This commit is contained in:
Vicky Steeves 2017-05-01 23:02:53 -04:00
parent 710a2971df
commit a4885598fa
1 changed files with 18 additions and 12 deletions

30
conf.py
View File

@ -17,16 +17,16 @@ import time
# Data about this site # Data about this site
BLOG_AUTHOR = "Nikola Tesla" # (translatable) BLOG_AUTHOR = "LISSA Board" # (translatable)
BLOG_TITLE = "Example Nikola website using GitLab Pages!" # (translatable) BLOG_TITLE = "LIS Scholarship Archive" # (translatable)
# This is the main URL for your site. It will be used # This is the main URL for your site. It will be used
# in a prominent link. Don't forget the protocol (http/https)! # in a prominent link. Don't forget the protocol (http/https)!
SITE_URL = "https://pages.gitlab.io/nikola/" SITE_URL = "https://lissarchive.org/"
# This is the URL where Nikola's output will be deployed. # This is the URL where Nikola's output will be deployed.
# If not set, defaults to SITE_URL # If not set, defaults to SITE_URL
# BASE_URL = "https://pages.gitlab.io/nikola/" # BASE_URL = "https://example.com/"
BLOG_EMAIL = "n.tesla@example.com" BLOG_EMAIL = "vicky.steeves@nyu.edu"
BLOG_DESCRIPTION = "This is a demo site for Nikola." # (translatable) BLOG_DESCRIPTION = "An open, scholarly platform for LIS." # (translatable)
# Nikola is multilingual! # Nikola is multilingual!
# #
@ -129,14 +129,15 @@ TRANSLATIONS_PATTERN = "{path}.{lang}.{ext}"
NAVIGATION_LINKS = { NAVIGATION_LINKS = {
DEFAULT_LANG: ( DEFAULT_LANG: (
("/archive.html", "Archive"), ("/", "Home"),
("/categories/", "Tags"), ('/who-we-are', 'About'),
("/rss.xml", "RSS feed"), ('/scholarship', 'Scholarship'),
('/contact', 'Contact')
), ),
} }
# Name of the theme to use. # Name of the theme to use.
THEME = "bootstrap3" THEME = "custom"
# Primary color of your theme. This will be used to customize your theme and # Primary color of your theme. This will be used to customize your theme and
# auto-generate related colors in POSTS_SECTION_COLORS. Must be a HEX value. # auto-generate related colors in POSTS_SECTION_COLORS. Must be a HEX value.
@ -171,7 +172,11 @@ POSTS = (
("posts/*.rst", "posts", "post.tmpl"), ("posts/*.rst", "posts", "post.tmpl"),
("posts/*.txt", "posts", "post.tmpl"), ("posts/*.txt", "posts", "post.tmpl"),
("posts/*.html", "posts", "post.tmpl"), ("posts/*.html", "posts", "post.tmpl"),
("posts/scholarship/*.rst", "scholarship", "post.tmpl"),
("posts/scholarship/*.txt", "scholarship", "post.tmpl"),
("posts/scholarship/*.html", "scholarship", "post.tmpl"),
) )
PAGES = ( PAGES = (
("pages/*.rst", "", "story.tmpl"), ("pages/*.rst", "", "story.tmpl"),
("pages/*.txt", "", "story.tmpl"), ("pages/*.txt", "", "story.tmpl"),
@ -188,7 +193,7 @@ PAGES = (
# (e.g. 'Europe/Zurich') # (e.g. 'Europe/Zurich')
# Also, if you want to use a different time zone in some of your posts, # 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) # you can use the ISO 8601/RFC 3339 format (ex. 2012-03-30T23:00:00+02:00)
TIMEZONE = "Europe/Paris" TIMEZONE = "America/New_York"
# If you want to use ISO 8601 (also valid RFC 3339) throughout Nikola # If you want to use ISO 8601 (also valid RFC 3339) throughout Nikola
# (especially in new_post), set this to True. # (especially in new_post), set this to True.
@ -795,7 +800,8 @@ LICENSE = ""
# A small copyright notice for the page footer (in HTML). # A small copyright notice for the page footer (in HTML).
# (translatable) # (translatable)
CONTENT_FOOTER = 'Contents &copy; {date} <a href="mailto:{email}">{author}</a> - Powered by <a href="https://getnikola.com" rel="nofollow">Nikola</a> {license}' CONTENT_FOOTER = 'Contents licensed under <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png" /></a><a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"> Creative Commons Attribution-ShareAlike 4.0 International License</a>, {date} | Email <a href="mailto:{email}">{author}</a>'
# Things that will be passed to CONTENT_FOOTER.format(). This is done # Things that will be passed to CONTENT_FOOTER.format(). This is done
# for translatability, as dicts are not formattable. Nikola will # for translatability, as dicts are not formattable. Nikola will