refactor: convert publications.md to YAML
This commit is contained in:
parent
2a32e892c1
commit
4cd48f81c6
2 changed files with 61 additions and 121 deletions
|
@ -1,71 +1,41 @@
|
||||||
+++
|
---
|
||||||
# A Recent Publications section created with the Pages widget.
|
# An instance of the Pages widget.
|
||||||
# This section displays recent blog posts from `content/publication/`.
|
# 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 = 90 # Order that this section will appear.
|
|
||||||
|
|
||||||
title = "Recent Publications"
|
# Order that this section appears on the page.
|
||||||
subtitle = ""
|
weight: 90
|
||||||
|
|
||||||
[content]
|
title: Recent Publications
|
||||||
# Page type to display. E.g. post, talk, or publication.
|
subtitle: ''
|
||||||
page_type = "publication"
|
|
||||||
|
content:
|
||||||
|
# Page type to display. E.g. post, talk, publication...
|
||||||
|
page_type: publication
|
||||||
# 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
|
||||||
|
|
||||||
# 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.
|
||||||
# Page order. Descending (desc) or ascending (asc) date.
|
order: desc
|
||||||
order = "desc"
|
# Filter on criteria
|
||||||
|
filters:
|
||||||
# Filter posts by a taxonomy term.
|
tag: ''
|
||||||
[content.filters]
|
category: ''
|
||||||
tag = ""
|
publication_type: ''
|
||||||
category = ""
|
author: ''
|
||||||
publication_type = ""
|
exclude_featured: true
|
||||||
author = ""
|
design:
|
||||||
exclude_featured = false
|
# Choose a view for the listings:
|
||||||
|
|
||||||
[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: 4
|
||||||
|
---
|
||||||
[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 = ""
|
|
||||||
+++
|
|
||||||
|
|
||||||
{{% callout note %}}
|
{{% callout note %}}
|
||||||
Quickly discover relevant content by [filtering publications](./publication/).
|
Quickly discover relevant content by [filtering publications](./publication/).
|
||||||
|
|
|
@ -1,72 +1,42 @@
|
||||||
+++
|
---
|
||||||
# A Recent Publications section created with the Pages widget.
|
# An instance of the Pages widget.
|
||||||
# This section displays recent blog posts from `content/publication/`.
|
# 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 = 90 # Order that this section will appear.
|
|
||||||
|
|
||||||
title = "Recent Publications"
|
# Order that this section appears on the page.
|
||||||
subtitle = ""
|
weight: 90
|
||||||
|
|
||||||
[content]
|
title: Recent Publications
|
||||||
# Page type to display. E.g. post, talk, or publication.
|
subtitle: ''
|
||||||
page_type = "publication"
|
|
||||||
|
content:
|
||||||
|
# Page type to display. E.g. post, talk, publication...
|
||||||
|
page_type: publication
|
||||||
# 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
|
||||||
|
|
||||||
# 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.
|
||||||
# Page order. Descending (desc) or ascending (asc) date.
|
order: desc
|
||||||
order = "desc"
|
# Filter on criteria
|
||||||
|
filters:
|
||||||
# Filter posts by a taxonomy term.
|
tag: ''
|
||||||
[content.filters]
|
category: ''
|
||||||
tag = ""
|
publication_type: ''
|
||||||
category = ""
|
author: ''
|
||||||
publication_type = ""
|
exclude_featured: true
|
||||||
author = ""
|
design:
|
||||||
exclude_featured = false
|
# Choose a view for the listings:
|
||||||
|
|
||||||
[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: 4
|
||||||
|
---
|
||||||
[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).
|
{{% callout note %}}
|
||||||
# text_color_light = true
|
Quickly discover relevant content by [filtering publications](./publication/).
|
||||||
|
{{% /callout %}}
|
||||||
[advanced]
|
|
||||||
# Custom CSS.
|
|
||||||
css_style = ""
|
|
||||||
|
|
||||||
# CSS class.
|
|
||||||
css_class = ""
|
|
||||||
+++
|
|
||||||
|
|
||||||
{{% alert note %}}
|
|
||||||
Quickly discover relevant content by [filtering publications]({{< ref "/publication/_index.md" >}}).
|
|
||||||
{{% /alert %}}
|
|
||||||
|
|
Loading…
Reference in a new issue