html5 - What is the HTML equivalent of #define in C/C++? -
i have multiple html files vary little - few bits of text , javascript constants here , there. want make easy maintain 1 master version , make generating variants simple.
something compile time substitution in c/c++ simple , perfect:
#define constant 1.23456
how? ideas?
additional info:
- using html 5
- these html files use in phonegap, no server-side stuff allowed.
you can use templating engine that. 1 content 1 twitter http://twitter.github.com/hogan.js/
Comments
Post a Comment