From c23923f2796b44b1a0d067271b48656b258ab990 Mon Sep 17 00:00:00 2001 From: Jordan Gong Date: Mon, 20 Jul 2020 22:14:41 +0800 Subject: Theme installed --- config.toml | 29 +++++++++++++++++++++++++---- content/_index.md | 7 +++++++ themes/zola-paper | 1 + 3 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 content/_index.md create mode 160000 themes/zola-paper diff --git a/config.toml b/config.toml index 2e1c93f..4dbae82 100644 --- a/config.toml +++ b/config.toml @@ -1,15 +1,36 @@ # The URL the site will be built for base_url = "https://blog.jordangong.com" -# Whether to automatically compile all Sass files in the sass directory -compile_sass = true +# The site title and description; used in feeds by default. +title = "Jordan Gong's Blog" +description = "A way to show my personal ideas." + +# The default language; used in feeds. +default_language = "en" + +# The site theme to use. +theme = "zola-paper" # Whether to do syntax highlighting # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola highlight_code = true +highlight_theme = "one-dark" + +# When set to "true", a feed is automatically generated. +generate_feed = true -# Whether to build a search index to be used later on by a JavaScript library -build_search_index = true +# The taxonomies to be rendered for the site and their configuration. +# Example: +# taxonomies = [ +# {name = "tags", feed = true}, # each tag will have its own feed +# {name = "tags", lang = "fr"}, # you can have taxonomies with the same name in multiple languages +# {name = "categories", paginate_by = 5}, # 5 items per page for a term +# {name = "authors"}, # Basic definition: no feed or pagination +# ] +# +taxonomies = [ + {name = "tags", feed = true, paginate_by = 5}, +] [extra] # Put all your custom variables here diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..709e2f9 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,7 @@ ++++ +sort_by = "date" +paginate_by = 3 + +[extra] +author = "Jordan Gong" ++++ diff --git a/themes/zola-paper b/themes/zola-paper new file mode 160000 index 0000000..01ebb85 --- /dev/null +++ b/themes/zola-paper @@ -0,0 +1 @@ +Subproject commit 01ebb85682e0b84aa561ad4f37e2277edee166a9 -- cgit v1.2.3