aboutsummaryrefslogtreecommitdiffstats
path: root/site/_layouts/base.html
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2016-11-08 12:39:57 +0100
committerStephane Desneux <stephane.desneux@iot.bzh>2016-11-10 14:53:01 +0100
commitc530e84843444a40804e0c2b038c2ec53fe411b2 (patch)
tree1a9eebf49fd85027ba472bad8c178d686bad8d56 /site/_layouts/base.html
webdocs-agl: added developer website template
Change-Id: I4a45ee0ad5dd0c29a6d6876a0e02cd5550c010e9 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'site/_layouts/base.html')
-rw-r--r--site/_layouts/base.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/site/_layouts/base.html b/site/_layouts/base.html
new file mode 100644
index 0000000..db0c8c7
--- /dev/null
+++ b/site/_layouts/base.html
@@ -0,0 +1,18 @@
+---
+analytics_id: {{ site.ganalytics }}
+---
+
+<!DOCTYPE html>
+<html lang="{% if page.language %}{{ page.language }}{% else %}{{ site.language }}{% endif %}">
+{% include head.html %}
+<body>
+ {{ content }}
+ <script defer type="text/javascript" src="{{ site.baseurl }}/static/js/twitter.js"></script>
+ {% include algolia.html %}
+
+ {% for script in layout.scripts %}
+ <script src="{{ site.baseurl }}/static/js/{{script}}"></script>
+ {% endfor %}
+
+</body>
+</html>