Add typed.js only in the index page.

This commit is contained in:
Panos Sakkos 2015-10-05 23:50:55 +02:00
parent df3536bf78
commit 75f02f96b0
2 changed files with 5 additions and 3 deletions

View file

@ -93,7 +93,7 @@
{% endif %}
{% if site.dynamic-typing %}
{% if site.dynamic-typing and page.section-type == "index"%}
<!-- Dynamic Typing Start -->
@ -140,7 +140,7 @@
</script>
<!-- Dynamic Typing End -->
{% endif %}
<!-- Javascript End -->

View file

@ -2,4 +2,6 @@
layout: index
section-type: index
---
Hope you are visiting while not in your <a href="http://waitbutwhy.com/2013/10/why-procrastinators-procrastinate.html" target="_blank">Dark Playground</a>
<!--
If you want to have a static message in your intro layout, disable the dynamic-typing in the _config.yml and write here your text
-->