From 93dc64c48071723709c7de2d8b0305f8b656d1fb Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Sat, 20 Sep 2014 14:20:36 +1200 Subject: [PATCH] More more of the page to replacable includes. --- templates/DocumentationViewer.ss | 50 ++++++++++++------------- templates/Includes/DocumentationEnd.ss | 1 + templates/Includes/DocumentationHead.ss | 9 +++++ 3 files changed, 33 insertions(+), 27 deletions(-) create mode 100644 templates/Includes/DocumentationEnd.ss create mode 100644 templates/Includes/DocumentationHead.ss diff --git a/templates/DocumentationViewer.ss b/templates/DocumentationViewer.ss index 3778942..fe1a580 100755 --- a/templates/DocumentationViewer.ss +++ b/templates/DocumentationViewer.ss @@ -1,36 +1,32 @@ - - <% base_tag %> - - <% if Title %>$Title – <% end_if %>$DocumentationTitle - - - -
-
- <% include DocumentationSidebar %> + <% include DocumentationHead %> -
- $Layout - - <% include DocumentationFooter %> -
+
+
+ <% include DocumentationSidebar %> + +
+ $Layout + + <% include DocumentationFooter %>
- +
+ - <% if GoogleAnalyticsCode %> - - <% end_if %> - + ga('create', '$GoogleAnalyticsCode', 'auto'); + ga('send', 'pageview'); + + <% end_if %> + + <% include DocumentationEnd %> diff --git a/templates/Includes/DocumentationEnd.ss b/templates/Includes/DocumentationEnd.ss new file mode 100644 index 0000000..5d5509f --- /dev/null +++ b/templates/Includes/DocumentationEnd.ss @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/Includes/DocumentationHead.ss b/templates/Includes/DocumentationHead.ss new file mode 100644 index 0000000..e980c70 --- /dev/null +++ b/templates/Includes/DocumentationHead.ss @@ -0,0 +1,9 @@ + + <% base_tag %> + + <% if Title %>$Title – <% end_if %>$DocumentationTitle + + + + + \ No newline at end of file