Screenshot 2023-04-11 at 15.56.59.png
how about you make the <a> tag wrap all of the html code of the site title instead of being inside a svg
then give the anchor a class and style it, like set a position
also when i go to customize → site title
and go to the select field "Text, Image or HTML" and select "html" and enter some svg
then my svg is already wrapped by lay theme's <a> tag:
Screenshot 2023-04-11 at 15.59.46.png
so theres no need to add an anchor tag
also you cannot have one anchor tag inside another anchor tag thats invalid html as far as i know
so maybe just remove your custom anchor tag