diff options
author | George Cushen <gcushen@users.noreply.github.com> | 2019-11-16 21:10:09 +0300 |
---|---|---|
committer | George Cushen <gcushen@users.noreply.github.com> | 2019-11-16 21:10:09 +0300 |
commit | bc9833cf9794dbdf6af2a04ac4619a75c88f6db2 (patch) | |
tree | a02b1ef28545d467b64b43dbae79a42d31130ab3 /config | |
parent | 711d7ea531d04e213961efc841f056f002b5887a (diff) |
theme: upgrade to v4.6.0 public release
Diffstat (limited to 'config')
-rw-r--r-- | config/_default/params.toml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/config/_default/params.toml b/config/_default/params.toml index c3fbd28a..d7197587 100644 --- a/config/_default/params.toml +++ b/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 ) |