From bdea9adca0bc5b49512e52b333502371017b0642 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Fri, 30 Aug 2019 14:31:46 +0300 Subject: [PATCH] theme: upgrade to latest v4.5-dev - get new theme/font system --- config/_default/params.toml | 25 +++++++++++++++++-------- content/home/tags.md | 12 ++++++++++++ data/page_sharer.toml | 8 ++++++++ themes/academic | 2 +- 4 files changed, 38 insertions(+), 9 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 765d3bd..d566727 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -1,15 +1,24 @@ # SITE SETUP # Documentation: https://sourcethemes.com/academic/ -# Color theme. -# Choose from `default`, `ocean`, `forest`, `dark`, `apogee`, `1950s`, `coffee`, `rose`, `strawberry`, `mr_robot`. -color_theme = "default" +# Choose a theme. +# Latest themes (may require updating Academic): https://sourcethemes.com/academic/themes/ +# Browse built-in themes in `themes/academic/data/themes/` +# Browse user installed themes in `data/themes/` +theme = "minimal" + # Enable users to switch between day and night mode? day_night = true -# Font style. -# Choose from `default`, `classic`, `rose`, or `mr_robot`. -font = "default" +# Overrride the theme's font set (optional). +# Latest font sets (may require updating Academic): https://sourcethemes.com/academic/themes/ +# Browse built-in font sets in `themes/academic/data/fonts/` +# Browse user installed font sets in `data/fonts/` +font = "" + +# Choose a font size. +# Sizes: s (small), m (medium), l (large) +font_size = "m" # Description for social sharing and search engines. If undefined, superuser role is used in place. description = "" @@ -17,10 +26,10 @@ description = "" # Default image for social sharing and search engines. Place image in `static/img/` folder and specify image name here. sharing_image = "" -# Twitter username (without @). Used when a vistor shares your site on Twitter. +# Twitter username (without @). Used when a visitor shares your site on Twitter. twitter = "" -# Diplay a logo in navigation bar rather than title (optional). +# Display a logo in navigation bar rather than title (optional). # To enable, place an image in `static/img/` and reference its filename below. To disable, set the value to "". logo = "" diff --git a/content/home/tags.md b/content/home/tags.md index 4ad29fe..6da5875 100644 --- a/content/home/tags.md +++ b/content/home/tags.md @@ -7,4 +7,16 @@ weight = 120 # Order that this section will appear. title = "Popular Topics" subtitle = "" + +[content] + # Choose the taxonomy from `config.toml` to display (e.g. tags, categories) + taxonomy = "tags" + + # Choose how many tags you would like to display (0 = all tags) + count = 20 + +[design] + # Minimum and maximum font sizes (1.0 = 100%). + font_size_min = 0.7 + font_size_max = 2.0 +++ diff --git a/data/page_sharer.toml b/data/page_sharer.toml index 4f6e611..86df601 100644 --- a/data/page_sharer.toml +++ b/data/page_sharer.toml @@ -72,3 +72,11 @@ icon_pack = "fab" icon = "xing" enable = false + +[[buttons]] + id = "tumblr" + url = "https://www.tumblr.com/widgets/share/tool?canonicalUrl={url}&title={title}" + title = "Tumblr" + icon_pack = "fab" + icon = "tumblr" + enable = false diff --git a/themes/academic b/themes/academic index 32b6145..aa13a4d 160000 --- a/themes/academic +++ b/themes/academic @@ -1 +1 @@ -Subproject commit 32b6145c06835e33668100105ac1835593cf8d72 +Subproject commit aa13a4d28c77db109db9a56ab17f1c926686c328