The new convention is to use the `$` prefix for sections perhaps variables that
are global to the document/article. This way you needn't worry about naming
conflicts (so long as your other data doesn't start with `$`.
Specificially, these were changed:
main_title -> $title
extra_headers -> $head
main_body -> $body
<!DOCTYPE html>
-<html>
+<html lang="us">
<head>
<meta charset="utf-8" />
- <title>~main-title html~</title>
+ <title>~$title html~</title>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script>less = {env:'development'};</script>
<link rel="stylesheet/less" href="style_01.less" />
<script src="http://lesscss.googlecode.com/files/less-1.0.41.min.js"></script>
- <!--~extra-headers~-->
+ <!--~$head~-->
</head>
<body>
<!--~}~-->
<article>
- ~main_body~
+ ~$body~
</article>
</div>
<html>
<head>
<meta charset="utf-8" />
- <title><!--~~main_title show {~~-->~plural cap~<!--~~}~~--></title>
- <link rel="stylesheet" href="style.css" type="text/css"><!--~html_editor_headers {~--><!--~~extra_headers {~~-->
+ <title><!--~~$title show {~~-->~plural cap~<!--~~}~~--></title>
+ <link rel="stylesheet" href="style.css" type="text/css"><!--~html_editor_headers {~--><!--~~$head {~~-->
<script type="text/javascript" src="code/ckeditor/ckeditor.js"></script>
<script language="javascript" type="text/javascript">
function make_wysiwyg(name) {
</head>
<body>
-<!--~~main_body show {~~--><!--~opt_display {~-->
+<!--~~$body show {~~--><!--~opt_display {~-->
<!--~~display {~~-->
<h2>~singular cap~ details</h2>
tem_set('upload_max_filesize', upload_max_filesize());~}~
tem_set('form', $data);~show_extra_headers {~
- tem_set('extra_headers');~}~
+ tem_set('$head');~}~
}