aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-07-29 20:37:34 +0200
committerneodarz <neodarz@neodarz.net>2018-07-29 20:37:34 +0200
commitaa0ec4755f5bb44271182f29bbbc77c70320dbc9 (patch)
tree2fc8ef004fafd535537c874dbea669c80075ae8b /config
parent90e53d5d574442b9c8dc8a19841171eb8694b932 (diff)
downloadmy_new_personal_website-aa0ec4755f5bb44271182f29bbbc77c70320dbc9.tar.xz
my_new_personal_website-aa0ec4755f5bb44271182f29bbbc77c70320dbc9.zip
Add blog configurations in a config file
Diffstat (limited to 'config')
-rw-r--r--config/blog.toml12
-rw-r--r--config/generator.toml21
2 files changed, 33 insertions, 0 deletions
diff --git a/config/blog.toml b/config/blog.toml
new file mode 100644
index 00000000..48de9493
--- /dev/null
+++ b/config/blog.toml
@@ -0,0 +1,12 @@
+[blog]
+ BLOG_HOME = "http://neodarz.net/"
+ CUSTOM_DOMAIN = "neodarz.net" # GitHub Pages custom domain (could be None)
+ BLOG_TITLE = "Why is there always a cat on whatever you're editing?"
+ BLOG_DESCRIPTION = "Just my stupid personal website"
+ LANGUAGE = "en-us"
+ AUTHOR = "neodarz"
+ AUTHOR_EMAIL = "neodarz@neodarz.net"
+ ATOM_ICON_PATH = "img/icon-400.png" # set to None to leave it out
+ RSS_ICON_PATH = "img/icon-100.png" # set to None to leave it out
+ RSS_ICON_WIDTH = 100
+ RSS_ICON_HEIGHT = 100
diff --git a/config/generator.toml b/config/generator.toml
new file mode 100644
index 00000000..d2177c07
--- /dev/null
+++ b/config/generator.toml
@@ -0,0 +1,21 @@
+########################### GENERATOR CONFIGURATIONS ###########################
+# Do not touch unless you know what you are doing.
+[generator]
+ GENERATOR_NAME = "pyblog"
+ GENERATOR_HOME_PAGE = "https://github.com/zmwangx/zmwangx.github.io"
+
+ SOURCEDIR = "source"
+ POSTSDIR = "blog"
+ INDEXMD = "index.md"
+ GENERATORSOURCE = "pyblog"
+ HTMLTEMPLATE = "template.html"
+ BUILDDIR = "build"
+ ATOM = "atom.xml"
+ RSS = "rss.xml"
+ INDEXHTML = "index.html"
+ EXCLUDELIST = ".exclude"
+
+ FEED_MAX_ENTRIES = 20
+ CODE_LINE_HEIGHT = 18
+####################### END OF GENERATOR CONFIGURATIONS ########################
+