refactor: convert talks.md to YAML

This commit is contained in:
George Cushen 2020-12-13 00:04:46 +00:00
parent 9a785945f6
commit 2a32e892c1
2 changed files with 33 additions and 65 deletions

View file

@ -1,70 +1,41 @@
+++ ---
# A Recent and Upcoming Talks section created with the Pages widget. # An instance of the Pages widget.
# This section displays recent talks from `content/talk/`. # Documentation: https://wowchemy.com/docs/page-builder/
widget: pages
widget = "pages" # See https://sourcethemes.com/academic/docs/page-builder/ # This file represents a page section.
headless = true # This file represents a page section. headless: true
active = true # Activate this widget? true/false
weight = 70 # Order that this section will appear.
title = "Recent & Upcoming Talks" # Order that this section appears on the page.
subtitle = "" weight: 70
[content] title: 'Recent & Upcoming Talks'
# Page type to display. E.g. post, talk, or publication. subtitle:
page_type = "talk"
content:
# Page type to display. E.g. post, talk, publication...
page_type: talk
# Choose how much pages you would like to display (0 = all pages) # Choose how much pages you would like to display (0 = all pages)
count = 5 count: 5
# Filter on criteria
filters:
author: ""
category: ""
tag: ""
exclude_featured: false
exclude_future: false
exclude_past: false
publication_type: ""
# Choose how many pages you would like to offset by # Choose how many pages you would like to offset by
offset = 0 offset: 0
# Page order: descending (desc) or ascending (asc) date.
order: desc
# Page order. Descending (desc) or ascending (asc) date. design:
order = "desc" # Choose a view for the listings:
# Filter posts by a taxonomy term.
[content.filters]
tag = ""
category = ""
publication_type = ""
author = ""
exclude_featured = false
exclude_past = false
exclude_future = false
[design]
# Toggle between the various page layout types.
# 1 = List # 1 = List
# 2 = Compact # 2 = Compact
# 3 = Card # 3 = Card
# 4 = Citation (publication only) # 4 = Citation (publication only)
view = 2 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/media/`.
# 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 = ""
+++

View file

@ -1,18 +1,15 @@
--- ---
# An instance of the Pages widget. # An instance of the Pages widget.
# Documentation: https://sourcethemes.com/academic/docs/page-builder/ # Documentation: https://wowchemy.com/docs/page-builder/
widget: pages widget: pages
# Activate this widget? true/false
active: true
# This file represents a page section. # This file represents a page section.
headless: true headless: true
# Order that this section appears on the page. # Order that this section appears on the page.
weight: 70 weight: 70
title: Recent & Upcoming Talks title: 'Recent & Upcoming Talks'
subtitle: subtitle:
content: content: