From fb6aaddea7701068333a7378b9395c9a688b64f2 Mon Sep 17 00:00:00 2001 From: Justin Cypret Date: Sat, 1 Apr 2017 20:23:25 -0500 Subject: [PATCH] Add note about override to README and changelog --- CHANGELOG.md | 5 +++-- README.md | 8 ++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31a7a5e..b9417f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## 1.0.0 (2017-04-01) -* Add compatibility with Middleman v4 -* Upgrade plugin to use the Middleman extension API +* Add compatibility with Middleman v4 (#2) +* Upgrade plugin to use the Middleman extension API (#2) +* Allow overriding individual page titles (#3) ## 0.0.3 * Fix Rspec stub name for title_options diff --git a/README.md b/README.md index 48b29b2..e1e2401 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,14 @@ This would output: John Doe — Staff — Your Website Name ``` +## Override Page Title + +If at any point you want to completely override the page title, you can use `page_title` in the Frontmatter. + +```YAML +page_title: The title of a page to be used as-is in without site name +``` + ## Contributing 1. Fork it ( https://github.com/jcypret/middleman-title/fork )