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

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/partials/carousel.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 41bde81..c852448 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -23,7 +23,7 @@
<div class="col-md-9" id="blog-listing-medium">
- {{ $paginator := .Paginate (where .Data.Pages "Type" "blog") }}
+ {{ $paginator := .Paginate (where .Data.Pages "Type" "in" .Site.Params.mainSections) }}
{{ range $paginator.Pages }}
<section class="post">
<div class="row">
diff --git a/layouts/partials/carousel.html b/layouts/partials/carousel.html
index a329dc2..5d0e42b 100644
--- a/layouts/partials/carousel.html
+++ b/layouts/partials/carousel.html
@@ -11,11 +11,11 @@
{{ range sort .Site.Data.carousel "weight" }}
<div class="item">
{{ if .href }}
- <a href="{{ .href }}">
+ <a href="{{ .href }}" target="_blank" title="{{ .title | safeHTML }}">
{{ end }}
<div class="row">
<div class="col-sm-5 right">
- <h1>{{ .title }}</h1>
+ <h1>{{ .title | safeHTML }}</h1>
{{ .description | safeHTML }}
</div>
<div class="col-sm-7">