hogan.js Questions
2
I am planning to use Hogan.js for my next project. I was trying to experiment with it a bit. I am just stuck and unable to find out how to use helpers with Hogan.js. I used to use to with Handlebar...
Angi asked 13/12, 2013 at 12:50
6
Solved
I'm developing a site with Node.js + Express and using as view engine Hogan.js.
This is my file app.js:
/**
* Module dependencies.
*/
var express = require('express')
, routes = require('./ro...
Stab asked 8/10, 2012 at 14:18
1
I am using Hogan js for my template and require js as a module loader. Have the necessary libraries such as jquery js, hogan js, require js in place.
index.html is below
<!DOCTYPE HTML>
&l...
1
Solved
I don't really like the jade syntax and was wondering if I could do this simple comparison using hoganJS instead?
The example code is written in JADE.
I did some googling and there seems to be mi...
Bly asked 26/7, 2014 at 11:25
1
Solved
I have been using Typeahead 0.9.3 with Hogan 2 for a while and it was very straight forward to setup.
in 0.9.3 I did something like:
$('input.search-query').typeahead([
{
name: "pages"
,local:...
Swain asked 13/7, 2014 at 22:38
3
From what I've read, ExpressJS 3, dropped support of layouts, leaving it to the template engines. So if an engine, doesn't have a support for layouts, what's the best Node.js module that will have ...
Centreboard asked 15/12, 2013 at 7:31
3
Solved
I use Hogan.JS as JavaScript templating library. It is supposed to load JavaScript templates from external files. One can probably outsource several templates in an external JavaScript file.
Does...
Dungeon asked 30/1, 2013 at 10:20
2
Is it possible in any way to use hogan.js as template engine with layouts something like
"Razor or master pages in .NET"?
I would get a result like this:
layout.hjs:
contains "header" & "foot...
Renee asked 25/9, 2013 at 12:2
1
Solved
I am using Laravel 4 with the Blade Templating Engine and Hogan.js.
By default my site thinks {{...}} is used by PHP and Laravel. Now I want to use Hogan.js and the syntax is {{...}} too. I am get...
Hermy asked 6/12, 2013 at 20:25
3
Solved
I am working with twitter's typeahead.js and I was wondering if it was possible to modify hogan.js to use something other than {{}}?
I am looking at the minified code now and I have no idea what to...
Aglow asked 28/7, 2013 at 2:19
1
Solved
The hogan.js template package that express provide is hjs, however, that package last update was a year ago, and the repo at github got issues opened also a year ago (though not really crucial ones...
0
I've seen that Twitter's hogan.js is not making progress and it's somewhat abandoned (github: https://github.com/twitter/hogan.js). The issues are not being attended, and last version in NPM ...
Mesonephros asked 28/5, 2013 at 13:19
1
© 2022 - 2024 — McMap. All rights reserved.