Configure simple cards & landing page for listing of posts

This commit is contained in:
benjamin melançon 2019-11-18 14:10:28 -05:00
parent 10eccb0e54
commit cedca7f6ec
3 changed files with 42 additions and 29 deletions

View file

@ -23,13 +23,14 @@ dependencies:
third_party_settings:
ds:
layout:
id: ds_1col
library: null
id: ds_2col
library: ds/ds_2col
disable_css: false
entity_classes: all_classes
settings:
wrappers:
ds_content: div
left: div
right: div
outer_wrapper: div
attributes: ''
link_attribute: ''
@ -37,45 +38,46 @@ third_party_settings:
classes:
layout_class: { }
regions:
ds_content:
- field_image
- group_card_content
- 'bundle_field:node'
left:
- node_post_date
- group_date
- node_title
right:
- field_image
fields:
'bundle_field:node':
plugin_id: 'bundle_field:node'
weight: 2
node_post_date:
plugin_id: node_post_date
weight: 0
label: hidden
formatter: default
formatter: ds_post_date_short
node_title:
plugin_id: node_title
weight: 3
weight: 2
label: hidden
formatter: default
settings:
link: true
wrapper: h2
class: ''
exclude_node_title: '1'
class: 'title is-size-3-desktop is-size-4-tablet is-size-5-mobile'
exclude_node_title: '0'
field_group:
group_card_content:
group_date:
children:
- 'bundle_field:node'
- node_title
- node_post_date
parent_name: ''
weight: 1
format_type: html_element
format_settings:
id: ''
classes: ''
element: div
classes: subtitle
element: p
show_label: false
label_element: h3
label_element_classes: ''
attributes: ''
effect: none
speed: fast
label: 'Card content'
label: Date
region: hidden
_core:
default_config_hash: wUTdzmd_uDUyf43YNRpJ7ic0Yg9me0T6jp-MTE2t874
@ -86,8 +88,8 @@ mode: simple_card
content:
field_image:
type: responsive_image
weight: 0
region: ds_content
weight: 3
region: right
label: visually_hidden
settings:
responsive_image_style: narrow
@ -106,3 +108,4 @@ hidden:
indieweb_syndication: true
langcode: true
links: true
search_api_excerpt: true