Browse Source

Move Twitter widgets.js to article template

restyle-spring-2019
Annika Backstrom 1 year ago
parent
commit
4ac94cc4e2
2 changed files with 6 additions and 1 deletions
  1. 4
    0
      themes/histrionic/templates/article.html
  2. 2
    1
      themes/histrionic/templates/base.html

+ 4
- 0
themes/histrionic/templates/article.html View File

@@ -38,3 +38,7 @@
</article>
</div>
{% endblock %}

{% block scripts_footer %}
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
{% endblock %}

+ 2
- 1
themes/histrionic/templates/base.html View File

@@ -80,6 +80,7 @@
</script>
{% endif %}

<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
{% block scripts_footer %}
{% endblock %}
</body>
</html>

Loading…
Cancel
Save