newsletter issues visible on front with right alias
This commit is contained in:
parent
803261caaa
commit
383fec17e8
|
@ -0,0 +1,24 @@
|
||||||
|
uuid: 6e84b134-54a0-4e64-b163-0698bc11eedf
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
id: simplenews
|
||||||
|
label: simplenews
|
||||||
|
type: 'canonical_entities:node'
|
||||||
|
pattern: 'newsletter/[node:simplenews_issue]/[node:title]'
|
||||||
|
selection_criteria:
|
||||||
|
efc914c4-688c-412a-a745-e61a7c1535ae:
|
||||||
|
id: node_type
|
||||||
|
bundles:
|
||||||
|
simplenews_issue: simplenews_issue
|
||||||
|
negate: false
|
||||||
|
context_mapping:
|
||||||
|
node: node
|
||||||
|
uuid: efc914c4-688c-412a-a745-e61a7c1535ae
|
||||||
|
selection_logic: and
|
||||||
|
weight: -10
|
||||||
|
relationships:
|
||||||
|
'node:langcode:language':
|
||||||
|
label: Langue
|
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -96,7 +96,9 @@ export let _v_sitebranding_block, _v_user_block, _v_header_menu,
|
||||||
drupalDecoupled.route_name.indexOf('flagging_collection') !== -1 ||
|
drupalDecoupled.route_name.indexOf('flagging_collection') !== -1 ||
|
||||||
drupalDecoupled.route_name.indexOf('user') !== -1 ||
|
drupalDecoupled.route_name.indexOf('user') !== -1 ||
|
||||||
drupalDecoupled.route_name.indexOf('entity.webform.canonical') !== -1 ||
|
drupalDecoupled.route_name.indexOf('entity.webform.canonical') !== -1 ||
|
||||||
drupalDecoupled.route_name.indexOf('entity.webform.confirmation') !== -1) {
|
drupalDecoupled.route_name.indexOf('entity.webform.confirmation') !== -1 ||
|
||||||
|
(drupalDecoupled.route_name === 'entity.node.canonical' && drupalDecoupled.entity_bundle === 'simplenews_issue')
|
||||||
|
) {
|
||||||
console.debug('NO VUEJS')
|
console.debug('NO VUEJS')
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -552,7 +552,8 @@ header[role="banner"]{
|
||||||
padding:0.5em 1em;
|
padding:0.5em 1em;
|
||||||
}
|
}
|
||||||
body.path-blabla &,
|
body.path-blabla &,
|
||||||
body.path-checkout & {
|
body.path-checkout &,
|
||||||
|
body.page-node-type-simplenews-issue & {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: $color-blabla;
|
background-color: $color-blabla;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue