Log in Sign up

Adding a badge to my template's footer?

I would like to add this "Written by human not AI" badge somewhere at the foot of all of my blog posts

I can't figure out how to upload a png or svg into the blog source though.


2 years ago, 2 replies   developers   Edit question

To accomplish this, place the PNG somewhere inside your site's folder, perhaps in a folder called '_files' or '_assets'.

The underscore at the start of the folder name will prevent any of the files inside from becoming posts.

Once you've done that, you can embed the image in your template by adding something like this to your footer.html file:

<img src="/_assets/badge.png">

Does that help? Please let me know if you have any questions about this or anything else

Answered 2 years ago · Edit answer

That's awesome, thank you. Works perfectly

Answered 2 years ago · Edit answer