Skip to content

Commit

Permalink
Enabled HTML for footer text
Browse files Browse the repository at this point in the history
Fixes #110
  • Loading branch information
szabodanika committed Jul 11, 2023
1 parent 8382457 commit 638f1bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ export MICROBIN_EDITABLE=true

# Replaces the default footer text with your own. If you
# want to hide the footer, use the hide footer option instead.
# Note that you can also embed HTML here, so you may want to escape
# '<', '>' and so on.
# export MICROBIN_FOOTER_TEXT=

# Hides the navigation bar on every page.
Expand Down
2 changes: 1 addition & 1 deletion templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% if args.footer_text.as_ref().is_none() %}
<a href="https://microbin.eu">MicroBin</a> by Dániel Szabó and the FOSS
Community. Let's keep the Web <b>compact</b>, <b>accessible</b> and
<b>humane</b>! {%- else %} {{ args.footer_text.as_ref().unwrap() }} {%-
<b>humane</b>! {%- else %} {{ args.footer_text.as_ref().unwrap() | safe }} {%-
endif %}
</p>

Expand Down

0 comments on commit 638f1bf

Please sign in to comment.