Browse Source

Tidy config and use uikit3 theme

develop
Sam Black 5 years ago
parent
commit
f45c16e510
Signed by: samwwwblack GPG Key ID: 0FF0223994EA47D8
  1. 2
      README.rst
  2. 37
      pelicanconf.py

2
README.rst

@ -14,6 +14,6 @@ Software
- http://fortawesome.github.io/Font-Awesome/
- uikit3 (Soon)
- uikit3
- https://getuikit.com

37
pelicanconf.py

@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
# -*- coding: utf-8 -*-
import datetime
import os
import sys
@ -7,14 +6,15 @@ import sys
CONFIG_FILE_PATH = os.path.dirname(os.path.abspath(__file__))
PLUGIN_PATHS = [os.path.abspath(os.path.join(CONFIG_FILE_PATH,
"../pelican-plugins"))]
THEME_PATH = os.path.abspath(os.path.join(CONFIG_FILE_PATH, "theme", "pelican-f6-lapwingorg"))
THEME_PATH = os.path.abspath(os.path.join(CONFIG_FILE_PATH, "theme",
"pelican-uikit3-lapwingorg"))
sys.path.append(THEME_PATH)
from themeconfig import *
AUTHOR = u'Sam Black'
AUTHOR = u"Sam Black"
SITENAME = u"samwwwblack's Blog"
#SITESUBTITLE = u"geek slowly going mad"
SITEURL = 'https://samwwwblack.lapwing.org'
SITEURL = "https://samwwwblack.lapwing.org"
FEED_DOMAIN = SITEURL
# Override this in publishconf.py
@ -22,32 +22,31 @@ RELATIVE_URLS = True
ABOUT_ME = """
Liberal atheist FOSS coder.<br/>
Can't get more amorphous than that.
Can"t get more amorphous than that.
"""
FEED_ATOM = 'feeds/atom.xml'
FEED_ALL_ATOM = 'feeds/all.atom.xml'
FEED_ATOM = "feeds/atom.xml"
FEED_ALL_ATOM = "feeds/all.atom.xml"
CATEGORY_FEED_ATOM = None
TAG_FEED_ATOM = None
FEED_RSS = 'feeds/rss.xml'
FEED_ALL_RSS = 'feeds/all.rss.xml'
FEED_RSS = "feeds/rss.xml"
FEED_ALL_RSS = "feeds/all.rss.xml"
CATEGORY_FEED_RSS = None
TAG_FEED_RSS = None
ARTICLE_URL = 'posts/{date:%Y}/{date:%b}/{slug}/'
ARTICLE_SAVE_AS = 'posts/{date:%Y}/{date:%b}/{slug}/index.html'
ARTICLE_URL = "posts/{date:%Y}/{date:%b}/{slug}/"
ARTICLE_SAVE_AS = "posts/{date:%Y}/{date:%b}/{slug}/index.html"
THEME = THEME_PATH
PYGMENTS_STYLE = "default"
FAVICON = "static/images/favicon.ico"
FAVICON = "favicon.ico"
DISPLAY_PAGES_ON_MENU = True
DISPLAY_CATEGORIES_ON_MENU = False
DISPLAY_TAGS_INLINE = True
DOCUTIL_CSS = True
CC_LICENSE = "CC-BY-SA"
CURRENT_YEAR = datetime.date.today().strftime("%Y")
GITHUB_USER = "samwwwblack"
openid = "https://openid.lapwing.org"
OPENID = {"openid": openid,
@ -59,19 +58,17 @@ OPENID = {"openid": openid,
TYPOGRIFY = True
USE_PAGER = True
TIMEZONE = 'Europe/London'
TIMEZONE = "Europe/London"
DEFAULT_LANG = u'en'
DEFAULT_LANG = u"en"
PLUGINS = ["assets", "related_posts", "html_rst_directive"]
# Blogroll
#LINKS = (('Pelican', 'http://docs.notmyidea.org/alexis/pelican/'),)
LINKS = ()
# Social widget
SOCIAL = (('identi.ca', 'https://identi.ca/samwwwblack'),
('github', 'https://github.com/samwwwblack'),)
SOCIAL = (("identi.ca", "https://identi.ca/samwwwblack"),
("code", "https://code.lapwing.org"),)
DEFAULT_PAGINATION = 5

Loading…
Cancel
Save