aboutsummaryrefslogtreecommitdiff
path: root/pyblog
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2016-01-08 21:16:14 -0800
committerZhiming Wang <zmwangx@gmail.com>2016-01-08 21:18:39 -0800
commitf818d439160c8f06add42dd10cfcdbddc71b04d7 (patch)
treed3a6c54a0102826fbfbd1abcf55182fcd1004e00 /pyblog
parentf0ef7cf56c4789e3862b7f49502955afa9d54097 (diff)
downloadmy_new_personal_website-f818d439160c8f06add42dd10cfcdbddc71b04d7.tar.xz
my_new_personal_website-f818d439160c8f06add42dd10cfcdbddc71b04d7.zip
Add stuff to source/ and exclude them
The lonely templates/template.html finally finds it home in the cozy source/, where it rightfully belongs, without the need to worry about being exposed to the world in build/ ;) The full fontello distribution I downloaded (and unpacked) from fontello.com is now in source/fonts/fontello.
Diffstat (limited to '')
-rwxr-xr-xpyblog3
1 files changed, 1 insertions, 2 deletions
diff --git a/pyblog b/pyblog
index b3b174d5..8438bc71 100755
--- a/pyblog
+++ b/pyblog
@@ -62,8 +62,7 @@ SOURCEDIR = os.path.join(ROOTDIR, "source")
POSTSDIR = os.path.join(SOURCEDIR, "blog")
INDEXMD = os.path.join(SOURCEDIR, "index.md")
GENERATORSOURCE = os.path.join(ROOTDIR, "pyblog")
-TEMPLATEDIR = os.path.join(ROOTDIR, "templates")
-HTMLTEMPLATE = os.path.join(TEMPLATEDIR, "template.html")
+HTMLTEMPLATE = os.path.join(SOURCEDIR, "template.html")
BUILDDIR = os.path.join(ROOTDIR, "build")
ATOM = os.path.join(BUILDDIR, "atom.xml")
RSS = os.path.join(BUILDDIR, "rss.xml")