Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Temperos

On the fly template rendering

What does it do

If http://somewhere.com/a-mustache-template.html holds a file like

<template>
  <h1>{{ title1 }}</h1>
  <p>...</p>

  <h1>{{ title2 }}</h1>
  <p>...</p>
</template>

the output of

http://temperos.alhur.es/http://somewhere.com/a-mustache-template.html
  ?title1=something&title2=nothing

will be

<template>
  <h1>something</h1>
  <p>...</p>

  <h1>nothing</h1>
  <p>...</p>
</template>

Examples