The settings listed below apply globally and can be set from the command line or from a configuration file. They are used to configure options and otherwise control the generation process.
In addition to the optional settings listed below, you should also set a host with the following code in your configuration file:
Settings[Keys.Host] = "mysite.com";
While most generated links are relative to ensure local testing works, some links need to be absolute such as feeds. This setting ensures the correct URL is generated for those links.
-
BlogKeys.ArchiveExcerpts:System.BooleanSpecifies whether the excerpts should be output on the archive page(s) (if not specified or
false, only the title and description will be displayed). Note that this also controls displaying excerpts on the tag archive pages. -
BlogKeys.ArchivePageSize:System.Int32The page size for the archive page (if not specified, no paging will be used).
-
BlogKeys.AtomPath:Wyam.Common.IO.FilePathorSystem.StringSpecifies the path where the blog Atom file will be output. The default value is
feed.atom. Set tonullto prevent generating an Atom feed. -
BlogKeys.CaseInsensitiveTags:System.BooleanSet to
trueto make tag groupings case-insensitive. -
BlogKeys.Description:System.StringThe description of your blog (usually placed on the home page).
-
BlogKeys.GenerateArchive:System.BooleanSpecifies whether an archive should be generated (the default is
true). -
BlogKeys.IgnoreFolders:System.StringorIEnumerable<string>This should be a string or array of strings with the name(s) of root-level folders to ignore when scanning for content pages. Setting this global metadata value is useful when introducing your own pipelines for files under certain folders and you don't want the primary content page pipelines to pick them up.
-
BlogKeys.Image:System.StringThe relative path to an image to display on the home page.
-
BlogKeys.IncludeDateInPostPath:System.BooleanSetting this to
trueuses the year and date in the output path of blog posts. The default value isfalse. -
BlogKeys.IndexFullPosts:System.BooleanSpecifies whether the full post content should be output on the index page(s) (if not specified or
false, only the excerpt will be output). -
BlogKeys.IndexPageSize:System.Int32The page size for the index page(s) (if not specified, a default of 3 will be used).
-
BlogKeys.IndexPaging:System.BooleanSpecifies whether index pages should be generated (if not specified or
false, only the first index page will be generated). -
BlogKeys.Intro:System.StringA short introduction to your blog (usually placed on the home page under the description).
-
BlogKeys.MarkdownConfiguration:System.StringSet this to control the activated set of Markdown extensions for the Markdig Markdown renderer. The default value is "advanced+bootstrap".
-
BlogKeys.MarkdownExtensionTypes:System.Collections.Generic.IEnumerable`1Set this to add extension Markdown extensions for the Markdig Markdown renderer. The default value is null;
-
BlogKeys.MarkdownPrependLinkRoot:System.BooleanSet to
trueto prepend a configuredLinkRootto all root-relative Markdown links. -
BlogKeys.MetaRefreshRedirects:System.BooleanSet to
true(the default value) to generate meta refresh pages for any redirected documents (as indicated by aRedirectFrommetadata value in the document). -
BlogKeys.NetlifyRedirects:System.BooleanSet to
true(the default value isfalse) to generate a Netlify_redirectsfile from redirected documents (as indicated by aRedirectFrommetadata value). -
BlogKeys.PostsPath:Wyam.Common.IO.DirectoryPathorSystem.StringControls the parent path where blog posts are placed. The default is "posts". This affects both input and output files (I.e., if you change this your input files must also be under the same path).
-
BlogKeys.ProcessIncludes:System.BooleanIndicates that include statements should be processed using the
Wyam.Core.Modules.IO.Includemodule. The default behavior is not to process includes. -
BlogKeys.RdfPath:Wyam.Common.IO.FilePathorSystem.StringSpecifies the path where the blog RDF file will be output. The default value is
nullwhich prevents generating an RDF feed. -
BlogKeys.RssPath:Wyam.Common.IO.FilePathorSystem.StringSpecifies the path where the blog RSS file will be output. The default value is
feed.rss. Set tonullto prevent generating an RSS feed. -
BlogKeys.TagPageSize:System.Int32The page size for tag archive pages (if not specified, no paging will be used).
-
BlogKeys.Title:System.StringThe title of the blog.
-
BlogKeys.ValidateAbsoluteLinks:System.BooleanSet to
true(the default value isfalse) to validate all absolute links. Note that this may add considerable time to your generation process. -
BlogKeys.ValidateLinksAsError:System.BooleanSet to
true(the default value isfalse) to report errors on link validation failures. -
BlogKeys.ValidateRelativeLinks:System.BooleanSet to
true(the default value) to validate all relative links.
Note that this list isn't exhaustive. Some modules used by the recipe may have their own settings that you can set as well. General settings are also available to every recipe.
