1.0.0 • Published 4 years ago

cannerio v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Canner official site

This is canner.io official site repo

Command

deploy to gh-pages

npm run gh-pages

新增post步驟:

  1. 在/pages/posts中新增md檔 (檔名格式:'url'_'currentLanguage'.md)
  2. 在/data/post_list.js中新增 'url':{ ... }, 若為大卡顯示的話,main設為true,每個tag只限定一篇文章main為true
  3. /blog/slug.tsx檔案中上方import剛新增的md檔
  4. /blog/slug.tsx檔案中中新增條件式使用的component