Skip to content

Instantly share code, notes, and snippets.

@hostsamurai
hostsamurai / apps.js
Last active December 14, 2015 05:29 — forked from eliOcs/apps.js
consolidate.js lets you specify partials in your render functions. The gist assumes you have index.html and partial.html inside of your views folder.
/*jslint node: true */
"use strict";
var express = require("express"),
consolidate = require("consolidate"),
Handlebars = require("handlebars"),
fs = require("fs");
var app = express();
" Vim syntax file
" Language: HTML (version 5)
" Maintainer: Rodrigo Machado <rcmachado@gmail.com>
" URL: http://rm.blog.br/vim/syntax/html.vim
" Last Change: 2009 Aug 19
" License: Public domain
" (but let me know if you liked it :) )
"
" Note: This file just adds the new tags from HTML 5
" and don't replace default html.vim syntax file