3 ms·
> No-JavaScript solutions for the web with Stein Expedite > Handlebars <!--- Replace the data-stein-url value with your API URL ---> <div data-s
by pmlnr 7y ago
> No-JavaScript solutions for the web with Stein Expedite
> Handlebars
<!--- Replace the data-stein-url value with your API URL --->
<div
data-stein-url="http://api.steinhq.com/v1/storages/5cc158079ec99a2f484dcb40/Sheet1"
>
<div>
<h1>{{title}}</h1>
<h6>By {{author}}</h6>
<p>
{{content}}
</p>
<p>Read on <a href="{{link}}">Medium</a></p>
</div>
</div>
Is there now some built-in HTML templating functionality I wasn't aware?
Since when is this no-JS?!
NO JS means NO JAVASCRIPT and not no need to write JavaScript.
- shivensinha4 7y agoI mentioned No-JS because you don't need to write it yourself. But you do need to import a pre-built script in your HTML. No HTML templating wizardry!