Skip to content

Commit

Permalink
[feature] add keywords and description
Browse files Browse the repository at this point in the history
  • Loading branch information
shapeshed committed Jan 2, 2014
1 parent 8c15398 commit 717a306
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .flimrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"site_name": "Shape Shed",
"description": "A JavaScript blog written by George Ornbo",
"keywords": "Node.js, Node, JavaScript, ECMAScript, George, Ornbo",
"src_dir": "./src",
"build_dir": "./build",
"tags": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test": "make build"
},
"dependencies": {
"flim": "0.0.1",
"flim": "0.0.2",
"cssmin": "0.3.2",
"uglify-js": "1.3.4",
"http-server": "0.5.3"
Expand Down
5 changes: 5 additions & 0 deletions src/_layouts/layout.jade
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
html
head
title #{title}

if (locals.description)
meta(description="#{locals.description}")
if (locals.keywords)
meta(keywords="#{locals.keywords}")
meta(charset="utf-8")
meta(name="author", content="George Ornbo")
meta(name="viewport", content="width=device-width,initial-scale=1")
Expand Down

0 comments on commit 717a306

Please sign in to comment.