aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xdevelop_server.sh2
-rw-r--r--pelicanconf.py33
3 files changed, 26 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index bacb16a..64ac829 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ PELICAN?=pelican
PELICANOPTS=
BASEDIR=$(CURDIR)
-INPUTDIR=$(BASEDIR)/content
+INPUTDIR=$(BASEDIR)
OUTPUTDIR=$(BASEDIR)/output
CONFFILE=$(BASEDIR)/pelicanconf.py
PUBLISHCONF=$(BASEDIR)/publishconf.py
diff --git a/develop_server.sh b/develop_server.sh
index 8c2f27f..7d7f475 100755
--- a/develop_server.sh
+++ b/develop_server.sh
@@ -7,7 +7,7 @@ PELICAN=${PELICAN:-pelican}
PELICANOPTS=
BASEDIR=$(pwd)
-INPUTDIR=$BASEDIR/content
+INPUTDIR=$BASEDIR/
OUTPUTDIR=$BASEDIR/output
CONFFILE=$BASEDIR/pelicanconf.py
diff --git a/pelicanconf.py b/pelicanconf.py
index b67f768..7cb5a40 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -4,20 +4,35 @@ from __future__ import unicode_literals
AUTHOR = u'bnewbold'
SITENAME = u'bnewbold.net'
-SITEURL = ''
+SITEURL = u'https://bnewbold.net'
-PATH = 'content'
+USE_FOLDER_AS_CATEGORY = True
+DEFAULT_DATE = None
+OUTPUT_SOURCES = True
+OUTPUT_SOURCES_EXTENSION = '.raw'
+SLUGIFY_SOURCE = 'basename'
-TIMEZONE = 'America/New_York'
+PATH = '.'
+STATIC_PATHS = ['static']
+ARTICLE_PATHS = ['posts']
+PAGE_PATHS = ['pages']
+PLUGIN_PATHS = ['plugins']
+
+ARTICLE_URL = '{date:%Y}/{slug}/'
+ARTICLE_SAVE_AS = '{date:%Y}/{slug}/index.html'
+PAGE_URL = '{slug}/'
+PAGE_SAVE_AS = '{slug}/index.html'
+YEAR_ARCHIVE_SAVE_AS = '{date:%Y}/index.html'
+
+TIMEZONE = 'UTC'
DEFAULT_LANG = u'en'
# 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
+FEED_ALL_ATOM = 'feeds/all.atom.xml'
+CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
+FEED_ALL_RSS = 'feeds/all.rss.xml'
+CATEGORY_FEED_RSS = 'feeds/%s.rss.xml'
# Blogroll
LINKS = (('Pelican', 'http://getpelican.com/'),
@@ -32,4 +47,4 @@ SOCIAL = (('You can add links in your config file', '#'),
DEFAULT_PAGINATION = False
# Uncomment following line if you want document-relative URLs when developing
-#RELATIVE_URLS = True
+RELATIVE_URLS = True