Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jonschlinkert committed Apr 15, 2013
1 parent 9a8877c commit c3217d5
Show file tree
Hide file tree
Showing 32 changed files with 6,512 additions and 3 deletions.
44 changes: 44 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# node #
########

lib-cov
*.seed
*.csv
*.dat
*.out
*.pid
*.gz
*.rar


pids
logs
results

npm-debug.log

# SublimeText project files #
#############################
*.sublime-*
.cache

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store*
.DS_Store
._*

# node and git
npm-debug.log
node_modules
!.gitkeep

temp
tmp

51 changes: 51 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/*
* assemble-examples-basic
* https://github.com/assemble/assemble-examples-basic
*
* Copyright (c) 2013 Brian Woodward, Jon Schlinkert, contributors.
* Licensed under the MIT license.
*/

'use strict';

module.exports = function(grunt) {

// Project configuration.
grunt.initConfig({
// Get metadata to use in templates.
pkg: grunt.file.readJSON('package.json'),

// The assemble 'task'
assemble: {
// Task-level options.
options: {
flatten: true,
assets: 'dist/assets',
layout: 'src/templates/layouts/default.hbs',
partials: ['src/templates/partials/*.hbs'],
ext: '.html'
},
pages: {
files: {
'dist/': ['src/templates/pages/*.hbs']
}
}
},

// Remove HTML files from ./dist before rebuilding.
clean: {
dest: {
src: ['dist/**/*.html']
}
}

});

// Load npm plugins to provide necessary tasks.
grunt.loadNpmTasks('assemble');
grunt.loadNpmTasks('grunt-contrib-clean');

// Default task to be run.
grunt.registerTask('default', ['clean', 'assemble']);

};
22 changes: 22 additions & 0 deletions LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright (c) 2013 Jon Schlinkert

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
assemble-examples-basic
=======================
# assemble-examples-basic

Demonstrates how to use Assemble to build a site. Includes layouts, pages, partials, and markdown content.
Demonstrates how to use Assemble to build a site. Example includes layouts, pages, partials, and markdown content.
Loading

0 comments on commit c3217d5

Please sign in to comment.