Skip to content
This repository has been archived by the owner. It is now read-only.
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (33 sloc) 1.36 KB
// code: language=csharp insertSpaces=true tabSize=4
#recipe Blog
#theme BlogTemplate
#nuget Wyam.Minification
#nuget JupiterNebula.Wyam.Shortcodes.TabBlock
Settings[Keys.Host] = "";
Settings[BlogKeys.Title] = "JupiterNebula";
Settings[BlogKeys.Intro] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus euismod quis augue vel hendrerit. Duis at congue lectus. Vestibulum ornare.";
Settings[BlogKeys.Description] = "Josh Taylor's Blog";
Settings[BlogKeys.IndexPaging] = true;
Settings[BlogKeys.IndexPageSize] = 3;
Settings[BlogKeys.NetlifyRedirects] = true;
// Run the minifiers unless "minify" is set to false via the command line options.
// MinifyHtml() interferes with live reload, so make sure "minify" is set to false
// while developing using Wyam's embedded HTTP server
if (Settings.Bool("minify", true))
Pipelines.Add("Minify CSS",
Documents().Where((doc, ctx) => doc.Metadata.String(Keys.DestinationFileExt) == ".css"),
Pipelines.Add("Minify JS",
Documents().Where((doc, ctx) => doc.Metadata.String(Keys.DestinationFileExt) == ".js"),
Pipelines.Add("Minify HTML",
Documents().Where((doc, ctx) => doc.Metadata.String(Keys.DestinationFileExt) == ".html"),
You can’t perform that action at this time.