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

github.com/zzossig/hugo-theme-zzo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzossig <zzossig@gmail.com>2020-10-20 16:51:02 +0300
committerzzossig <zzossig@gmail.com>2020-10-20 16:51:02 +0300
commitf09f6d8a1e51151cd63a26d9682c1ecadaa044db (patch)
treeaee6ec04142b19d85cb3f15451e7543c3d98bdce /layouts
parent11e70816622739105330ed568c04eb9c2fb54464 (diff)
readme changed, fix some css
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head/scripts.html2
-rw-r--r--layouts/shortcodes/alert.html7
2 files changed, 2 insertions, 7 deletions
diff --git a/layouts/partials/head/scripts.html b/layouts/partials/head/scripts.html
index 2a0e818..1a22c83 100644
--- a/layouts/partials/head/scripts.html
+++ b/layouts/partials/head/scripts.html
@@ -479,7 +479,7 @@
metaThemeColor.setAttribute('content', '#eee8d5');
metaMsapplicationNavbuttonColor.setAttribute('content', '#eee8d5');
metaAppleMobileWebAappStatusBarStyle.setAttribute('content', '#eee8d5');
- }
+ }
}
if (localTheme) {
diff --git a/layouts/shortcodes/alert.html b/layouts/shortcodes/alert.html
index b65afb1..b707016 100644
--- a/layouts/shortcodes/alert.html
+++ b/layouts/shortcodes/alert.html
@@ -1,6 +1 @@
-<div class="alert{{- " " -}}{{- if .IsNamedParams -}}
-{{- with .Get "theme" -}}alert-{{.}}{{- else -}}alert-info{{- end -}}
-{{- else -}}
- {{- with .Get 0 -}}alert-{{.}}{{- else -}}alert-info{{- end -}}
-{{- end -}}
-" role="alert" data-dir="{{ with .Get "dir" }}{{.}}{{ else }}ltr{{ end }}">{{ .Inner | markdownify }}</div>
+<div class="alert {{ with .Get "theme" }}alert-{{.}}{{ end }}" role="alert" data-dir="{{ with .Get "dir" }}{{.}}{{ else }}ltr{{ end }}">{{ .Inner | markdownify }}</div> \ No newline at end of file