Permalink
Browse files

first commit

  • Loading branch information...
1 parent 9a8877c commit c3217d5ec4d1a6b08df76f32b2bc83bdf2e0dfba @jonschlinkert jonschlinkert committed Apr 15, 2013
View
@@ -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
+
View
@@ -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']);
+
+};
View
@@ -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.
View
@@ -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.
Oops, something went wrong.

0 comments on commit c3217d5

Please sign in to comment.