moved can model to _assets folder

master
Jordan Han 2019-06-09 10:18:52 +08:00
parent 123b275984
commit 3ee61b7139
3 changed files with 4 additions and 1 deletions

View File

@ -84,6 +84,7 @@ assets:
- assets/img
- assets/js
- assets/audio
- assets/models
- _assets/styles
- _assets/css
- _assets/fonts
@ -95,6 +96,7 @@ assets:
- _assets/img
- _assets/js
- _assets/audio
- _assets/models
- styles
- css
- fonts
@ -105,6 +107,7 @@ assets:
- image
- img
- js
- models
plugins:
css: { autoprefixer: {}}
img: { optim: {}}

View File

@ -5,4 +5,4 @@ date: 2019-06-08 18:00 +0800
categories: toys
---
{%- include model-viewer.html -%}
<model-viewer src="/assets/CoconutCan_190608_v04.glb" alt="A coconut milk drink can" auto-rotate camera-controls background-color="#111111" style="height: 720px; width: 100%; --poster-color: #000;"></model-viewer>
<model-viewer src="{% asset CoconutCan_190608_v04.glb @path %}" alt="A coconut milk drink can" auto-rotate camera-controls background-color="#111111" style="height: 720px; width: 100%; --poster-color: #000;"></model-viewer>