Skip to content

Commit

Permalink
UHF-8716: Change Askem configuration to check path instead of node ty…
Browse files Browse the repository at this point in the history
…pe, enable the functionality to all content except news pages
  • Loading branch information
teroelonen committed Aug 15, 2023
1 parent 85f6710 commit fd2df55
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions conf/cmi/block.block.hdbt_subtheme_reactandshare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
module:
- helfi_platform_config
- node
- system
theme:
- hdbt_subtheme
_core:
Expand All @@ -21,11 +22,7 @@ settings:
label_display: '0'
provider: helfi_platform_config
visibility:
'entity_bundle:node':
id: 'entity_bundle:node'
request_path:
id: request_path
negate: true
context_mapping:
node: '@node.node_route_context:node'
bundles:
announcement: announcement
news_item: news_item
pages: "/news/*\r\n/uutiset/*\r\n/nyheter/*"

0 comments on commit fd2df55

Please sign in to comment.