Rename deprecated cascade._target to cascade.target in tests

This commit is contained in:
Bjørn Erik Pedersen
2026-04-07 11:22:49 +02:00
parent ce009e3aa9
commit 58927aa14a
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -185,11 +185,11 @@ disableKinds = ['rss','sitemap','taxonomy','term', 'home']
---
title: Home
cascade:
- _target:
- target:
path: "**"
params:
background: yosemite.jpg
- _target:
- target:
params:
background: goldenbridge.jpg
---
+2 -2
View File
@@ -431,11 +431,11 @@ Home Content.
---
title: Hjem
cascade:
- _target:
- target:
kind: page
path: /posts/**
background: post.jpg
- _target:
- target:
kind: term
background: term.jpg
---
+1 -1
View File
@@ -33,7 +33,7 @@ background = 'yosemite.jpg'
[cascade.params]
a = "home-a"
b = "home-b"
[cascade._target]
[cascade.target]
kind = 'page'
+++
-- content/p1.md --
+1 -1
View File
@@ -926,7 +926,7 @@ P5 Content.
-- content/myothersect/_index.md --
---
cascade:
- _target:
- target:
cascadeparam: "cascadevalue"
---
-- content/myothersect/sub/_index.md --