-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGruntfile.js
42 lines (38 loc) · 1.06 KB
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*global module:false*/
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
markdown: {
options: {
author: 'Iced Dev',
title: 'Frozen Blog',
description: 'Blog for the FrozenJS HTML5 Game Engine',
url: 'http://blog.frozenjs.com',
baseUrl: 'http://frozenjs.com',
logo: 'https://secure.gravatar.com/avatar/272e5230cf45370ed751878105330f3c?s=200',
rssCount: 10,
disqus: 'frozenjs',
layouts: {
wrapper: 'templates/wrapper.jst',
index: 'templates/index.jst',
post: 'templates/post.jst',
archive: 'templates/archive.jst'
},
paths: {
markdown: 'markdown/*.md',
posts: '.',
index: 'index.html',
archive: 'archive.html',
rss: 'index.xml'
}
},
blog: {
dest: '.'
}
}
});
// These plugins provide necessary tasks.
grunt.loadNpmTasks('grunt-markdown-blog');
// Default task.
grunt.registerTask('default', ['markdown']);
};