Skip to content

Commit

Permalink
set up global metadata for handlebars templates
Browse files Browse the repository at this point in the history
- integrate with the 0.9.x branch of gh-release-manager
- supports for grm.metadata.json file setup
- remove redundancy from documentation title
- set up a site title in the global metadata
- use the site title in the head for generating the page < title > tag
- bump package version to 0.9.x to match gh-release-manager
  • Loading branch information
justinhelmer committed Feb 10, 2016
1 parent aadd738 commit 702c08a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs-header.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: documentation.html
title: Lodash Documentation - [release]
title: Documentation - [release]
permalink: /docs/[release]/
---
3 changes: 3 additions & 0 deletions grm.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"title": "Lodash.com"
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lodash.github.io",
"version": "0.8.0",
"version": "0.9.0",
"description": "lodash.com web application stack",
"keywords": [
"lodash",
Expand Down Expand Up @@ -34,7 +34,7 @@
"chai": "^3.5.0",
"coveralls": "^2.11.6",
"dirty-chai": "^1.2.2",
"gh-release-manager": "^0.8.3",
"gh-release-manager": "^0.9.2",
"gulp": "^3.9.1",
"istanbul": "^0.4.2",
"mocha": "^2.4.5",
Expand Down
2 changes: 1 addition & 1 deletion source/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
<title>{{#if title}}{{title}} | {{siteTitle}}{{else}}{{siteTitle}}{{/if}}</title>
<title>{{#if title}}{{title}} | {{site.title}}{{else}}{{site.title}}{{/if}}</title>
<meta name="description" content="{{site.description}}">
<link href='http://fonts.googleapis.com/css?family=Cantora+One|Ropa+Sans:400,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="/css/main.css">
Expand Down

0 comments on commit 702c08a

Please sign in to comment.