Skip to content

is it possible to put links in footer copyright #6628

Answered by slorber
peguine asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you can use html strings in the copyright config, as React will render this HTML

{footer.copyright ? (
              <div
                className="footer__copyright"
                dangerouslySetInnerHTML={{
                  __html: footer.copyright,
                }}
              />
            ) : null}

For more advanced use-cases, you can swizzle the Footer component

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@peguine
Comment options

@iqfareez
Comment options

@slorber
Comment options

slorber Aug 17, 2022
Collaborator

@iqfareez
Comment options

Answer selected by slorber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants