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

関連コンテンツを生成して自動挿入 #154

Open
ncaq opened this issue Feb 19, 2023 · 2 comments
Open

関連コンテンツを生成して自動挿入 #154

ncaq opened this issue Feb 19, 2023 · 2 comments
Labels
Priority: Low Status: Need More Info Lacks enough info to make progress Type: Feature New Feature Type: Meta Type: Meta - Related to repository itself

Comments

@ncaq
Copy link
Owner

ncaq commented Feb 19, 2023

自分でtagを書くのはだるいし、
既存の記事に追加するのがしんどい以上に、
表記ゆれやカテゴリの分割の正当性を信じられない。

よって何かしらの方法でMarkdownファイルを解析して関連コンテンツを作成します。

新規ページを作るたびに全てのページを素直に静的生成し直すのは辛いので、
どれかの方法を取ることになるでしょう。

  • ページ本体はコンパイルして、関連コンテンツ部分だけ静的生成を追加する
  • JSONなどでインデックスファイルを置いておき、アクセスしたらfetchしてレンダリング
    • 単純レンダリングならここだけSSRしても良いかも、サーバサイドレンダリングが多重に重なって意味不明になってきているが…
    • Pandocのマクロ機能が貧弱だしIO多分扱えないしそこは仕方がない
@ncaq ncaq added Type: Feature New Feature Priority: Low Status: Need More Info Lacks enough info to make progress Estimate: 8 Type: Meta Type: Meta - Related to repository itself labels Feb 19, 2023
@ncaq ncaq added this to @ncaq TODO Feb 19, 2023
@ncaq
Copy link
Owner Author

ncaq commented Feb 19, 2023

いやまあHakyllでも2段コンパイル頑張ればうまいこと行くのかな

@ncaq
Copy link
Owner Author

ncaq commented Feb 19, 2023

前調べた時既存のツールがあったはずなのに見つからない。
自分で作るしか無いのか…?

@ncaq ncaq removed the Estimate: 8 label Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Status: Need More Info Lacks enough info to make progress Type: Feature New Feature Type: Meta Type: Meta - Related to repository itself
Projects
Status: TODO
Development

No branches or pull requests

1 participant