<commit_before># -*- coding: utf-8 -*-
"""
    rstblog.modules.disqus
    ~~~~~~~~~~~~~~~~~~~~~~

    Implements disqus element if asked for.
    
    To use this, include disqus in the list of modules in your config.yml file,
    and add a configuration variable to match your settings : disqus.shortname 
    
    To prevent comments on a particular page, set disqus = no in the page's YAML preamble.

    :copyright: (c) 2012 by <NAME>.
    :license: BSD, see LICENSE for more details.
"""
from jinja2 import contextfunction

@contextfunction
def get_disqus(context):
    disqus_txt="""
<div id="disqus_thread"></div>
<script type="text/javascript">
    var disqus_shortname = '%s'; // required: replace example with your forum shortname

    /* * * DON'T EDIT BELOW THIS LINE * * */
    (function() {
        var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;<commit_msg>Comment tweak<commit_after># -*- coding: utf-8 -*-
"""
    rstblog.modules.disqus
    ~~~~~~~~~~~~~~~~~~~~~~

    Implements disqus element if asked for.
    
    To use this, include disqus in the list of modules in your ``config.yml`` file,
    and add a configuration variable to match your settings : ``disqus.shortname`` 
    
    To prevent comments on a particular page, set ``disqus = no`` in the page's YAML preamble.

    :copyright: (c) 2012 by <NAME>.
    :license: BSD, see LICENSE for more details.
"""
from jinja2 import contextfunction

@contextfunction
def get_disqus(context):
    disqus_txt="""
<div id="disqus_thread"></div>
<script type="text/javascript">
    var disqus_shortname = '%s'; // required: replace example with your forum shortname

    /* * * DON'T EDIT BELOW THIS LINE * * */
    (function() {
        var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
{'fraction_non_alphanumeric': 0.13882863340563992, 'fraction_numerical': 0.006507592190889371, 'mean_word_length': 3.4138755980861246, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4979282', 'n_tokens_mistral': 583, 'n_tokens_neox': 546, 'n_words': 192}