Browse Source

theme: upgrade to v4.6.0 public release

master
George Cushen 2 years ago
parent
commit
bc9833cf97
  1. 15
      config/_default/params.toml
  2. 2
      data/page_sharer.toml
  3. 2
      themes/academic

15
config/_default/params.toml

@ -136,9 +136,8 @@ date_format = "Jan 2, 2006"
# Examples: "3:04 pm" or "15:04"
time_format = "3:04 PM"
# List delimiter (separates parts of an address)
# Popular separators are ", " (comma), "<br>" (new line), " " (space)
list_delimiter = ", "
# Address format (choose from the [address_formats] list below or add you own to the list).
address_format = "en-us"
############################
## Advanced
@ -147,8 +146,8 @@ list_delimiter = ", "
# Get user avatars from Gravatar.com? (true/false)
gravatar = false
# Align the main menu to the right of the page? (true/false)
menu_align_right = false
# Main menu alignment (l = left, c = center, r = right) and logo options.
main_menu = {align = "l", show_logo = true}
# Show estimated reading time for posts? (true/false)
reading_time = true
@ -167,6 +166,12 @@ link_authors = true
# E.g. To load `/assets/js/custom.js`, set `plugins_js = ["custom"]`.
plugins_js = []
# Available address formats.
[address_formats]
en-us = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ' ', '']}
en-gb = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ', ', '']}
zh = {order = ['postcode', 'region', 'city', 'street'], delimiters = [' ', ' ', ' ', '']}
# Configuration of publication pages.
[publications]
# Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )

2
data/page_sharer.toml

@ -14,7 +14,7 @@
url = "https://www.facebook.com/sharer.php?u={url}&t={title}"
title = "Facebook"
icon_pack = "fab"
icon = "facebook-f"
icon = "facebook"
enable = true
[[buttons]]

2
themes/academic

@ -1 +1 @@
Subproject commit 24bfa6fa4d084b0ac3f64ddcb2d71e4916c0e583
Subproject commit a1f5a3cdd04fa481c54e5dbe5066921fc3c3b7b1
Loading…
Cancel
Save