Link Rendering Test

This post validates link rendering paths in FixIt, including Markdown render hook and link shortcode modes.

These links are rendered by layouts/_markup/render-link.html and should always produce regular links.

Title Attribute (Markdown)

External link with title

Named parameters

GitHub via shortcode Internal shortcode link Custom rel + no noreferrer Download local file

Positional parameters

Positional regular link

Basic card

FixIt Documentation fixit.lruihao.cn card image

Card with custom icon class

FixIt on GitHub github.com/hugo-fixit/FixIt

Card with custom image icon

Hugo Official Site gohugo.io card image

Card with download state

Download as card /test/images/fixit.svg

Positional card parameters

Positional card link example.com

Edge Cases

Manual Verification Checklist

  • Regular Markdown external links include external behavior and icon policy.
  • Internal links are not treated as external.
  • Shortcode card links render .card-link structure and card meta URL.
  • download shows download icon/state in both regular and card modes.
  • noreferrer=false removes noopener noreferrer from generated rel values.

Redirection Notice

You are about to leave FixIt TEST, please be aware of your account and property security.

-