shortcode/juxtapose: use named arguments

This commit is contained in:
liushuyu 2023-03-28 15:53:26 -06:00
parent f7b8346a42
commit d36116261d
2 changed files with 3 additions and 3 deletions

View File

@ -138,7 +138,7 @@ Then, turn on the Use Custom Texture option in Graphics -> Enhancements and you
The following are previews of some awesome texture pack projects by the community. They aren't finished yet, but stay tuned! You can also check out the `#mods-and-texture-packs` channel on the Citra Discord server.
{{< juxtapose "ec2bf8ba-a025-11ea-a7cb-0edaf8f81e27" >}}
{{< juxtapose id="ec2bf8ba-a025-11ea-a7cb-0edaf8f81e27" >}}
Click [here](https://cdn.knightlab.com/libs/juxtapose/latest/embed/index.html?uid=ec2bf8ba-a025-11ea-a7cb-0edaf8f81e27) to see a larger version of the above juxtapose.
@ -153,7 +153,7 @@ Along with the change, Breadfish64 has brought in several high quality upscaling
Seeing that some of these shaders don't work that well with Citra, he even wrote one himself, and [it works really great](https://www.youtube.com/watch?v=8epkdJ4OhQ0)!
Try it out and see how it looks.
{{< juxtapose "5435de18-8d65-11ea-a879-0edaf8f81e27" >}}
{{< juxtapose id="5435de18-8d65-11ea-a879-0edaf8f81e27" >}}
Click [here](https://cdn.knightlab.com/libs/juxtapose/latest/embed/index.html?uid=5435de18-8d65-11ea-a879-0edaf8f81e27) to see a larger version of the above juxtapose.

View File

@ -1,2 +1,2 @@
<iframe src="https://cdn.knightlab.com/libs/juxtapose/latest/embed/index.html?uid={{ .Get 0 }}"
<iframe src="https://cdn.knightlab.com/libs/juxtapose/latest/embed/index.html?uid={{ .Get "id" }}"
{{ if .Get "class" }}class="{{ .Get "class" }}"{{ else }}style="display:block; margin:auto; width:100%; height:45vh;" {{ end }}frameborder="0"></iframe>