次のような方法で目的の結果が得られるはずです。
├── config.json <- site configuration
├── contents
│ ├── index.html <- these will just be outputted as-is
│ ├── gpg.html
│ ├── project.html
│ ├── blog <– each article has its own directory
│ │ ├── index.json <- this is your blog index at /blog/index.html
│ │ ├── look-a-new-wintersmith-blog
│ │ │ └── index.md
│ │ └── monkeys-are-really-cool
│ │ └── index.md
│ ├── authors <- author metadata, check author.jade
│ │ └── the-wintersmith.json
│ ├── css
│ │ └── main.css
│ └── feed.json
├── plugins
│ └── paginator.coffee <- paginator plugin
├── templates
│ ├── archive.jade
│ ├── article.jade
│ ├── author.jade
│ ├── feed.jade
│ ├── index.jade
│ └── layout.jade
└── views
└── articles.coffee <- view that lists articles
index.json
代わりに URLを指定archive.json
するために名前を変更して移動しただけです。/blog/index.html
アーカイブ レイアウトの代わりにデフォルトの Wintersmith インデックスが必要な場合は、ファイルを編集して、 のindex.jade
代わりにレイアウトを使用しますarchive.jade
。
現在の HTML ファイルを Markdown に変更して同じ場所に配置すると、ブログの投稿と同じように HTML として出力されます。
ある種のナビゲーション メニューをarticle
レイアウトに追加することもできます。
編集:静的ページを作成するcontents
には、次のようなMarkdown ファイルを作成します。
---
title: GPG
author: baker
date: 2014-03-23
template: article.jade
---
Content
このファイルgpg.md
に という名前を付けた場合、 でアクセスできるはずhttp://localhost:8080/gpg.html
です。article.jade
テンプレートを使用したため、完全を期すためにauthor
およびdate
フィールドが必要です (なくても機能しますが、作成者がなくても "Written by" は含まれます) が、これらのフィールドを使用しないカスタム テンプレートを作成することもできます。