File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ defaultContentLanguageInSubdir = false
1414googleanalytics = " UA-Not-Yet"
1515metaDataFormat = " toml"
1616pagination.pagerSize = 5
17+ summaryLength = 25
1718theme = [" blog" , " solus" ]
1819enableInlineShortcodes = true
1920
Original file line number Diff line number Diff line change 88 < meta itemscope itemprop ="mainEntityOfPage " itemType ="https://schema.org/WebPage " itemid ="{{ $firstBlog.Permalink | absURL }} "/>
99 < section >
1010 {{ partial "blog/info.html" (dict "blog" $firstBlog "site" .Site) }}
11- {{ if ge (len $firstBlog.Summary) 397 }}
12- < p itemprop ="description "> {{- htmlUnescape (plainify (safeHTML (substr $firstBlog.Summary 0 187))) -}}...</ p >
13- {{ else }}
14- < p itemprop ="description "> {{- htmlUnescape (plainify (safeHTML $firstBlog.Summary)) -}}</ p >
15- {{ end }}
16- < div class ="menu ">
17- < nav >
11+ < div itemprop ="description "> {{- safeHTML $firstBlog.Summary -}}</ div >
12+ < div class ="menu ">
13+ < nav >
1814 < a class ="button inverse " href ="{{ $firstBlog.Permalink }} "> Read More</ a >
19- </ nav >
20- </ div >
15+ </ nav >
16+ </ div >
2117 </ section >
2218 {{ $url := (printf "%s/%s" $firstBlog.Params.url $firstBlog.Params.featuredimage) | absURL }}
2319 < img alt ="{{ $firstBlog.Title }} " src ="{{ $url }} "> </ img >
You can’t perform that action at this time.
0 commit comments