Skip to content

How to add URL in page description? #2155

Closed Answered by mohsaied
mohsaied asked this question in Q&A
Discussion options

You must be logged in to vote

The issue was this line in metadata.html

<meta name="description" content="{%- if page.description -%}{{ page.description }}{%- else -%}{{ site.description }}{%- endif -%}" />

basically any html that I wrote in the page.description was picked up by this and rendered on the page at the top.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mohsaied
Comment options

You must be logged in to vote
3 replies
@lvanveen
Comment options

@george-gca
Comment options

@lvanveen
Comment options

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