diff options
author | Robert Austin <rob@jugglerdigital.com> | 2022-08-17 15:44:54 +0300 |
---|---|---|
committer | Robert Austin <rob@jugglerdigital.com> | 2022-08-17 15:44:54 +0300 |
commit | 68ffe63314771ca4fd1c9a167566c024fadbe540 (patch) | |
tree | 66775d1122d11c4a3da3ddaa3a5fa0f07825e1b7 | |
parent | 05e24dea26998cdbb38857de6479187f4b4fe99c (diff) |
try to fix build
-rw-r--r-- | exampleSite/config.toml | 4 | ||||
-rw-r--r-- | layouts/404.html | 6 | ||||
-rw-r--r-- | layouts/index.html | 13 |
3 files changed, 12 insertions, 11 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 01e7337..e2dc98c 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -15,8 +15,8 @@ title = "Hugo Serif Theme" google_tag_manager_id = "" [params.homepage] - show_contact_box = true # show / hide the contaxt box on the homepage - show_services_button = true # show / hide the "view all services" button + show_contact_box = true # show / hide the contaxt box on the homepage + show_services_button = false # show / hide the "view all services" button [params.logo] mobile = "images/logo/logo-mobile.svg" diff --git a/layouts/404.html b/layouts/404.html index e8d5296..baa78d9 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -10,12 +10,10 @@ <!-- CSS--> {{ if .Site.IsServer }} - {{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS (dict "targetPath" - "css/style.css" "enableSourceMap" true) }} + {{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS (dict "targetPath" "css/style.css" "enableSourceMap" true) }} <link rel="stylesheet" href="{{ ($style).RelPermalink }}"> {{ else }} - {{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS (dict "targetPath" - "css/style.css" "enableSourceMap" false) }} + {{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS (dict "targetPath" "css/style.css" "enableSourceMap" false) }} <link rel="stylesheet" href="{{ ($style | minify | fingerprint).RelPermalink }}"> {{ end }} diff --git a/layouts/index.html b/layouts/index.html index ff9b078..b1559f7 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -7,12 +7,14 @@ <div class="col-12 col-md-7 col-lg-6 order-2 order-md-1"> {{ .Content }} {{ if .Site.Params.homepage.show_contact_box }} - {{ partial "call.html" (dict "site" .Site "context" . "show_button" "true") }} + {{ partial "call.html" (dict "site" .Site "context" . "show_button" "true") }} {{ end }} </div> {{ if .Params.intro_image }} <div class="col-12 col-md-5 col-lg-6 order-1 order-md-2 position-relative"> - <img alt={{ .Title }} class="intro-image{{ if .Params.intro_image_absolute }} intro-image-absolute{{ end }}{{ if .Params.intro_image_hide_on_mobile }} intro-image-hide-mobile{{ end }}" src="{{ .Params.intro_image | relURL }}" /> + <img alt={{ .Title }} + class="intro-image{{ if .Params.intro_image_absolute }} intro-image-absolute{{ end }}{{ if .Params.intro_image_hide_on_mobile }} intro-image-hide-mobile{{ end }}" + src="{{ .Params.intro_image | relURL }}" /> </div> {{ end }} </div> @@ -33,7 +35,7 @@ {{ if not .Site.Params.homepage.show_services_button }} <div class="row justify-content-center"> <div class="col-auto"> - <a class="button button-primary" href="{{ "services/" | relURL }}">View All Services</a> + <a class="button button-primary" href="{{ " services/" | relURL }}">View All Services</a> </div> </div> {{ end }} @@ -49,7 +51,8 @@ <div class="col-12 col-md-6 col-lg-4 mb-2"> <div class="feature"> {{ if .image }} - <div class="feature-image"><img width="100" height="100" alt="{{ .Title }} logo" src="{{ .image | relURL }}" /></div> + <div class="feature-image"><img width="100" height="100" alt="{{ .Title }} logo" + src="{{ .image | relURL }}" /></div> {{ end }} <h2 class="feature-title">{{ .title }}</h2> <div class="feature-content"> @@ -66,4 +69,4 @@ {{ end }} {{ define "footer_js" }} -{{ end }} +{{ end }}
\ No newline at end of file |