From 8b073b5df7d4f52c0a374d0eb322b33f079986f6 Mon Sep 17 00:00:00 2001 From: Jordan Gong Date: Sun, 2 Aug 2020 16:06:14 +0800 Subject: Change theme to zola-slim --- config.toml | 17 ++++++++++++++--- themes/slim | 1 + themes/zola-paper | 1 - 3 files changed, 15 insertions(+), 4 deletions(-) create mode 160000 themes/slim delete mode 160000 themes/zola-paper diff --git a/config.toml b/config.toml index 4dbae82..f38e499 100644 --- a/config.toml +++ b/config.toml @@ -9,7 +9,7 @@ description = "A way to show my personal ideas." default_language = "en" # The site theme to use. -theme = "zola-paper" +theme = "slim" # Whether to do syntax highlighting # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola @@ -29,8 +29,19 @@ generate_feed = true # ] # taxonomies = [ - {name = "tags", feed = true, paginate_by = 5}, + {name = "tags", paginate_by = 5, rss = true} ] [extra] -# Put all your custom variables here +# Show a summary of a post in a list +slim_summary = true +# Show the content of a post in a list +slim_content = false +# Links to show at the top of the menu +slim_menu = [ + {url = "$BASE_URL/tags", name = "Tags"} +] +# Links to show at the bottom of the menu +slim_social = [ + {url = "https://github.com/jordangong", name = "Github"} +] diff --git a/themes/slim b/themes/slim new file mode 160000 index 0000000..218dfed --- /dev/null +++ b/themes/slim @@ -0,0 +1 @@ +Subproject commit 218dfed7d1d239756e5da4274592f67688abf0f7 diff --git a/themes/zola-paper b/themes/zola-paper deleted file mode 160000 index 01ebb85..0000000 --- a/themes/zola-paper +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 01ebb85682e0b84aa561ad4f37e2277edee166a9 -- cgit v1.2.3