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"
|
||||
],
|
||||
"date": "2021",
|
||||
"description": "This is a collage of all of my 2022 art!",
|
||||
"nsfw": false,
|
||||
"title": "Sakura",
|
||||
"tags": ["3D"],
|
||||
|
|
|
@ -16,4 +16,3 @@ arttags:
|
|||
- 3d
|
||||
nsfw: false
|
||||
---
|
||||
This is a collage of all of my 2022 art!
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
{{ $cameraorbit := $.Params.orbit }}
|
||||
{{ $cameratarget := $.Params.target }}
|
||||
{{ $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 }}
|
||||
{{ if $.Params.animation }}
|
||||
<div style="text-align: center;">
|
||||
<div style="text-align: center;">
|
||||
<video controls>
|
||||
<source src="{{ .RelPermalink }}" type="video/webm">
|
||||
</video>
|
||||
|
|
Loading…
Add table
Reference in a new issue