Skip to content

Commit

Permalink
theme: upgrade to v4.6.0 public release
Browse files Browse the repository at this point in the history
  • Loading branch information
gcushen committed Nov 16, 2019
1 parent 711d7ea commit bc9833c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
15 changes: 10 additions & 5 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 )
Expand Down
2 changes: 1 addition & 1 deletion data/page_sharer.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down
2 changes: 1 addition & 1 deletion themes/academic

0 comments on commit bc9833c

Please sign in to comment.