theme: sync v4.1 dev and upgrade home sections to use Pages widget
This commit is contained in:
parent
1d6e6e629e
commit
c7e09f4aa4
@ -2,20 +2,19 @@
|
|||||||
# Hero widget.
|
# Hero widget.
|
||||||
widget = "hero" # Do not modify this line!
|
widget = "hero" # Do not modify this line!
|
||||||
active = false # Activate this widget? true/false
|
active = false # Activate this widget? true/false
|
||||||
|
weight = 3 # Order that this section will appear.
|
||||||
|
|
||||||
title = "Academic"
|
title = "Academic"
|
||||||
|
|
||||||
# Order that this section will appear in.
|
|
||||||
weight = 3
|
|
||||||
|
|
||||||
# Hero image (optional). Enter filename of an image in the `static/img/` folder.
|
# Hero image (optional). Enter filename of an image in the `static/img/` folder.
|
||||||
hero_media = ""
|
hero_media = ""
|
||||||
|
|
||||||
# Background (optional).
|
[design.background]
|
||||||
# Choose from a background color, gradient, or image.
|
# Apply a background color, gradient, or image.
|
||||||
# Choose a dark or light text color, by setting `text_color_light`.
|
# Uncomment (by removing `#`) an option to apply it.
|
||||||
# Delete or comment out (by prefixing `#`) any unused options.
|
# Choose a light or dark text color by setting `text_color_light`.
|
||||||
[background]
|
# Any HTML color name or Hex value is valid.
|
||||||
|
|
||||||
# Background color.
|
# Background color.
|
||||||
# color = "navy"
|
# color = "navy"
|
||||||
|
|
||||||
|
@ -1,25 +1,66 @@
|
|||||||
+++
|
+++
|
||||||
# Recent Posts widget.
|
# A Recent Blog Posts section created with the Pages widget.
|
||||||
# This widget displays recent posts from `content/post/`.
|
# This section displays recent blog posts from `content/post/`.
|
||||||
widget = "posts" # Do not modify this line!
|
|
||||||
|
widget = "pages" # Do not modify this line!
|
||||||
active = true # Activate this widget? true/false
|
active = true # Activate this widget? true/false
|
||||||
weight = 40 # Order that this section will appear.
|
weight = 40 # Order that this section will appear.
|
||||||
|
|
||||||
title = "Recent Posts"
|
title = "Recent Posts"
|
||||||
subtitle = ""
|
subtitle = ""
|
||||||
|
|
||||||
# Number of recent posts to list.
|
[content]
|
||||||
count = 5
|
# Page type to display. E.g. post, talk, or publication.
|
||||||
|
page_type = "post"
|
||||||
|
|
||||||
# View.
|
# Choose how much pages you would like to display (0 = all pages)
|
||||||
# 1 = List
|
count = 5
|
||||||
# 2 = Compact
|
|
||||||
# 3 = Card
|
|
||||||
view = 2
|
|
||||||
|
|
||||||
# Filter posts by tag or category.
|
# Choose how many pages you would like to offset by
|
||||||
# E.g. to only show posts tagged with `Academic`, set `filter_tag = "Academic"`
|
offset = 0
|
||||||
filter_tag = ""
|
|
||||||
filter_category = ""
|
# Page order. Descending (desc) or ascending (asc) date.
|
||||||
|
order = "desc"
|
||||||
|
|
||||||
|
# Filter posts by a taxonomy term.
|
||||||
|
[content.filters]
|
||||||
|
tag = ""
|
||||||
|
category = ""
|
||||||
|
publication_type = ""
|
||||||
|
exclude_featured = false
|
||||||
|
|
||||||
|
[design]
|
||||||
|
# Toggle between the various page layout types.
|
||||||
|
# 1 = List
|
||||||
|
# 2 = Compact
|
||||||
|
# 3 = Card
|
||||||
|
# 4 = Citation (publication only)
|
||||||
|
view = 2
|
||||||
|
|
||||||
|
[design.background]
|
||||||
|
# Apply a background color, gradient, or image.
|
||||||
|
# Uncomment (by removing `#`) an option to apply it.
|
||||||
|
# Choose a light or dark text color by setting `text_color_light`.
|
||||||
|
# Any HTML color name or Hex value is valid.
|
||||||
|
|
||||||
|
# Background color.
|
||||||
|
# color = "navy"
|
||||||
|
|
||||||
|
# Background gradient.
|
||||||
|
# gradient_start = "DeepSkyBlue"
|
||||||
|
# gradient_end = "SkyBlue"
|
||||||
|
|
||||||
|
# Background image.
|
||||||
|
# image = "background.jpg" # Name of image in `static/img/`.
|
||||||
|
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
|
||||||
|
|
||||||
|
# Text color (true=light or false=dark).
|
||||||
|
text_color_light = true
|
||||||
|
|
||||||
|
[advanced]
|
||||||
|
# Custom CSS.
|
||||||
|
css_style = ""
|
||||||
|
|
||||||
|
# CSS class.
|
||||||
|
css_class = ""
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
@ -1,38 +1,68 @@
|
|||||||
+++
|
+++
|
||||||
# Recent Publications widget.
|
# A Recent Publications section created with the Pages widget.
|
||||||
# This widget displays recent publications from `content/publication/`.
|
# This section displays recent blog posts from `content/publication/`.
|
||||||
widget = "publications" # Do not modify this line!
|
|
||||||
|
widget = "pages" # Do not modify this line!
|
||||||
active = true # Activate this widget? true/false
|
active = true # Activate this widget? true/false
|
||||||
|
weight = 20 # Order that this section will appear.
|
||||||
|
|
||||||
title = "Recent Publications"
|
title = "Recent Publications"
|
||||||
subtitle = ""
|
subtitle = ""
|
||||||
|
|
||||||
# Order that this section will appear in.
|
[content]
|
||||||
weight = 20
|
# Page type to display. E.g. post, talk, or publication.
|
||||||
|
page_type = "publication"
|
||||||
|
|
||||||
# Number of publications to list.
|
# Choose how much pages you would like to display (0 = all pages)
|
||||||
count = 10
|
count = 5
|
||||||
|
|
||||||
# View.
|
# Choose how many pages you would like to offset by
|
||||||
# 1 = List
|
offset = 0
|
||||||
# 2 = Compact
|
|
||||||
# 3 = Card
|
|
||||||
# 4 = Citation
|
|
||||||
view = 2
|
|
||||||
|
|
||||||
# Filter by publication type.
|
# Page order. Descending (desc) or ascending (asc) date.
|
||||||
# -1: Any
|
order = "desc"
|
||||||
# 0: Uncategorized
|
|
||||||
# 1: Conference proceedings
|
|
||||||
# 2: Journal
|
|
||||||
# 3: Work in progress
|
|
||||||
# 4: Technical report
|
|
||||||
# 5: Book
|
|
||||||
# 6: Book chapter
|
|
||||||
publication_type = "-1"
|
|
||||||
|
|
||||||
# Exclude publications that are shown in the Featured Publications widget?
|
# Filter posts by a taxonomy term.
|
||||||
exclude_featured = false
|
[content.filters]
|
||||||
|
tag = ""
|
||||||
|
category = ""
|
||||||
|
publication_type = ""
|
||||||
|
exclude_featured = false
|
||||||
|
|
||||||
|
[design]
|
||||||
|
# Toggle between the various page layout types.
|
||||||
|
# 1 = List
|
||||||
|
# 2 = Compact
|
||||||
|
# 3 = Card
|
||||||
|
# 4 = Citation (publication only)
|
||||||
|
view = 2
|
||||||
|
|
||||||
|
[design.background]
|
||||||
|
# Apply a background color, gradient, or image.
|
||||||
|
# Uncomment (by removing `#`) an option to apply it.
|
||||||
|
# Choose a light or dark text color by setting `text_color_light`.
|
||||||
|
# Any HTML color name or Hex value is valid.
|
||||||
|
|
||||||
|
# Background color.
|
||||||
|
# color = "navy"
|
||||||
|
|
||||||
|
# Background gradient.
|
||||||
|
# gradient_start = "DeepSkyBlue"
|
||||||
|
# gradient_end = "SkyBlue"
|
||||||
|
|
||||||
|
# Background image.
|
||||||
|
# image = "background.jpg" # Name of image in `static/img/`.
|
||||||
|
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
|
||||||
|
|
||||||
|
# Text color (true=light or false=dark).
|
||||||
|
text_color_light = true
|
||||||
|
|
||||||
|
[advanced]
|
||||||
|
# Custom CSS.
|
||||||
|
css_style = ""
|
||||||
|
|
||||||
|
# CSS class.
|
||||||
|
css_class = ""
|
||||||
+++
|
+++
|
||||||
|
|
||||||
{{% alert note %}}
|
{{% alert note %}}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
widget = "tag_cloud" # Do not modify this line!
|
widget = "tag_cloud" # Do not modify this line!
|
||||||
active = true # Activate this widget? true/false
|
active = true # Activate this widget? true/false
|
||||||
|
|
||||||
title = "Tags"
|
title = "Popular Topics"
|
||||||
subtitle = ""
|
subtitle = ""
|
||||||
|
|
||||||
# Order that this section will appear in.
|
# Order that this section will appear in.
|
||||||
|
@ -1,24 +1,66 @@
|
|||||||
+++
|
+++
|
||||||
# Recent and Upcoming Talks widget.
|
# A Recent and Upcoming Talks section created with the Pages widget.
|
||||||
widget = "talks" # Do not modify this line!
|
# This section displays recent talks from `content/talk/`.
|
||||||
|
|
||||||
|
widget = "pages" # Do not modify this line!
|
||||||
active = true # Activate this widget? true/false
|
active = true # Activate this widget? true/false
|
||||||
|
weight = 30 # Order that this section will appear.
|
||||||
|
|
||||||
title = "Recent & Upcoming Talks"
|
title = "Recent & Upcoming Talks"
|
||||||
subtitle = ""
|
subtitle = ""
|
||||||
|
|
||||||
# Order that this section will appear in.
|
[content]
|
||||||
weight = 30
|
# Page type to display. E.g. post, talk, or publication.
|
||||||
|
page_type = "talk"
|
||||||
|
|
||||||
# Number of talks to list.
|
# Choose how much pages you would like to display (0 = all pages)
|
||||||
count = 10
|
count = 5
|
||||||
|
|
||||||
# View.
|
# Choose how many pages you would like to offset by
|
||||||
# 1 = List
|
offset = 0
|
||||||
# 2 = Compact
|
|
||||||
# 3 = Card
|
|
||||||
view = 2
|
|
||||||
|
|
||||||
# Exclude talks that are shown in the Featured Talks widget?
|
# Page order. Descending (desc) or ascending (asc) date.
|
||||||
exclude_featured = false
|
order = "desc"
|
||||||
|
|
||||||
|
# Filter posts by a taxonomy term.
|
||||||
|
[content.filters]
|
||||||
|
tag = ""
|
||||||
|
category = ""
|
||||||
|
publication_type = ""
|
||||||
|
exclude_featured = false
|
||||||
|
|
||||||
|
[design]
|
||||||
|
# Toggle between the various page layout types.
|
||||||
|
# 1 = List
|
||||||
|
# 2 = Compact
|
||||||
|
# 3 = Card
|
||||||
|
# 4 = Citation (publication only)
|
||||||
|
view = 2
|
||||||
|
|
||||||
|
[design.background]
|
||||||
|
# Apply a background color, gradient, or image.
|
||||||
|
# Uncomment (by removing `#`) an option to apply it.
|
||||||
|
# Choose a light or dark text color by setting `text_color_light`.
|
||||||
|
# Any HTML color name or Hex value is valid.
|
||||||
|
|
||||||
|
# Background color.
|
||||||
|
# color = "navy"
|
||||||
|
|
||||||
|
# Background gradient.
|
||||||
|
# gradient_start = "DeepSkyBlue"
|
||||||
|
# gradient_end = "SkyBlue"
|
||||||
|
|
||||||
|
# Background image.
|
||||||
|
# image = "background.jpg" # Name of image in `static/img/`.
|
||||||
|
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
|
||||||
|
|
||||||
|
# Text color (true=light or false=dark).
|
||||||
|
text_color_light = true
|
||||||
|
|
||||||
|
[advanced]
|
||||||
|
# Custom CSS.
|
||||||
|
css_style = ""
|
||||||
|
|
||||||
|
# CSS class.
|
||||||
|
css_class = ""
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
@ -1,22 +1,22 @@
|
|||||||
+++
|
+++
|
||||||
# Custom widget.
|
# A Demo section created with the Custom widget.
|
||||||
# An example of using the custom widget to create your own homepage section.
|
# Any elements can be added in the body: https://sourcethemes.com/academic/docs/writing-markdown-latex/
|
||||||
# To create more sections, duplicate this file and edit the values below as desired.
|
# Add more sections by duplicating this file and customizing to your requirements.
|
||||||
|
|
||||||
widget = "custom" # Do not modify this line!
|
widget = "custom" # Do not modify this line!
|
||||||
active = true # Activate this widget? true/false
|
active = true # Activate this widget? true/false
|
||||||
|
weight = 60 # Order that this section will appear.
|
||||||
|
|
||||||
# Note: a full width section format can be enabled by commenting out the `title` and `subtitle` with a `#`.
|
# Note: a full width section format can be enabled by commenting out the `title` and `subtitle` with a `#`.
|
||||||
title = "Custom Section"
|
title = "Custom Section"
|
||||||
subtitle = ""
|
subtitle = ""
|
||||||
|
|
||||||
# Order that this section will appear in.
|
[design.background]
|
||||||
weight = 60
|
# Apply a background color, gradient, or image.
|
||||||
|
# Uncomment (by removing `#`) an option to apply it.
|
||||||
|
# Choose a light or dark text color by setting `text_color_light`.
|
||||||
|
# Any HTML color name or Hex value is valid.
|
||||||
|
|
||||||
# Background (optional).
|
|
||||||
# Choose from a background color, gradient, or image.
|
|
||||||
# Choose a dark or light text color, by setting `text_color_light`.
|
|
||||||
# Delete or comment out (by prefixing `#`) any unused options.
|
|
||||||
[background]
|
|
||||||
# Background color.
|
# Background color.
|
||||||
# color = "navy"
|
# color = "navy"
|
||||||
|
|
||||||
|
@ -3,7 +3,9 @@
|
|||||||
# WARNING: this will reset the project to the Kickstart template!
|
# WARNING: this will reset the project to the Kickstart template!
|
||||||
|
|
||||||
# Update Academic
|
# Update Academic
|
||||||
source ../update_academic.sh
|
cd ..
|
||||||
|
source update_academic.sh
|
||||||
|
cd scripts/
|
||||||
|
|
||||||
#################################################
|
#################################################
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 3ac394a58c2a76bed802db4fe9360496816c293e
|
Subproject commit 9985bc5e895fefe7fb95e83bbdf1e6133d39ef7b
|
Loading…
Reference in New Issue
Block a user