Welcome to mirror list, hosted at ThFree Co, Russian Federation.

summary.html « partials « layouts - github.com/heyeshuang/hugo-theme-tokiwa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 935b91afc64535144cda624b7a6878718ea41350 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div class="pb-8">
	<div class="font-serif font-medium text-xl">
		<a href="{{ .Permalink }}">
			{{ .Title }}
		</a>
	</div>
	{{/*I just don't like .Summary */}}
	{{/*  <div class="pl-4  text-gray-600 font-light italic">  */}}
	{{/*  {{ if   .Description}}{{ .Description }}{{else}}{{ .Summary }}{{end}}
</div> */}}
	{{ with .Description }}
	<div class="font-serif text-gray-600 font-light pt-1">
		{{ .}}</div>

	{{ end }}
	<div class="flex flex-wrap justify-between pt-1">
		{{- partial "tags.html" . -}}
		<time class="text-eucalyptus-500 md:text-right md:flex-grow font-light"
			datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
			{{- .Date.Format "2006-1-2 15:04" -}}
		</time>
	</div>
</div>