From 96eb63cbbc2873d0f64979422a323e174a7d5f12 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Fri, 16 Sep 2011 18:35:05 -0400 Subject: [PATCH] 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 --- metaform/site-template.html | 8 ++++---- metaform/template.html | 6 +++--- metaform/template.php | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) 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~<!--~~}~~--> +