Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

template index.html comments + GA

  • Loading branch information...
commit 40002a0868b2c69f7bf9c365c584959dd47ec454 1 parent 1ab73e3
@hughsk hughsk authored
View
8 gh-pages/index.html
@@ -268,5 +268,13 @@ <h1 class="kss-title kss-title-main"> Overview </h1>
});
</script>
+
+
+
+ <script type="text/javascript">
+ var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-12249588-4']); _gaq.push(['_trackPageview']);
+ (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
+ </script>
+
</div></body>
</html>
View
11 gh-pages/section-1.html
@@ -38,6 +38,7 @@
<article id="kss-content">
+
<h1 class="kss-title" id="kss-title-main"><span class="kss-ref">1.0</span> - Modules</h1>
<p>Reusable elements that can be used across the site.
@@ -45,6 +46,8 @@ <h1 class="kss-title" id="kss-title-main"><span class="kss-ref">1.0</span> - Mod
+
+
<section class="kss-depth-2">
@@ -159,5 +162,13 @@ <h1 class="kss-title" id="kss-title-main"><span class="kss-ref">1.0</span> - Mod
});
</script>
+
+
+
+ <script type="text/javascript">
+ var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-12249588-4']); _gaq.push(['_trackPageview']);
+ (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
+ </script>
+
</div></body>
</html>
View
11 gh-pages/section-2.html
@@ -38,6 +38,7 @@
<article id="kss-content">
+
<h1 class="kss-title" id="kss-title-main"><span class="kss-ref">2.0</span> - Forms</h1>
<p>Covers styles used for forms, such as the <code>&lt;input&gt;</code> and <code>&lt;select&gt;</code>
@@ -45,6 +46,8 @@ <h1 class="kss-title" id="kss-title-main"><span class="kss-ref">2.0</span> - For
+
+
<section class="kss-depth-2">
@@ -201,5 +204,13 @@ <h1 class="kss-title"><span class="kss-ref">2.1</span> - Text Input</h1>
});
</script>
+
+
+
+ <script type="text/javascript">
+ var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-12249588-4']); _gaq.push(['_trackPageview']);
+ (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
+ </script>
+
</div></body>
</html>
View
15 lib/template/index.html
@@ -37,12 +37,19 @@
{{#if overview}}
{{html overview}}
{{else}}
+ {{! Top Page Heading }}
{{#section rootNumber}}
<h1 class="kss-title" id="kss-title-main"><span class="kss-ref">{{ reference }}.0</span>{{#if header}} - {{ header }}{{/if}}</h1>
{{#if description}}
{{html description}}
{{/if}}
{{/section}}
+
+ {{!
+ Find each section, in order.
+ If there's no markup or modifiers supplied, use a Markdown-only
+ layout instead.
+ }}
{{#eachSection rootNumber}}
{{#ifAny markup modifiers}}
<section class="kss-depth-{{ refDepth }}">
@@ -112,5 +119,13 @@ <h1 class="kss-title"><span class="kss-ref">{{ reference }}</span> - {{ header }
});
</script>
+
+ {{! This won't be included in the demo page }}
+ {{#if argv.xdemo}}
+ <script type="text/javascript">
+ var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-12249588-4']); _gaq.push(['_trackPageview']);
+ (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
+ </script>
+ {{/if}}
</div></body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.