Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
korki43 committed Dec 25, 2021
1 parent db553be commit 7691a12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/layouts/icons/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h1>{{ .Title }}</h1>
</div>
</div>

{{ if in .Params.tags "deprecated" }}
{{ if in .Params.tags "deprecated" -}}
<div class="alert alert-danger my-3" role="alert">
<b>Deprecation notice:</b> This icon is deprecated and will be removed in an upcoming version!
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/layouts/partials/icons.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h2 id="icons" class="mb-0">Icons</h2>
{{ range (where .Site.RegularPages "Type" "icons") -}}
{{- $filename := .File.TranslationBaseName -}}
{{- with .Site.GetPage .File.Path }}
{{- if not (in .Params.tags "deprecated")}}
{{ if not (in .Params.tags "deprecated") }}
<li class="col mb-4"{{ with .Params.tags }} data-tags="{{ delimit . " " }}"{{ end }}{{ with .Params.categories }} data-categories="{{ delimit . " " | lower }}"{{ end }}>
<a class="d-block text-dark text-decoration-none" href="{{ .RelPermalink }}">
<div class="p-3 py-4 mb-2 bg-light text-center rounded">
Expand All @@ -21,7 +21,7 @@ <h2 id="icons" class="mb-0">Icons</h2>
<div class="name text-muted text-decoration-none text-center pt-1">{{ $filename }}</div>
</a>
</li>
{{- end }}
{{ end }}
{{- end }}
{{- end }}
</ul>
Expand Down

0 comments on commit 7691a12

Please sign in to comment.