個人受注で請け負っているイベントサイト類のレイアウトは、だいたい似通っているのでテンプレートを作成した。(wip)
$ git clone [email protected]:baco-16g/eventSite-template.git
$ cd eventSite-template
$ npm install
# run
$ npm run start # to develop
# Server running at: http://localhost:3000
jsonでコンテンツを管理したい場合は...
// json/data.json
{
"title": "ここにタイトル"
}
// .pug
- var title = data.data.title;
h1 #{title}