Skip to content

Commit

Permalink
Merge pull request #4 from hariadi/develop
Browse files Browse the repository at this point in the history
v0.2.2
  • Loading branch information
hariadi committed Mar 23, 2014
2 parents 48e2ed4 + 215d283 commit a483684
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ The following directory structure is generated after running `yo metalsmith`:

.
├── .gitignore
├── .yo-rc.json
├── Makefile
├── metalsmith.json
├── package.json
├── README.md
├── _layouts
│ ├── defaul.html
│ └── post.html
├── _posts
│ ├── 2012-08-20-first-post.md
Expand Down
2 changes: 2 additions & 0 deletions app/templates/_layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><%= _.capitalize(msTitle) %> - {{ title }}</title>
</head>
<body>
Expand Down
3 changes: 3 additions & 0 deletions app/templates/_layouts/handlebars-default.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><%= _.capitalize(msTitle) %> - {{ title }}</title>
</head>
<body>

<h2>Blog Posts</h2>

{{#if articles }}
Expand Down
3 changes: 3 additions & 0 deletions app/templates/_layouts/handlebars-post.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><%= _.capitalize(msTitle) %> - {{ title }}</title>
</head>
<body>

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

<time>{{ date }}</time>
Expand Down
3 changes: 3 additions & 0 deletions app/templates/_layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><%= _.capitalize(msTitle) %> - {{ title }}</title>
</head>
<body>

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

<time>{{ date | date('Y-m-d') }}</time>
Expand Down
6 changes: 3 additions & 3 deletions app/templates/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"metalsmith-ignore": "^0.1.2",<% } %><% if(drafts){ %>
"metalsmith-drafts": "0.0.1",<% } %><% if(templates){ %>
"metalsmith-templates": "^0.3.0",
"<%= templateEngine %>": "*",<% } %><% if(markdown){ %>
"<%= templateEngine %>": "<%= metalsmith.engine[templateEngine] %>",<% } %><% if(markdown){ %>
"metalsmith-markdown": "^0.2.1",<% } %><% if(permalinks){ %>
"metalsmith-permalinks": "^0.2.0",<% } %><% if(collections){ %>
"metalsmith-permalinks": "^0.2.2",<% } %><% if(collections){ %>
"metalsmith-collections": "^0.1.0",<% } %>
"metalsmith": "^0.3.0"
"metalsmith": "^0.5.0"
}
}
1 change: 1 addition & 0 deletions app/templates/gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
_site
2 changes: 1 addition & 1 deletion metalsmith.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"metalsmith-drafts": "^0.0.1",
"metalsmith-templates": "^0.3.0",
"metalsmith-markdown": "^0.2.1",
"metalsmith-permalinks": "^0.2.0",
"metalsmith-permalinks": "^0.2.2",
"metalsmith-collections": "^0.1.0"
},
"engine": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-metalsmith",
"version": "0.2.1",
"version": "0.2.2",
"homepage": "https://github.com/hariadi/generator-metalsmith",
"description": "Yeoman generator for Metalsmith",
"author": {
Expand Down

0 comments on commit a483684

Please sign in to comment.