Skip to content

Sponsor

The sponsor configuration manages the sponsor page content, including donation methods and sponsor list.

Config File

src/config/sponsorConfig.ts

Basic Configuration

PropertyTypeDefaultDescription
titlestring""Page title (empty uses i18n)
descriptionstring""Page description (empty uses i18n)
usagestring-Sponsorship usage description
showSponsorsListbooleantrueShow sponsors list
showButtonInPostbooleantrueShow sponsor button on post pages
PropertyTypeRequiredDescription
namestringYesMethod name
iconstringNoIcon (Iconify format)
qrCodestringNoQR code image path (relative to public)
linkstringNoDonation link URL
descriptionstringNoDescription text
enabledbooleanYesWhether enabled
PropertyTypeRequiredDescription
namestringYesSponsor name
amountstringNoDonation amount
datestringNoDate (ISO format)
ts
sponsors: [
  {
    name: "John Doe",
    amount: "$10",
    date: "2025-10-01",
  },
],

TIP

Set pages.sponsor to true in siteConfig.ts to enable the sponsor page.