1
0
mirror of synced 2024-11-22 21:16:10 +03:00
select2/docs/_layouts/default.html
Florian Kissling df2122c00f Add anchor.js for pages using the default layout.
* adds styles for anchor.js (similar to the official Bootstrap docs)
 * currently results some of the generated links to have a suffix (e. g. examples.html#templating-1) added due to sections having the same ID as the headline copy that we want to link to
2015-04-09 20:27:45 +02:00

30 lines
900 B
HTML

<!doctype html>
<html>
<head>
{% include head.html %}
</head>
<body>
{% include navigation.html %}
{{ content }}
{% include footer.html %}
<script>
(function () {
'use strict';
addAnchors('.container h1, .container h2, .container h3, .container h4, .container h5');
})();
</script>
<script type="text/javascript">
(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', 'UA-57144786-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>