Skip to content

#197 Fixed meta tags may include shortcodes and or JS code

Zhou Fang requested to merge (removed):zhoufang/master/197 into master

Signed-off-by: Zhou Fang

Before the changes, .Summary will take any content inside body->main (including shortcodes and or JavaScript code if exists)

So, replaced it with .Page.Params.summary to make sure it will only take the value set for the summary parameter in md file.

And added .Site.Params.description to have one more fallback choice for description.

Edited by Zhou Fang

Merge request reports