Browse Source

theme: upgrade to v4.5-dev

master
George Cushen 3 years ago
parent
commit
5b2d67bdb4
  1. 3
      config/_default/config.toml
  2. 21
      config/_default/params.toml
  3. 1
      content/home/projects.md
  4. 8
      data/page_sharer.toml
  5. 2
      themes/academic

3
config/_default/config.toml

@ -18,9 +18,6 @@ copyright = ""
# Enable analytics by entering your Google Analytics tracking ID
googleAnalytics = ""
# Enable comments by entering your Disqus shortname
disqusShortname = ""
############################
## Advanced options below ##
############################

21
config/_default/params.toml

@ -45,7 +45,7 @@ privacy_pack = false
# Enable visitors to edit pages?
# `repo` defines the repository URL. `editable` defines which page types can be edited.
edit_page = {repo_url = "", editable = {docs = true}}
edit_page = {repo_url = "", editable = {docs = true, page = false, post = false}}
# Date and time format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
# Examples: "Mon, Jan 2, 2006" or "2006-01-02"
@ -123,9 +123,6 @@ menu_align_right = false
# Show estimated reading time for posts? (true/false)
reading_time = true
# Display comment count (if commenting enabled in config.toml)? (true/false)
comment_count = true
# Display next/previous section pager? (true/false)
section_pager = false
docs_section_pager = true # Display pager in Docs layout (e.g. tutorials)?
@ -153,6 +150,22 @@ sharing = true
publication_view = 2
talk_view = 2
# Comments.
[comments]
# Comment provider:
# 0: Disabled
# 1: Disqus (https://disqus.com)
# 2: Commento (https://commento.io)
engine = 0
# Which page types are commentable?
commentable = {page = true, post = true, docs = true}
# Configuration of Disqus.
[comments.disqus]
shortname = "" # Paste the shortname from your Disqus dashboard.
show_count = true # Show comment count in page header? (true/false)
# Search.
[search]
# Search provider:

1
content/home/projects.md

@ -39,6 +39,7 @@ subtitle = ""
# Toggle between the various page layout types.
# 1 = List
# 2 = Compact
# 3 = Card
# 5 = Showcase
view = 3

8
data/page_sharer.toml

@ -56,3 +56,11 @@
icon_pack = "fab"
icon = "reddit-alien"
enable = false
[[buttons]]
id = "pinterest"
url = "https://pinterest.com/pin/create/link/?url={url}&description={title}"
title = "Pinterest"
icon_pack = "fab"
icon = "pinterest"
enable = false

2
themes/academic

@ -1 +1 @@
Subproject commit 5b4d11825e7c5ff3eb3125d049a34107e512d2ed
Subproject commit a1ba678e793edc2992f2202f228c9e3449ce3784
Loading…
Cancel
Save