blog: Rubiks' Cube Scrambler post
Implement the rubiks-cube-scrambler custom element, including JS and template files. Put these things in the body-extras.html partial that the termlite theme added. resource-builders: Update submodule commit termlite: Update submodule commit
This commit is contained in:
parent
cb16a35020
commit
122e55b1fa
7 changed files with 221 additions and 2 deletions
4
layouts/partials/base/body-extras.html
Normal file
4
layouts/partials/base/body-extras.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
{{ if .HasShortcode "rubiks/scrambler" }}
|
||||
{{ partial "rubiks/scrambler-template.html" . }}
|
||||
{{ partial "resource_builders/script.html" (dict "resource" "scripts/rubiks/scrambler.js") }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue