From: Jason Woofenden Date: Fri, 16 Sep 2011 22:35:05 +0000 (-0400) Subject: metaform: new names for standard template sections X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=96eb63cbbc2873d0f64979422a323e174a7d5f12;p=wfpl.git metaform: new names for standard template sections 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 --- diff --git a/metaform/site-template.html b/metaform/site-template.html index 11ceb40..0298f9c 100644 --- a/metaform/site-template.html +++ b/metaform/site-template.html @@ -1,15 +1,15 @@ - + - ~main-title html~ + ~$title html~ - + @@ -36,7 +36,7 @@
- ~main_body~ + ~$body~
diff --git a/metaform/template.html b/metaform/template.html index 6602896..5b2b372 100644 --- a/metaform/template.html +++ b/metaform/template.html @@ -3,8 +3,8 @@ - <!--~~main_title show {~~-->~plural cap~<!--~~}~~--> - + <!--~~$title show {~~-->~plural cap~<!--~~}~~--> +