Place the related content block

References #3
This commit is contained in:
Oliver Davies 2021-01-11 00:23:26 +00:00
parent 6436e3edb3
commit 1f82a07226
6 changed files with 41 additions and 5 deletions

View file

@ -12,7 +12,7 @@ dependencies:
id: aboutme id: aboutme
theme: opdavies theme: opdavies
region: content region: content
weight: 0 weight: -1
provider: null provider: null
plugin: 'block_content:5124375b-ca89-4c71-90f6-b8ef4e83ecbb' plugin: 'block_content:5124375b-ca89-4c71-90f6-b8ef4e83ecbb'
settings: settings:

View file

@ -9,7 +9,7 @@ _core:
id: opdavies_local_actions id: opdavies_local_actions
theme: opdavies theme: opdavies
region: content region: content
weight: -2 weight: -4
provider: null provider: null
plugin: local_actions_block plugin: local_actions_block
settings: settings:

View file

@ -9,7 +9,7 @@ _core:
id: opdavies_local_tasks id: opdavies_local_tasks
theme: opdavies theme: opdavies
region: content region: content
weight: -3 weight: -5
provider: null provider: null
plugin: local_tasks_block plugin: local_tasks_block
settings: settings:

View file

@ -9,7 +9,7 @@ dependencies:
id: opdavies_mainpagecontent id: opdavies_mainpagecontent
theme: opdavies theme: opdavies
region: content region: content
weight: -1 weight: -3
provider: null provider: null
plugin: system_main_block plugin: system_main_block
settings: settings:

View file

@ -9,7 +9,7 @@ _core:
id: opdavies_page_title id: opdavies_page_title
theme: opdavies theme: opdavies
region: content region: content
weight: -4 weight: -6
provider: null provider: null
plugin: page_title_block plugin: page_title_block
settings: settings:

View file

@ -0,0 +1,36 @@
uuid: a524befa-25df-44a7-90dd-58588da3019a
langcode: en
status: true
dependencies:
module:
- ctools
- node
- opdavies_blog
theme:
- opdavies
id: relatedposts
theme: opdavies
region: content
weight: -2
provider: null
plugin: opdavies_blog_related_posts
settings:
id: opdavies_blog_related_posts
label: 'Related Posts'
provider: opdavies_blog
label_display: visible
visibility:
'entity_bundle:node':
id: 'entity_bundle:node'
bundles:
post: post
negate: false
context_mapping:
node: '@node.node_route_context:node'
node_type:
id: node_type
bundles:
post: post
negate: false
context_mapping:
node: '@node.node_route_context:node'