fix: unclosed action (#6)

* Update index.html
* Update li.html
This commit is contained in:
fernvenue 2022-12-06 17:40:14 +08:00 committed by GitHub
parent d20aa8c72a
commit 6c3be21945
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 10 deletions

View File

@ -6,11 +6,7 @@
{{- range where site.RegularPages "Type" "in" site.Params.mainSections -}}
{{- partial "li.html" ( dict
"url" .Permalink
"title" .Title
"subTitle" (.Date | time.Format (":date_medium"))
) -}}
{{- partial "li.html" ( dict "url" .Permalink "title" .Title "subTitle" (.Date | time.Format (":date_medium")) ) -}}
{{- end -}}
</div>
{{ end }}

View File

@ -1,5 +1 @@
{{- partial "li.html" ( dict
"url" (.Get "href")
"title" (.Get "title")
"subTitle" (.Get "alt")
) -}}
{{- partial "li.html" ( dict "url" (.Get "href") "title" (.Get "title") "subTitle" (.Get "alt") ) -}}