mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-30 22:45:19 -04:00
(lint) remove unnecessary whitespace
created by hugo's {{ }}
This commit is contained in:
parent
2cb5c9dad5
commit
016dd6e9fa
14 changed files with 118 additions and 116 deletions
|
@ -1,21 +1,22 @@
|
|||
{{ define "main" }}
|
||||
|
||||
{{- if .Title }}
|
||||
<header class="page-header">
|
||||
<h1>{{ .Title }}</h1>
|
||||
</header>
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
|
||||
<ul class="terms-tags">
|
||||
{{ $type := .Type }}
|
||||
{{ range $key, $value := .Data.Terms.Alphabetical }}
|
||||
{{ $name := .Name }}
|
||||
{{ $count := .Count }}
|
||||
{{ with $.Site.GetPage (printf "/%s/%s" $type $name) }}
|
||||
{{- $type := .Type }}
|
||||
{{- range $key, $value := .Data.Terms.Alphabetical }}
|
||||
{{- $name := .Name }}
|
||||
{{- $count := .Count }}
|
||||
{{- with $.Site.GetPage (printf "/%s/%s" $type $name) }}
|
||||
<li>
|
||||
<a href="{{ .Permalink }}">{{ .Name }} <sup><strong><sup>{{ $count }}</sup></strong></sup> </a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</ul>
|
||||
|
||||
{{ end }}{{/* end main */}}
|
Loading…
Add table
Add a link
Reference in a new issue