mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
More more of the page to replacable includes.
This commit is contained in:
parent
be9eef83b4
commit
93dc64c480
@ -1,36 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<% base_tag %>
|
||||
<meta charset="utf-8" />
|
||||
<title><% if Title %>$Title – <% end_if %>$DocumentationTitle</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<div id="layout" class="clearfix">
|
||||
<% include DocumentationSidebar %>
|
||||
<% include DocumentationHead %>
|
||||
|
||||
<div id="content">
|
||||
$Layout
|
||||
|
||||
<% include DocumentationFooter %>
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
<div id="layout" class="clearfix">
|
||||
<% include DocumentationSidebar %>
|
||||
|
||||
<div id="content">
|
||||
$Layout
|
||||
|
||||
<% include DocumentationFooter %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<% if GoogleAnalyticsCode %>
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
<% if GoogleAnalyticsCode %>
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', '$GoogleAnalyticsCode', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
<% end_if %>
|
||||
</body>
|
||||
ga('create', '$GoogleAnalyticsCode', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
<% end_if %>
|
||||
|
||||
<% include DocumentationEnd %>
|
||||
</html>
|
||||
|
1
templates/Includes/DocumentationEnd.ss
Normal file
1
templates/Includes/DocumentationEnd.ss
Normal file
@ -0,0 +1 @@
|
||||
</body>
|
9
templates/Includes/DocumentationHead.ss
Normal file
9
templates/Includes/DocumentationHead.ss
Normal file
@ -0,0 +1,9 @@
|
||||
<head>
|
||||
<% base_tag %>
|
||||
<meta charset="utf-8" />
|
||||
<title><% if Title %>$Title – <% end_if %>$DocumentationTitle</title>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
Loading…
Reference in New Issue
Block a user