refactor: convert projects.md to YAML
Also switch default view from (Masonry) Card to Compact for consistency with other widget views.
This commit is contained in:
parent
4cd48f81c6
commit
efe3c21f73
2 changed files with 66 additions and 124 deletions
|
@ -1,77 +1,48 @@
|
||||||
+++
|
---
|
||||||
# A Projects section created with the Portfolio widget.
|
# An instance of the Portfolio widget.
|
||||||
widget = "portfolio" # See https://sourcethemes.com/academic/docs/page-builder/
|
# Documentation: https://wowchemy.com/docs/page-builder/
|
||||||
headless = true # This file represents a page section.
|
widget: portfolio
|
||||||
active = true # Activate this widget? true/false
|
|
||||||
weight = 65 # Order that this section will appear.
|
|
||||||
|
|
||||||
title = "Projects"
|
# This file represents a page section.
|
||||||
subtitle = ""
|
headless: true
|
||||||
|
|
||||||
[content]
|
# Order that this section appears on the page.
|
||||||
|
weight: 65
|
||||||
|
|
||||||
|
title: Projects
|
||||||
|
subtitle: ''
|
||||||
|
|
||||||
|
content:
|
||||||
# Page type to display. E.g. project.
|
# Page type to display. E.g. project.
|
||||||
page_type = "project"
|
page_type: project
|
||||||
|
|
||||||
|
# Default filter index (e.g. 0 corresponds to the first `filter_button` instance below).
|
||||||
|
filter_default: 0
|
||||||
|
|
||||||
# Filter toolbar (optional).
|
# Filter toolbar (optional).
|
||||||
# Add or remove as many filters (`[[content.filter_button]]` instances) as you like.
|
# Add or remove as many filters (`filter_button` instances) as you like.
|
||||||
# To show all items, set `tag` to "*".
|
# To show all items, set `tag` to "*".
|
||||||
# To filter by a specific tag, set `tag` to an existing tag name.
|
# To filter by a specific tag, set `tag` to an existing tag name.
|
||||||
# To remove toolbar, delete/comment all instances of `[[content.filter_button]]` below.
|
# To remove the toolbar, delete the entire `filter_button` block.
|
||||||
|
filter_button:
|
||||||
# Default filter index (e.g. 0 corresponds to the first `[[filter_button]]` instance below).
|
- name: All
|
||||||
filter_default = 0
|
tag: '*'
|
||||||
|
- name: Deep Learning
|
||||||
# [[content.filter_button]]
|
tag: Deep Learning
|
||||||
# name = "All"
|
- name: Other
|
||||||
# tag = "*"
|
tag: Demo
|
||||||
|
|
||||||
# [[content.filter_button]]
|
|
||||||
# name = "Deep Learning"
|
|
||||||
# tag = "Deep Learning"
|
|
||||||
|
|
||||||
# [[content.filter_button]]
|
|
||||||
# name = "Other"
|
|
||||||
# tag = "Demo"
|
|
||||||
|
|
||||||
[design]
|
design:
|
||||||
# Choose how many columns the section has. Valid values: 1 or 2.
|
# Choose how many columns the section has. Valid values: '1' or '2'.
|
||||||
columns = "2"
|
columns: '2'
|
||||||
|
|
||||||
# Toggle between the various page layout types.
|
# Toggle between the various page layout types.
|
||||||
# 1 = List
|
# 1 = List
|
||||||
# 2 = Compact
|
# 2 = Compact
|
||||||
# 3 = Card
|
# 3 = Card
|
||||||
# 5 = Showcase
|
# 5 = Showcase
|
||||||
view = 3
|
view: 2
|
||||||
|
|
||||||
# For Showcase view, flip alternate rows?
|
# For Showcase view, flip alternate rows?
|
||||||
flip_alt_rows = false
|
flip_alt_rows: false
|
||||||
|
---
|
||||||
[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 = ""
|
|
||||||
+++
|
|
||||||
|
|
||||||
|
|
|
@ -1,77 +1,48 @@
|
||||||
+++
|
---
|
||||||
# A Projects section created with the Portfolio widget.
|
# An instance of the Portfolio widget.
|
||||||
widget = "portfolio" # See https://sourcethemes.com/academic/docs/page-builder/
|
# Documentation: https://wowchemy.com/docs/page-builder/
|
||||||
headless = true # This file represents a page section.
|
widget: portfolio
|
||||||
active = true # Activate this widget? true/false
|
|
||||||
weight = 65 # Order that this section will appear.
|
|
||||||
|
|
||||||
title = "Projects"
|
# This file represents a page section.
|
||||||
subtitle = ""
|
headless: true
|
||||||
|
|
||||||
[content]
|
# Order that this section appears on the page.
|
||||||
|
weight: 65
|
||||||
|
|
||||||
|
title: Projects
|
||||||
|
subtitle: ''
|
||||||
|
|
||||||
|
content:
|
||||||
# Page type to display. E.g. project.
|
# Page type to display. E.g. project.
|
||||||
page_type = "project"
|
page_type: project
|
||||||
|
|
||||||
|
# Default filter index (e.g. 0 corresponds to the first `filter_button` instance below).
|
||||||
|
filter_default: 0
|
||||||
|
|
||||||
# Filter toolbar (optional).
|
# Filter toolbar (optional).
|
||||||
# Add or remove as many filters (`[[content.filter_button]]` instances) as you like.
|
# Add or remove as many filters (`filter_button` instances) as you like.
|
||||||
# To show all items, set `tag` to "*".
|
# To show all items, set `tag` to "*".
|
||||||
# To filter by a specific tag, set `tag` to an existing tag name.
|
# To filter by a specific tag, set `tag` to an existing tag name.
|
||||||
# To remove toolbar, delete/comment all instances of `[[content.filter_button]]` below.
|
# To remove the toolbar, delete the entire `filter_button` block.
|
||||||
|
filter_button:
|
||||||
# Default filter index (e.g. 0 corresponds to the first `[[filter_button]]` instance below).
|
- name: All
|
||||||
filter_default = 0
|
tag: '*'
|
||||||
|
- name: Deep Learning
|
||||||
[[content.filter_button]]
|
tag: Deep Learning
|
||||||
name = "All"
|
- name: Other
|
||||||
tag = "*"
|
tag: Demo
|
||||||
|
|
||||||
[[content.filter_button]]
|
|
||||||
name = "Deep Learning"
|
|
||||||
tag = "Deep Learning"
|
|
||||||
|
|
||||||
[[content.filter_button]]
|
|
||||||
name = "Other"
|
|
||||||
tag = "Demo"
|
|
||||||
|
|
||||||
[design]
|
design:
|
||||||
# Choose how many columns the section has. Valid values: 1 or 2.
|
# Choose how many columns the section has. Valid values: '1' or '2'.
|
||||||
columns = "2"
|
columns: '2'
|
||||||
|
|
||||||
# Toggle between the various page layout types.
|
# Toggle between the various page layout types.
|
||||||
# 1 = List
|
# 1 = List
|
||||||
# 2 = Compact
|
# 2 = Compact
|
||||||
# 3 = Card
|
# 3 = Card
|
||||||
# 5 = Showcase
|
# 5 = Showcase
|
||||||
view = 3
|
view: 2
|
||||||
|
|
||||||
# For Showcase view, flip alternate rows?
|
# For Showcase view, flip alternate rows?
|
||||||
flip_alt_rows = false
|
flip_alt_rows: false
|
||||||
|
---
|
||||||
[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 = ""
|
|
||||||
+++
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue