Browse Source

theme: upgrade to latest v4.5-dev - get new theme/font system

master
George Cushen 2 years ago
parent
commit
bdea9adca0
  1. 25
      config/_default/params.toml
  2. 12
      content/home/tags.md
  3. 8
      data/page_sharer.toml
  4. 2
      themes/academic

25
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 = ""

12
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
+++

8
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

2
themes/academic

@ -1 +1 @@
Subproject commit 32b6145c06835e33668100105ac1835593cf8d72
Subproject commit aa13a4d28c77db109db9a56ab17f1c926686c328
Loading…
Cancel
Save