(hello-world.md) This file should show the rendered HTML data from head.pug, but it only shows the content from head.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require( 'fs' ) | |
const path = require( 'path' ) | |
// Metalsmith stuff | |
const Metalsmith = require( 'metalsmith' ) | |
const markdown = require( 'metalsmith-markdownit' ) | |
const layouts = require( 'metalsmith-layouts' ) | |
const include = require( 'metalsmith-include') | |
const inplace = require( 'metalsmith-in-place' ) | |
const pug = require( 'metalsmith-pug' ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require( 'fs' ) | |
const path = require( 'path' ) | |
// Metalsmith stuff | |
const Metalsmith = require( 'metalsmith' ) | |
const markdown = require( 'metalsmith-markdownit' ) | |
const layouts = require( 'metalsmith-layouts' ) | |
const include = require( 'metalsmith-include') | |
const inplace = require( 'metalsmith-in-place' ) | |
const pug = require( 'metalsmith-pug' ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Metalsmith = require('metalsmith'); | |
const layouts = require( 'metalsmith-layouts' ) | |
const markdown = require('metalsmith-markdown') | |
const include = require('metalsmith-include') | |
const config = { | |
source: 'src', | |
buildPath: 'public' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Metalsmith = require('metalsmith'); | |
const layouts = require( 'metalsmith-layouts' ) | |
const markdown = require('metalsmith-markdown') | |
const include = require('metalsmith-include') | |
const config = { | |
source: 'src', | |
buildPath: 'public' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Metalsmith = require('metalsmith'); | |
const layouts = require( 'metalsmith-layouts' ) | |
const markdown = require('metalsmith-markdown') | |
const include = require('metalsmith-include') | |
const config = { | |
source: 'src', | |
buildPath: 'public' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require( 'fs' ) | |
const path = require( 'path' ) | |
// Metalsmith stuff | |
const Metalsmith = require( 'metalsmith' ) | |
const markdown = require( 'metalsmith-markdownit' ) | |
const layouts = require( 'metalsmith-layouts' ) | |
const include = require( 'metalsmith-include') | |
const inplace = require( 'metalsmith-in-place' ) | |
const pug = require( 'metalsmith-pug' ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require( 'fs' ) | |
const path = require( 'path' ) | |
// Metalsmith stuff | |
const Metalsmith = require( 'metalsmith' ) | |
const markdown = require( 'metalsmith-markdownit' ) | |
const layouts = require( 'metalsmith-layouts' ) | |
const include = require( 'metalsmith-include') | |
const inplace = require( 'metalsmith-in-place' ) | |
const pug = require( 'metalsmith-pug' ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require( 'fs' ) | |
const path = require( 'path' ) | |
// Metalsmith stuff | |
const Metalsmith = require( 'metalsmith' ) | |
const markdown = require( 'metalsmith-markdownit' ) | |
const layouts = require( 'metalsmith-layouts' ) | |
const include = require( 'metalsmith-include') | |
const inplace = require( 'metalsmith-in-place' ) | |
const pug = require( 'metalsmith-pug' ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Build with layouts() BEFORE include() | |
const fs = require( 'fs' ) | |
const path = require( 'path' ) | |
// Metalsmith stuff | |
const Metalsmith = require( 'metalsmith' ) | |
const markdown = require( 'metalsmith-markdownit' ) | |
const layouts = require( 'metalsmith-layouts' ) | |
const include = require( 'metalsmith-include') | |
const inplace = require( 'metalsmith-in-place' ) |