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

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -