summaryrefslogtreecommitdiff
path: root/pelicanconf.py
blob: c70117a29d920c0212873edf45477ecde19c44e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/env python
# -*- coding: utf-8 -*- #

AUTHOR = "Cryptech Core Team"
SITENAME = "Cryptech Project"

PATH = "content"
TIMEZONE = "UTC"
DEFAULT_LANG = "en"

SITEURL = ""

RELATIVE_URLS = True

# Feed generation is usually not desired when developing
#FEED_ALL_ATOM = None
#CATEGORY_FEED_ATOM = None
#TRANSLATION_FEED_ATOM = None
#AUTHOR_FEED_ATOM = None
#AUTHOR_FEED_RSS = None

# Blogroll
#LINKS = (("Pelican", "http://getpelican.com/"), ("Python.org", "http://python.org/"), ("Jinja2", "http://jinja.pocoo.org/"))
#LINKS_WIDGET_NAME = "Links"

# Social widget.  Can't get rid of this with default theme, only change its name.
# Fiddle with themes later
#SOCIAL = ()
#SOCIAL_WIDGET_NAME = "Subscribe"

DEFAULT_PAGINATION = 10

THEME = "../m.css/pelican-theme"
THEME_STATIC_DIR = "static"
DIRECT_TEMPLATES = ["index"]

M_CSS_FILES = ["https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600", "/static/m-dark.css"]

M_HIDE_ARTICLE_SUMMARY = True

M_THEME_COLOR = "#22272e"

PLUGIN_PATHS = ["../m.css/plugins"]
PLUGINS = ["m.htmlsanity"]

# Per https://docs.getpelican.com/en/latest/faq.html#how-can-i-use-a-static-page-as-my-home-page

INDEX_SAVE_AS = "pelican-index.html"