Skip to content

Commit

Permalink
feat(shortcode): add CSS class 'kofi' to make custom styling easier
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Gągor committed Mar 11, 2024
1 parent c6105b4 commit 6377582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/kofi_image.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Author: Tomasz Gągor https://github.com/tgagor/hugo-shortcode-kofi -->
<!-- Ko-fi Image -->
<a href='https://ko-fi.com/{{ .user }}' target='_blank'>
<a class="kofi" href='https://ko-fi.com/{{ .user }}' target='_blank'>
<img height='{{ .height }}' {{ if .width }}width='{{ .width }}' {{ end }} style='border:0px;height:{{ .height }}px;{{ if .width }}width:{{ .width }}px; {{ end }}'
src='{{ .url }}'
border='0' alt='{{ .alt_text }}' />
Expand Down

0 comments on commit 6377582

Please sign in to comment.