Skip to content

ianstormtaylor/metalsmith-title

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metalsmith-title

A Metalsmith plugin that automatically add page title from first heading in processed file

Installation

$ npm install metalsmith-title

Usage

var date = require('metalsmith-title');

metalsmith.use(title());

That will add title to all

	<title>{{ title }}</title>

CLI Usage

Install via npm and then add the metalsmith-title key to your metalsmith.json:

{
  "plugins": {
    "metalsmith-title": true
  }
}

License

MIT

About

Automatically add a title from processed file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.1%
  • Shell 4.9%