SpriteHTTPD - embedded HTTP server with read-only filesystem and templating, originally developed for ESP8266, now stand-alone and POSIX compatible.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spritehttpd/demo/staticfiles/template.tpl.txt

20 lines
343 B

Template test
Visits: [%visits%]
JSON: [%j:json1%]
HTML: [%h:html1%]
HTML: [%html:html2%]
this is a single percent: %%
%multipart%
And here is a bad token %meow%
and token that is too long to parse %../espfsbuilder/mkespfsimage -c1 -g jpg --strip-path staticfiles -o staticfiles.bin staticfiles/index.html staticfiles/kocour.jpg
Bye
.