Auto-detect threejs
This commit is contained in:
parent
a82da00d14
commit
b2697f13bb
2 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,6 @@ tags:
|
|||
- GLSL
|
||||
series:
|
||||
- Graphics Dump
|
||||
threejs: true
|
||||
math: true
|
||||
---
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
{{ partial "comments" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.threejs }}
|
||||
{{ if .HasShortcode "three-scene" }}
|
||||
{{ $imagesloaded := resources.Get "js/three.js" }}
|
||||
{{ if hugo.IsProduction }}
|
||||
{{ $imagesloaded = $imagesloaded | minify | fingerprint | resources.PostProcess }}
|
||||
|
|
Loading…
Add table
Reference in a new issue