1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-11-09 13:16:45 +00:00

Moved comments section to their own include.

This commit is contained in:
Markus Birth 2015-06-28 02:00:37 +02:00
parent e0ee3df5eb
commit cfbbe72c4f
2 changed files with 3 additions and 3 deletions

2
_includes/comments.html Normal file
View File

@ -0,0 +1,2 @@
<script src="//apis.google.com/js/plusone.js" type="text/javascript"></script>
<div class="g-comments" data-href="{{ site.url }}{{ page.url }}" data-width="900" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ comments...</div>

View File

@ -92,8 +92,7 @@
{% endif %} {% endif %}
{% endcomment %} {% endcomment %}
<section id="comments"> <section id="comments">
<script src="//apis.google.com/js/plusone.js" type="text/javascript"></script> {% include comments.html %}
<div class="g-comments" data-href="{{ site.url }}{{ page.url }}" data-width="900" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ comments...</div>
</section> </section>
</div> </div>
@ -109,4 +108,3 @@
<!-- END: Google Analytics --> <!-- END: Google Analytics -->
</body> </body>
</html> </html>