Content Shortcodes Guide
Contents
This page demonstrates all content shortcodes. Fixed labels (Link / Code / Copy) switch automatically with the article language. See the Chinese version for full details.
Product Card
{{< product img="image-url" title="Product name" desc="Short description" price="$9.9" link="https://..." btn="Buy now" >}}One-click Copy (invite codes, promo codes)
{{< copy "PROMO-CODE-123" >}}PROMO-CODE-123
Netdisk Resource Card
{{< pan "Google Drive" "https://drive.google.com/example" "ab12" >}}Media Embeds
Bilibili: {{< bilibili "BV号" >}} · YouTube: {{< youtube "video-id" >}} · NetEase Music: {{< music "song-id" >}} · Local video: {{< video "/media/xx.mp4" >}}
Novel / Book Card
{{< book img="cover-url" title="Book title" author="Author" tags="urban,comeback" rating="4.8" status="Ongoing · 1.2M words" desc="Short blurb" link="https://..." btn="Read" >}}All params except title and link are optional. Separate multiple tags with commas.
Sample: Rise of the Night Market
★ 4.8
Author: Old Zhang
· Status: Ongoing · 1.2M words
urbancomeback
Deep in debt, he makes a comeback with one tiny food stall.
Software / App Download Card
{{< app icon="icon-url" name="App name" platform="Windows" version="v2.1.0" size="45 MB" tags="utility,free" desc="Short intro" link="https://..." btn="Download" >}}platform, version, size, tags and desc are all optional.
Sample: Bolt Cleaner
Windows / Android · v2.1.0 · 45 MB
utilityfree
One-tap junk cleaner and speed booster.
Short Drama Card
{{< drama img="poster-url" title="Drama title" episodes="80 episodes" tags="romance,twist" rating="4.9" desc="Short synopsis" link="https://..." btn="Watch Now" >}}
Sample: Promise by the Sea
★ 4.9
80 episodes
romancetwist
A chance reunion reveals the truth from three years ago.
Referral / Invite Card
{{< invite img="icon-url (optional)" title="Campaign name" reward="Sign up to get $5" desc="Fine print (optional)" code="ABC888" link="https://..." btn="Sign Up" >}}Omit code when there is no invite code; img and desc are optional too.
Sample: Lucky Earn
🎁 New users get a $5 sign-up bonus
Finish the first daily task for extra rewards.
Invite code:
ABC888