Add alt text to 3d models
This commit is contained in:
parent
ed16fa93e3
commit
1f92cec6f3
3 changed files with 2 additions and 4 deletions
|
@ -4,7 +4,6 @@
|
||||||
"Sakura"
|
"Sakura"
|
||||||
],
|
],
|
||||||
"date": "2021",
|
"date": "2021",
|
||||||
"description": "This is a collage of all of my 2022 art!",
|
|
||||||
"nsfw": false,
|
"nsfw": false,
|
||||||
"title": "Sakura",
|
"title": "Sakura",
|
||||||
"tags": ["3D"],
|
"tags": ["3D"],
|
||||||
|
|
|
@ -16,4 +16,3 @@ arttags:
|
||||||
- 3d
|
- 3d
|
||||||
nsfw: false
|
nsfw: false
|
||||||
---
|
---
|
||||||
This is a collage of all of my 2022 art!
|
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
{{ $cameraorbit := $.Params.orbit }}
|
{{ $cameraorbit := $.Params.orbit }}
|
||||||
{{ $cameratarget := $.Params.target }}
|
{{ $cameratarget := $.Params.target }}
|
||||||
{{ $fov := $.Params.fov }}
|
{{ $fov := $.Params.fov }}
|
||||||
<model-viewer src="{{ .RelPermalink }}" shadow-intensity="1" camera-controls touch-action="pan-y" camera-orbit="{{ $cameraorbit }}" camera-target="{{ $cameratarget }}" field-of-view="{{ $fov }}"></model-viewer>
|
<model-viewer alt="{{ $.Params.alt_text }}" title="{{ $.Params.alt_texT }}" src="{{ .RelPermalink }}" shadow-intensity="1" camera-controls touch-action="pan-y" camera-orbit="{{ $cameraorbit }}" camera-target="{{ $cameratarget }}" field-of-view="{{ $fov }}"></model-viewer>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ if $.Params.animation }}
|
{{ if $.Params.animation }}
|
||||||
<div style="text-align: center;">
|
<div style="text-align: center;">
|
||||||
<video controls>
|
<video controls>
|
||||||
<source src="{{ .RelPermalink }}" type="video/webm">
|
<source src="{{ .RelPermalink }}" type="video/webm">
|
||||||
</video>
|
</video>
|
||||||
|
|
Loading…
Add table
Reference in a new issue