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

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruPagge <upagge@mail.ru>2020-12-20 19:24:50 +0300
committeruPagge <upagge@mail.ru>2020-12-20 19:24:50 +0300
commita170c5979cabae9e88260a1b3ed64c570a41adb2 (patch)
tree2af20f544edeb5140213c2604c0d885e0f16172e /layouts/_default
parent4a0bd111114bd0ca20ac251b429410699ddd8026 (diff)
summary param fix -> summaryStyle
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/summary.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html
index 69e31f1..40c87e2 100644
--- a/layouts/_default/summary.html
+++ b/layouts/_default/summary.html
@@ -1,10 +1,10 @@
{{- $params := .Params | merge .Site.Params -}}
-{{- $tagsStyle := $params.summary.tags -}}
-{{- $tagsTheme := $params.summary.tags.theme | default "image" -}}
+{{- $tagsStyle := $params.summaryStyle.tags -}}
+{{- $tagsTheme := $params.summaryStyle.tags.theme | default "image" -}}
<article onclick="location.href='{{ $.RelPermalink }}'" class="single summary summary-animation" itemscope itemtype="http://schema.org/Article" style="{{- if eq $tagsTheme "under-footer" -}}{{- with $.Params.tags -}}margin-bottom:0{{- end -}}{{- end -}}">
{{- /* Featured image */ -}}
- {{- if not $params.summary.hiddenImage -}}
+ {{- if not $params.summaryStyle.hiddenImage -}}
{{- $image := $params.featuredimagepreview | default $params.featuredimage -}}
{{- with .Resources.GetMatch "featured-image" -}}
{{- $image = .RelPermalink -}}
@@ -34,7 +34,7 @@
{{ .Title }}
</h2>
- {{- if not $params.summary.hiddenMeta -}}
+ {{- if not $params.summaryStyle.hiddenMeta -}}
{{- /* Meta */ -}}
<div class="post-meta summary-post-meta">
{{- $authorName := $params.author | default .Site.Author.name | default " " -}}
@@ -77,7 +77,7 @@
{{- end -}}
{{- /* Summary content */ -}}
- {{- if not $params.summary.hiddenDescription -}}
+ {{- if not $params.summaryStyle.hiddenDescription -}}
<div class="content summary-content">
{{- with .Summary -}}
{{- dict "Content" . "Ruby" $params.ruby "Fraction" $params.fraction "Fontawesome" $params.fontawesome | partial "function/content.html" | safeHTML -}}