Skip to content

pantoken-root / hugo

hugo ​

Compatibility ​

Target: Hugo. Current format: Hugo Pipes builds the Pantoken token stylesheet. Minimum host version: 0.165.0. Tested through 0.165.0. Newer releases require review.

Full compatibility matrix

實驗性

@pantoken/hugo — 為 Hugo 站點匯出 Instructure 代幣樣式表。

Hugo 沒有標準的主題變數契約,因此將代幣以即插即用資產的形式放在 assets/ 下(Hugo Pipes / Dart Sass 會在此擷取):一個 Sass partial 與一個純 CSS 檔案(來自 @pantoken/scss 與 @pantoken/css),以及一份具 InstUI 外觀的正文樣式表(來自 @pantoken/components),用以為 .pantoken-prose 區域內的內容加上樣式。

介面 ​

函式 ​