
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
metalsmith-page-titles
Advanced tools
[](https://travis-ci.org/hellatan/metalsmith-page-titles)
Gives your Metalsmith build the ability to add a global site title to the page title based on your markdown frontmatter and Metalsmith metadata
npm install --save-dev metalsmith-page-titles
In your markdown Frontmatter:
---
title: My Specific Page Title
---
JavaScript API:
var Metalsmith = require('metalsmith');
var pageTitles = require('metalsmith-page-titles');
Metalsmith
.metadata({
site: {
title: "My Main Site Title"
}
})
.use(pageTitles())
In your template:
<title>{{ pageTitle }}</title>
Will result in <title>My Specific Page Title | My Main Site Title</title>
String - A string to separate the page title from the site metadata title, defaults to ' | '
String - The key or nested keys to search for based off of the metadata object, defaults to 'site.title'
See namespace
Boolean - Prepend the site metadata title? Defaults to false
The metalsmith cli workflow has not been tested
FAQs
[](https://travis-ci.org/hellatan/metalsmith-page-titles)
The npm package metalsmith-page-titles receives a total of 6 weekly downloads. As such, metalsmith-page-titles popularity was classified as not popular.
We found that metalsmith-page-titles demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.