Skip to content

fidian/metalsmith-data-loader-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metalsmith Data Loader Example

This sample repository shows the different ways you can load data into pages, both from a dedicated folder (models/ in the example) or adjacent to the file being parsed.

Usage

Clone the repository. After that, install dependencies and run a build.

$ git clone https://github.com/tests-always-included/metalsmith-data-loader-example.git
$ cd metalsmith-data-loader-example
$ npm install
$ npm run build

After that, you can poke around in the src/ and dest/ folders to see what was used and how it turned out. The files in the dest/ folder are just JSON-encoded forms of all of the metadata of the file.

License

This repository is placed under a MIT license that contains an additional non-advertising clause.

About

Shows how to use the metalsmith-data-loader middleware

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published