Remove raw param

This commit is contained in:
Will Faught
2023-03-05 14:57:18 -08:00
parent a2477daa5a
commit 693fe4b088
9 changed files with 17 additions and 64 deletions

View File

@@ -8,7 +8,6 @@ paige:
blurb: "This is the blurb."
greeting: "This is the greeting"
image:
raw: false
stretch: false
url: "landscape.webp"
main:
@@ -126,7 +125,6 @@ paige:
blurb: "This is the blurb."
greeting: "This is the greeting"
image:
raw: false
stretch: false
url: "landscape.webp"
main:

View File

@@ -83,30 +83,6 @@ Result:
{{< paige/image link="https://github.com/willfaught/paige" method="resize" options="550x webp picture Lanczos" src="landscape.webp" >}}
## Raw parameter
Code:
```go-text-template
{{</* paige/image raw=false src="https://picsum.photos/1296/600.webp" */>}}
```
Result:
{{< paige/image raw=false src="https://picsum.photos/1296/600.webp" >}}
---
Code:
```go-text-template
{{</* paige/image raw=true src="https://picsum.photos/1296/600.webp" */>}}
```
Result:
{{< paige/image raw=true src="https://picsum.photos/1296/600.webp" >}}
## Src parameter
Code: