Skip to content

Commit

Permalink
Update Vermeer template for customizations support
Browse files Browse the repository at this point in the history
  • Loading branch information
h-enk committed Oct 24, 2024
1 parent 02e0d31 commit a2f8a94
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 0 deletions.
Empty file.
1 change: 1 addition & 0 deletions template-vermeer/assets/js/custom.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Put your custom JS code here
1 change: 1 addition & 0 deletions template-vermeer/assets/scss/common/_custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Put your custom SCSS code here
1 change: 1 addition & 0 deletions template-vermeer/assets/scss/common/_variables-custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Put your custom SCSS variables here
Empty file.
13 changes: 13 additions & 0 deletions template-vermeer/layouts/partials/footer/script-footer-custom.html
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions template-vermeer/layouts/partials/head/custom-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- Custom head -->
1 change: 1 addition & 0 deletions template-vermeer/layouts/partials/head/script-header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- Insert scripts NOT needed by stylesheets here -->
Empty file.

0 comments on commit a2f8a94

Please sign in to comment.