add support for possible search functionality

This commit is contained in:
ch0ccyra1n 2022-08-07 20:53:10 -07:00
parent 6e7a77d947
commit f09af5936a

View file

@ -1,12 +1,15 @@
{{ define "main" }} {{ define "main" }}
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
{{ .Content }}
<ul id="artlist">
{{ range .Pages.ByPublishDate.Reverse }} {{ range .Pages.ByPublishDate.Reverse }}
<p> <li data-tags="{{.Params.Tags}}">
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3> <h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
{{ partial "metadata.html" . }} {{ partial "metadata.html" . }}
<a href="{{ .RelPermalink }}"> <a href="{{ .RelPermalink }}">
<p>{{ .Summary }}</p> <p>{{ .Summary }}</p>
</a> </a>
</p> </li>
{{ end }} {{ end }}
{{ end }} </ul>
{{ end }