diff options
author | Dillon <dillonzq@outlook.com> | 2020-04-28 07:53:06 +0300 |
---|---|---|
committer | Dillon <dillonzq@outlook.com> | 2020-04-28 07:53:06 +0300 |
commit | 26381b498d09a26b0e7d4188e8e9295539b6f94d (patch) | |
tree | 40b39dcd291ca9dbadecf25567b61730debb7b1d /layouts/_default/summary.html | |
parent | ea655d9871c0aa2f9859dd268bec8e45091abe0d (diff) |
feat(search): improve search index
Diffstat (limited to 'layouts/_default/summary.html')
-rw-r--r-- | layouts/_default/summary.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index f8db06e..50ea876 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -29,7 +29,7 @@ {{ T "publish" }} <time datetime={{ $publish_date }}>{{ $publish_date }}</time> </span> - {{- with $params.categories -}} + {{- with .Params.categories -}} <span class="post-category"> {{- T "included" -}} @@ -56,7 +56,7 @@ {{- /* Footer */ -}} <div class="post-footer"> <a href="{{ .RelPermalink }}">{{ T "readMore" }}</a> - {{- with $params.tags -}} + {{- with .Params.tags -}} <div class="post-tags"> <i class="fas fa-tags fa-fw"></i> {{- range $index, $value := . -}} |