GithubHelp home page GithubHelp logo

assemble-template's Introduction

Assemble Template

A boilerplate to generate static HTML pages using Assemble.io. Livereload served using grunt-connect and grunt-contrib-watch.

Managing a library of Static HTML pages can be daunting, especially when you're making miniscule amends. Assemble.io generates your HTML from handlebars templates, so changes made are reflected across all pages.

What projects can I use assemble-template for?

  • Building and maintaining lightweight, CMS-less websites
  • Wireframes and scaffolding
  • HTML Emails

Installation

Clone the repository by running the following command.

git clone https://github.com/thetanman/assemble-template.git

Change to the project directory to the git repo and install node modules.

cd assemble-template && npm install

Project Structure

This template uses example button-040 to generate 2 pages, ./dist/001/index.html and ./dist/002/index.html.

001/
  | index.hbs
  | partial.hbs
  | partial.json
002/
  | index.hbs
  | partial.hbs
  | partial.json
assets/
  img/
templates/
  | includes/
    | header.hbs
    | footer.hbs
  | layouts/
    | default.hbs  
Gruntfile.js
node_modules/
package.json
README.md

Versions

Version 2.0: Polar Bear

  • Added grunt-contrib-connect to serve HTML files
  • Mimic project structure from assemble buttons
  • Removed browser-sync support, switched to grunt-contrib-watch for livereload options

Version 1.1: Bear

Added grunt-contrib-watch to update changes to handlebars files, livereload served with browser-sync.

Roadmap:

  • Watch for added files to project using grunt-contrib-watch
  • Add documentation section with markdown capability

assemble-template's People

Contributors

tanmvo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.