nicokaiser / hugo-theme-gallery

Gallery Theme for Hugo
https://nicokaiser.github.io/hugo-theme-gallery/
MIT License
305 stars 85 forks source link

✨ Added rel option #32

Closed LNA-DEV closed 8 months ago

LNA-DEV commented 8 months ago

This adds an option to specify rel in the footer of the page.

You need this for example if you want to verify your URL for Mastodon.

I added it in a neutral way.

Usage example: https://github.com/LNA-DEV/Photo/blob/99142e00fdd1c1f9ab277050d784d179096f6094/hugo.yaml#L49C11-L49C11

nicokaiser commented 8 months ago

Thanks for the PR! I merged it and added a condition which only adds the rel attribute when it is set.

LNA-DEV commented 8 months ago

Perfect👍