Questions tagged [mustache]

Mustache is a "logic-less" templating library available in a range of languages.

Filter by
Sorted by
Tagged with
2
votes
0answers
43 views

Makefile for a document generation system

This is my first shot at writing a makefile for a document generation system. Please identify any more ways to refine it. Some pointers on how it works: The INPUT files initially are templates to be ...
2
votes
0answers
42 views

Lesson slideshow/classroom app

Overview I am looking for feedback on this (personal) project that I am working on that is rapidly becoming quite complex. I am fully aware that this is horrific code quality... I just want to get my ...
0
votes
1answer
158 views

HTML template for win-loss data in Javascript with Mustache

Can anyone suggest a better way to implement my template code? ...
5
votes
1answer
280 views

Review of HTML markup for this blog concept

I am creating a blog concept with this layout on CodePen Here is my current code in development ...
4
votes
2answers
200 views

How can this <ul> be set up to maximize inheritance if additional classes will be passed in from a JSON file?

Objective Currently I have the flags hardcoded. But want to optimize my code for production. So I am wondering if I have this code done clean enough to leverage CSS inheritance while maintaining ...
5
votes
2answers
4k views

Was this use of <img> tags in this HTML over background images better?

I saw this UI for a mobile app, but I reverse engineered it for the web. This is how it looks in my CodePen This would be either a favorites or featured list locations to travel to. I decided to go ...
1
vote
1answer
189 views

Allow users to add custom queries to Mustache variables

I'm writing an application that will be managed by my team, it uses Mustache.php as template engine. I have a PHP file that makes an array of variables and functions that is passed to the Mustache ...
4
votes
2answers
135 views

How clean is this mustache template for a listing page?

This was our old site that I am redesigning. Someone else hardcoded with inline CSS and javascript in tables. I wanted to make it dynamic, so I added Mustache and made this template: ...
4
votes
1answer
738 views

Rendering and re-rendering a Mustache template

I want to ask whether my following implementation is good in the view of good practice and performance. I have an app where I have to show another page or template html in an iframe. I get that ...
2
votes
2answers
2k views

A PHP MVC working with Mustache (and now nested templates!)

I'd love some feedback about this code that I'm editing and shortening now. ...