From 687c46bb12de19e0e8c80d311f3023f7b268ceeb Mon Sep 17 00:00:00 2001 From: Florian Schrofner Date: Wed, 21 Aug 2019 22:26:33 +0200 Subject: [PATCH] create prepended and appended scripts, add image scaling --- layouts/index.html | 11 +++++++++-- layouts/partials/script_append.html | 2 ++ layouts/partials/{script.html => script_prepend.html} | 0 ...main.sass_53f3898349edb2b37d3b88b00109892b.content | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 layouts/partials/script_append.html rename layouts/partials/{script.html => script_prepend.html} (100%) diff --git a/layouts/index.html b/layouts/index.html index 5b4ec89..93001fb 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,7 +2,7 @@ {{ partial "css.html" . }} - {{ partial "script.html" . }} + {{ partial "script_prepend.html" . }}
@@ -13,8 +13,14 @@
+ {{ $picture := resources.Get "images/me.png"}} - + {{ $sPicture := $picture.Resize "x100" }} + {{ $mPicture := $picture.Resize "x400" }} + {{ $lPicture := $picture.Resize "x600" }} + + +
@@ -33,5 +39,6 @@
+ {{ partial "script_append.html" . }} diff --git a/layouts/partials/script_append.html b/layouts/partials/script_append.html new file mode 100644 index 0000000..5a5c01f --- /dev/null +++ b/layouts/partials/script_append.html @@ -0,0 +1,2 @@ +{{ $applyFoundation := "foundation/js/app.js" | absURL }} +