Enfield was inspired by the Ruby-based Jekyll static site generator developed for GitHub, and works in a very similar fashion to the original.
While it can produce static site structures like Jekyll, it also supports its blogging feature, helping developers host their own blog in a much simpler and faster way.
Enfield works by reading content files and embedding the content in HTML pages using pre-defined templates.
Enfield produces HTML pages, with absolutely compilation of resources and content at runtime.
Everything is rendered once, kept on disk, and then delivered to users accessing the site. If something needs to be updated or changed this is done in two ways. Either automatically whenever Enfield detecs a change, or only when the developers requests its Node.js CLI integration.
The Enfield static site generator uses the same Jekyll folder structure, the Liquid template engine, Markdown for formatting the site's text, Pygments or Highlight.js to highlight embedded source code, and also features SEO-friendly URLs.
What is new in this release:
- Use highlight.js if pygments is set to false
- New config parameter for converter.convert API
- Add support for the date_to_rfc822 filter present in Jekyll
- Use promises via the Q library instead of callbacks
- Various bugfixes
What is new in version 0.3.1:
- New liquid tag {% page_url %} for linking to posts (similar to {% post_url %} from Jekyll)
- Use he instead of ent for entity encoding
- Use pygments for code highlighting w/ Marked's async API
- Use new async API from tinyliquid 0.2
Requirements:
- Node.js 0.8 or higher
Comments not found