Webgen::SourceHandler::Page

Summary

This source handler operates on paths that match one of the following path patterns (see the path pattern documentation for more information): **/*.page

Following is the default meta information set on any node created by this source handler:

kind: page
fragments_in_menu: true
blocks: 
  default: 
    pipeline: erb,tags,kramdown,blocks,fragments

Description

This source handler uses page files which are used to specify the actual content for the website. These files are written using Webgen Page Format. Therefore they contain the content for the web page and, optionally, meta information. The extension page is changed to html for the output file and canonical names.

In contrast to other handled files, page files can never be unlocalized! If they have no language set, the default language specified using the configuration option website.lang is used. This means that for the default language set to English and a source path named index.page, the language meta information is automatically set to English.