Skip to content

Commit

Permalink
feat: allow overriding poweredBy in footer (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
imfing authored Nov 17, 2023
1 parent 27c976b commit 64ac97b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@

{{- define "theme-credit" -}}
<a class="flex text-sm items-center gap-1 text-current" target="_blank" rel="noopener noreferrer" title="Hextra GitHub Homepage" href="https://github.com/imfing/hextra">
<span
>{{ . | safeHTML }}
{{- partial "utils/icon.html" (dict "name" "hextra" "attributes" "height=1em class=\"inline-block ml-1 align-text-bottom\"") -}}
<span>
{{- . | markdownify -}}
{{- if strings.Contains . "Hextra" -}}
{{- partial "utils/icon.html" (dict "name" "hextra" "attributes" `height=1em class="inline-block ml-1 align-text-bottom"`) -}}
{{- end -}}
</span>
</a>
{{- end -}}

0 comments on commit 64ac97b

Please sign in to comment.