Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
41 lines (30 sloc) 1.35 KB

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