Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

サンプルを用意する #13

Open
akabekobeko opened this issue May 14, 2022 · 1 comment
Open

サンプルを用意する #13

akabekobeko opened this issue May 14, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@akabekobeko
Copy link
Member

現在ひとつのサンプルを examples に用意しているが、用途別に複数提供したい。

  • simple
    • なにもカスタマイズしていない状態のサンプル
  • blog
    • ブログ用サンプル
    • createPages によるカスタマイズあり
    • Frontmatter の date により日時降順 (最新を先頭) でソートする
    • Frontmatter の tagscategories からタグとカテゴリーのページを生成
    • 最新記事 10 をトップとして生成
    • ブログの前後記事リンクを生成

現行サンプルと同様に最初は npm publish してない開発用ソースを直に参照する。v1.0 以降で publish されたら、それを npm 参照するように修正予定。

@akabekobeko akabekobeko added the enhancement New feature or request label May 14, 2022
@akabekobeko akabekobeko added this to the v1.0 milestone May 14, 2022
@akabekobeko akabekobeko self-assigned this May 14, 2022
@akabekobeko
Copy link
Member Author

akabekobeko commented May 14, 2022

blog のほうは私自身の GatsbyJS によるサイト構成を参考にする。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant