Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • H hugo-solstice-theme
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse Foundation
  • IT
  • Webdev
  • hugo-solstice-theme
  • Merge requests
  • !257

Merged
Created Mar 07, 2022 by Zhou Fang@zhoufangContributor

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

  • Overview 6
  • Commits 3
  • Changes 3

Signed-off-by: Zhou Fang zhou.fang@eclipse-foundation.org

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 Mar 07, 2022 by Zhou Fang
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: zhoufang/master/197

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent