From aa0ec4755f5bb44271182f29bbbc77c70320dbc9 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sun, 29 Jul 2018 20:37:34 +0200 Subject: Add blog configurations in a config file --- config/blog.toml | 12 ++++++++++++ config/generator.toml | 21 +++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 config/blog.toml create mode 100644 config/generator.toml (limited to 'config') 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 ######################## + -- cgit v1.2.1