Fix guestbook invalid html, add video shortcode, etc
This commit is contained in:
parent
46bb978af0
commit
c42300099d
5 changed files with 8 additions and 19 deletions
|
@ -35,13 +35,7 @@ Right now SDL is used for Windows and Linux, and I have no plans on supporting i
|
|||
|
||||
### Windows now has multiviewports!
|
||||
|
||||
{{< rawhtml >}}
|
||||
|
||||
<video width=100% controls>
|
||||
<source src="weewoo.webm">
|
||||
</video>
|
||||
|
||||
{{< /rawhtml >}}
|
||||
{{< video "weewoo.webm" >}}
|
||||
|
||||
This is a pretty and clear nice benefit from using the SDL backend, because now it gets multiviewport support for free! If you've never seen this [dear imgui feature before](https://github.com/ocornut/imgui/wiki/Multi-Viewports), it's really cool to see it in action. It allows regular imgui windows to be dragged outside the main window, and enables some really cool workflows and use-cases you would normally see in other GUI toolkits like Qt and GTK.
|
||||
|
||||
|
|
|
@ -51,13 +51,7 @@ Also part of this slew of changes is MoltenVK being fully supported by the Vulka
|
|||
There's now a real, working example application available
|
||||
right in the source code repository. This has technically been around since the last changelog, but now it's way more involved and focused around recreating some nice screenshots in the README.
|
||||
|
||||
{{< rawhtml >}}
|
||||
|
||||
<video width=100% controls>
|
||||
<source src="JezVKVk.webm">
|
||||
</video>
|
||||
|
||||
{{< /rawhtml >}}
|
||||
{{< video "JezVKVk.webm" >}}
|
||||
|
||||
### Material system is being reworked
|
||||
I ripped out the old material system, and now it's going to be replaced with something way, way simpler. It was insanely complex, and had really no reason to exist. It was also the cause of a bunch of bugs.
|
||||
|
|
|
@ -4,8 +4,4 @@ title: "Guestbook"
|
|||
|
||||
My guestbook is currently hosted by [123Guestbook](https://123guestbook.com/). They have a seperate [Terms of Service](https://www.123guestbook.com/tos) and [Privacy Policy](https://www.123guestbook.com/privacy-policy).
|
||||
|
||||
{{< rawhtml >}}
|
||||
|
||||
<iframe style="width:100%" height="500px" src="https://redstrate.123Guestbook.com/"/>
|
||||
|
||||
{{< /rawhtml >}}
|
||||
{{< guestbook >}}
|
||||
|
|
2
themes/red/layouts/shortcodes/guestbook.html
Normal file
2
themes/red/layouts/shortcodes/guestbook.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
<iframe style="width:100%" height="500px" src="https://redstrate.123Guestbook.com/">
|
||||
</iframe>
|
3
themes/red/layouts/shortcodes/video.html
Normal file
3
themes/red/layouts/shortcodes/video.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<video width=100% controls>
|
||||
<source src="{{ .Get 0 }}">
|
||||
</video>
|
Loading…
Add table
Reference in a new issue