29 lines
1.1 KiB
HTML
29 lines
1.1 KiB
HTML
{% extends "blogs/themes/pro-adams/base.html" %}
|
|
|
|
{% block body-class %}detail{% endblock %}
|
|
|
|
{% block page-title %}// {{ snipt.title }} {{ block.super }}{% endblock %}
|
|
|
|
{% block content %}
|
|
{% with 'true' as detail %}
|
|
{% include "blogs/themes/pro-adams/snipt-list.html" %}
|
|
{% endwith %}
|
|
<div id="disqus_thread"></div>
|
|
<script type="text/javascript">
|
|
var disqus_shortname = 'snipt-net';
|
|
{% if debug %}
|
|
var disqus_developer = 1;
|
|
{% endif %}
|
|
var disqus_url = '{{ snipt.get_full_absolute_url }}{% if not snipt.public %}?key={{ snipt.key }}{% endif %}';
|
|
var disqus_title = '{{ snipt.title }}';
|
|
var disqus_identifier = {{ snipt.id }};
|
|
|
|
(function() {
|
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
|
dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
|
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
|
})();
|
|
</script>
|
|
{% endblock %}
|
|
|