Skip to content

Commit

Permalink
Update single.html
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Dec 24, 2021
1 parent b78e7b9 commit ac5fdfb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/layouts/icons/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,12 @@ <h1>{{ .Title }}</h1>

{{ 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!
<strong>Deprecation notice:</strong> This icon is deprecated and will be removed in an upcoming version!
</div>
{{- end }}

<hr class="my-4">


{{- $localSvgPath := printf "/icons/%s.svg" .File.TranslationBaseName -}}
{{- $svgPath := path.Join "/assets/" $localSvgPath -}}
{{- $svgHtml := readFile $localSvgPath | chomp | safeHTML -}}
Expand Down

0 comments on commit ac5fdfb

Please sign in to comment.