Scribble at 2023-09-11 17:31:38 Last modified: unmodified

添付画像

Static site generators are in fashion for good reasons. The resulting pages are easy to host, fast and extremely low on maintenance while being sufficient for many use cases. As I learned when setting up my blog, writing a simple script myself is faster and more satisfying than learning one of the other site builders and customizing it to my needs. This time, I only need a plain site without automatically updated timestamps or an RSS-feed, so I can go even simpler than by blog script.

make as a Static Site Generator

確かに、僕も Movable Type を初めて使ったときに似たような印象を持ったことがある。これ、コンパイルしてるようなもんじゃないのか? ということだ。でも、出力されるのはテキスト・ファイルとしての静的ウェブ・ページなので、もちろん make やコンパイルのような処理とは異なる。でも、関連するファイルを集めてきて、その状況に応じた出力内容を調整して、決まったディレクトリへまとめて出力するという点では、make のような処理に似た印象はある。

  1. もっと新しいノート <<
  2. >> もっと古いノート

冒頭に戻る


※ 以下の SNS 共有ボタンは JavaScript を使っておらず、ボタンを押すまでは SNS サイトと全く通信しません。

Twitter Facebook