-
How can I add URL in page description? I used html before but now it seems to be broken after the latest rebase? old way:
new way: ?? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Where exactly? If it is in a |
Beta Was this translation helpful? Give feedback.
-
The issue was this line in metadata.html
basically any html that I wrote in the page.description was picked up by this and rendered on the page at the top. |
Beta Was this translation helpful? Give feedback.
-
Sorry to re-open this discussion, but the proposed solution does not work for me. I have the same issue as @mohsaied when using HTML tags, and when I instead use the format [link name](https:// ...) it is not rendered at all. The result is live at |
Beta Was this translation helpful? Give feedback.
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.