diff options
author | George Cushen <gcushen@users.noreply.github.com> | 2019-08-30 14:31:46 +0300 |
---|---|---|
committer | George Cushen <gcushen@users.noreply.github.com> | 2019-08-30 14:31:46 +0300 |
commit | bdea9adca0bc5b49512e52b333502371017b0642 (patch) | |
tree | ad4f70c5a917775f8684feaa7817a28d8e56b613 | |
parent | 98a99bf4cc3a0ea6035ef6306bff863d7c49b060 (diff) |
theme: upgrade to latest v4.5-dev - get new theme/font system
-rw-r--r-- | config/_default/params.toml | 25 | ||||
-rw-r--r-- | content/home/tags.md | 12 | ||||
-rw-r--r-- | data/page_sharer.toml | 8 | ||||
m--------- | themes/academic | 0 |
4 files changed, 37 insertions, 8 deletions
diff --git a/config/_default/params.toml b/config/_default/params.toml index 765d3bd0..d5667270 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 4ad29fe5..6da5875c 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 4f6e6115..86df6014 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 -Subproject 32b6145c06835e33668100105ac1835593cf8d7 +Subproject aa13a4d28c77db109db9a56ab17f1c926686c32 |