mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 09:05:56 +00:00
More more of the page to replacable includes.
This commit is contained in:
parent
be9eef83b4
commit
93dc64c480
@ -1,36 +1,32 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<% include DocumentationHead %>
|
||||||
<% base_tag %>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<title><% if Title %>$Title – <% end_if %>$DocumentationTitle</title>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
<div class="wrapper">
|
||||||
<div class="wrapper">
|
<div id="layout" class="clearfix">
|
||||||
<div id="layout" class="clearfix">
|
<% include DocumentationSidebar %>
|
||||||
<% include DocumentationSidebar %>
|
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
$Layout
|
$Layout
|
||||||
|
|
||||||
<% include DocumentationFooter %>
|
<% include DocumentationFooter %>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<% if GoogleAnalyticsCode %>
|
<% if GoogleAnalyticsCode %>
|
||||||
<script>
|
<script>
|
||||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
(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),
|
(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)
|
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');
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||||
|
|
||||||
ga('create', '$GoogleAnalyticsCode', 'auto');
|
ga('create', '$GoogleAnalyticsCode', 'auto');
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
</script>
|
</script>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</body>
|
|
||||||
|
<% include DocumentationEnd %>
|
||||||
</html>
|
</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…
x
Reference in New Issue
Block a user