theme: sync v4.1 dev and upgrade home sections to use Pages widget

This commit is contained in:
George Cushen
2019-02-24 01:23:30 +00:00
parent 1d6e6e629e
commit c7e09f4aa4
8 changed files with 190 additions and 76 deletions

View File

@@ -1,38 +1,68 @@
+++
# Recent Publications widget.
# This widget displays recent publications from `content/publication/`.
widget = "publications" # Do not modify this line!
# A Recent Publications section created with the Pages widget.
# This section displays recent blog posts from `content/publication/`.
widget = "pages" # Do not modify this line!
active = true # Activate this widget? true/false
weight = 20 # Order that this section will appear.
title = "Recent Publications"
subtitle = ""
# Order that this section will appear in.
weight = 20
[content]
# Page type to display. E.g. post, talk, or publication.
page_type = "publication"
# Choose how much pages you would like to display (0 = all pages)
count = 5
# Choose how many pages you would like to offset by
offset = 0
# Number of publications to list.
count = 10
# Page order. Descending (desc) or ascending (asc) date.
order = "desc"
# View.
# 1 = List
# 2 = Compact
# 3 = Card
# 4 = Citation
view = 2
# 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.
# Filter by publication type.
# -1: Any
# 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?
exclude_featured = false
# Text color (true=light or false=dark).
text_color_light = true
[advanced]
# Custom CSS.
css_style = ""
# CSS class.
css_class = ""
+++
{{% alert note %}}