Remove raw param
This commit is contained in:
@@ -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:
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user