diff --git a/layouts/index.html b/layouts/index.html index e69de29..719d2d5 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -0,0 +1,11 @@ + + + + {{ .Title }} + {{ partial "style.html" "css/font-awesome.css" }} + {{ partial "style.html" "scss/index.scss" }} + + + {{ partial "script.html" "js/bootstrap.js" }} + + diff --git a/layouts/partials/script.html b/layouts/partials/script.html new file mode 100644 index 0000000..2a6a9a0 --- /dev/null +++ b/layouts/partials/script.html @@ -0,0 +1,2 @@ +{{ $script := resources.Get . | minify | fingerprint }} + diff --git a/layouts/partials/style.html b/layouts/partials/style.html new file mode 100644 index 0000000..7012e30 --- /dev/null +++ b/layouts/partials/style.html @@ -0,0 +1,2 @@ +{{ $style := resources.Get . | toCSS | minify | fingerprint }} +