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

github.com/Somrat37/somrat.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 0e46f70..b86a0dd 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -2,8 +2,8 @@
<!-- checking blog -->
{{ if or (eq .Section "post") (eq .Section "posts") (eq .Section "blog") (eq .Section "blogs") (eq .Section "news") (eq .Section "categories") (eq .Section "tags") }}
-<section class="portfolio {{.Params.custom_class}}" {{.Params.custom_attributes | safeHTMLAttr}}
- style="{{.Params.custom_css | safeCSS}}">
+<style>{{.Params.custom_css | safeCSS}}</style>
+<section class="portfolio {{.Params.custom_class}}" {{.Params.custom_attributes | safeHTMLAttr}}>
<div class="container">
<h1 class="wow fadeInUp text-center mb-5" data-wow-duration="1.5s">{{ .Title }}</h1>
<div class="row wow fadeInUp" data-wow-duration="1.5s">
@@ -29,8 +29,8 @@
<!-- regular page -->
{{ else }}
-<section class="portfolio {{.Params.custom_class}}" {{.Params.custom_attributes | safeHTMLAttr}}
- style="{{.Params.custom_css | safeCSS}}">
+<style>{{.Params.custom_css | safeCSS}}</style>
+<section class="portfolio {{.Params.custom_class}}" {{.Params.custom_attributes | safeHTMLAttr}}>
<div class="container wow fadeInUp" data-wow-duration="1.5s">
<h1 class="text-center mb-5">{{ .Title | markdownify }}</h1>
<div class="row">