Creative Commons on Posts

Is there a way to include a link to a Creative Commons License on every page automatically?

I’m assuming something in code injection but the suggests I have found don’t seem to work for the Source theme.

The code I’d want to include (under my social icons (navigation 2)) would be:

<p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><a property="dct:title" rel="cc:attributionURL" href="https://pisource.org">PiSource.org</a> by <a rel="cc:attributionURL dct:creator" property="cc:attributionName" href="https://mastodon.squarecows.com/@Ric">Ric Harvey</a> is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">CC BY-SA 4.0<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/sa.svg?ref=chooser-v1" alt=""></a></p>

Any help would be greatly appreciated

Hey Ric.

I assume you’re trying to get it to appear on one line centred and directly below those social icons on your page? Per this terrible mockup I made :smile:

This area is all wrapped in a HTML <footer> container

Back to your code injection…

If you’re just popping that right into the code injection footer that means it’ll appear as close to the close of the <body> as Ghost can get — the very foot of the HTML document. This is actually not going to appear in that <footer> element, which is further up the doc.

What you’d need to do here is edit the theme and put this code after the secondary nav area (the social icons). Or, with code injection, you’d have to use JavaScript to find the right part of the footer and pop this HTML in there.

Hope that makes sense