Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/escalate/hugo-split-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@users.noreply.github.com>2018-11-12 19:30:45 +0300
committerGitHub <noreply@github.com>2018-11-12 19:30:45 +0300
commit90b115579ac68d65e3d5fa15550489591b6908cc (patch)
treea7523d4f89a50d738221badafea51a6c531288fc
parent12ff2ef92001198203921b5c2d3ea1b10a79d7e5 (diff)
Remove type="text/css" from style
This is needed to avoid a warning in validator.w3.org
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 3782f6a..d2bf4bd 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -27,7 +27,7 @@
<!-- Image Styles -->
{{ if .Site.Params.visual.image.enable }}
- <style type="text/css">
+ <style>
{{ if .Site.Params.visual.image.file }}
.fs-split .split-image { background-image: url("{{ .Site.Params.visual.image.file | absURL }}"); background-position: {{ if .Site.Params.visual.image.position }}{{ .Site.Params.visual.image.position }}{{ else }}center center{{ end }}; }
{{ end }}