feat(web/website): init
This adds a new Website/Docs for Snix, using Thulite / Doks, which is mostly hugo and a bit of npm. Change-Id: Iea10d4068fa783ec0ddd6bcaba5c8d92b1a1168f
This commit is contained in:
parent
2705517e6d
commit
91d8b86b39
55 changed files with 6205 additions and 0 deletions
13
web/layouts/partials/footer/script-footer-custom.html
Normal file
13
web/layouts/partials/footer/script-footer-custom.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{{/* Put your custom <script></script> tags here */}}
|
||||
|
||||
{{/* EXAMPLE - only load script for production
|
||||
{{ if eq (hugo.Environment) "production" -}}
|
||||
{{ partial "footer/esbuild" (dict "src" "js/instantpage.js" "load" "async" "transpile" false) -}}
|
||||
{{ end -}}
|
||||
*/}}
|
||||
|
||||
{{/* EXAMPLE - only load script for a page type e.g. contact or gallery
|
||||
{{ if eq .Type "gallery" -}}
|
||||
{{ partial "footer/esbuild" (dict "src" "js/gallery.js" "load" "async" "transpile" false) -}}
|
||||
{{ end -}}
|
||||
*/}}
|
||||
1
web/layouts/partials/head/custom-head.html
Normal file
1
web/layouts/partials/head/custom-head.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<!-- Custom head -->
|
||||
1
web/layouts/partials/head/script-header.html
Normal file
1
web/layouts/partials/head/script-header.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<!-- Insert scripts NOT needed by stylesheets here -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue