diff options
author | uPagge <upagge@mail.ru> | 2020-12-15 15:33:56 +0300 |
---|---|---|
committer | uPagge <upagge@mail.ru> | 2020-12-15 15:33:56 +0300 |
commit | df2b140fa3b2349b996a12769f2f4c535c7c2c78 (patch) | |
tree | 198d65978835e62fbeb6168f6c7b74eed0db5879 /layouts/_default/summary.html | |
parent | e362ebc9788dabbe44e0e7cc4bced9bb5b1b1aaf (diff) |
pre-release documentation 1.1.0
Diffstat (limited to 'layouts/_default/summary.html')
-rw-r--r-- | layouts/_default/summary.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 3aac10b..2ee2e47 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,10 +1,10 @@ {{- $params := .Params | merge .Site.Params -}} -{{- $tagsStyle := $params.mini.tags -}} -{{- $tagsTheme := $params.mini.tags.theme | default "image" -}} +{{- $tagsStyle := $params.summary.tags -}} +{{- $tagsTheme := $params.summary.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.mini.hiddenImage -}} + {{- if not $params.summary.hiddenImage -}} {{- $image := $params.featuredimagepreview | default $params.featuredimage -}} {{- with .Resources.GetMatch "featured-image" -}} {{- $image = .RelPermalink -}} @@ -30,13 +30,13 @@ {{- end -}} <div class="article-text"> {{- /* Title */ -}} - <h2 class="mini-title" itemprop="name headline"> + <h2 class="summary-title" itemprop="name headline"> {{ .Title }} </h2> - {{- if not $params.mini.hiddenMeta -}} + {{- if not $params.summary.hiddenMeta -}} {{- /* Meta */ -}} - <div class="post-meta mini-post-meta"> + <div class="post-meta summary-post-meta"> {{- $authorName := $params.author | default .Site.Author.name | default " " -}} {{- if not (eq $authorName " ") -}} {{ $author := index .Site.Data.authors $authorName }} @@ -76,8 +76,8 @@ {{- end -}} {{- /* Summary content */ -}} - {{- if not $params.mini.hiddenDescription -}} - <div class="content mini-content"> + {{- if not $params.summary.hiddenDescription -}} + <div class="content summary-content"> {{- with .Summary -}} {{- dict "Content" . "Ruby" $params.ruby "Fraction" $params.fraction "Fontawesome" $params.fontawesome | partial "function/content.html" | safeHTML -}} {{- else -}} |