Sha256: d6da0f56f61fdc5ffc86bdd48960cedccc6703b120899db5e6ab4ddf3cad724f

Contents?: true

Size: 1.29 KB

Versions: 3

Compression:

Stored size: 1.29 KB

Contents

<div class="row">
    <div class="container">
        {% if page.comments %}
        <div id="disqus_thread"></div>
        <script>
            var disqus_config = function () {
                this.page.url = '{{ site.url }}{{site.baseurl}}{{page.url}}';
                this.page.identifier = '{{ site.url }}{{site.baseurl}}{{ page.url }}';
            };

            {% assign u1 = site.url | replace: ".", "-" %}
            {% assign u2 = u1 | replace: "https://", "" %}
            {% if site.baseurl ~= "" %}
                {% assign b1 = site.baseurl | replace: ".", "-" | replace: "/", "-" %}
            {% endif %}

            {% assign u3 = u2 | replace: "http://", "" %}
            {% assign disqueurl = u3 | append: b1 %}

            (function () { // DON'T EDIT BELOW THIS LINE
                var d = document, s = d.createElement('script');
                s.src = 'https://{{ disqueurl }}.disqus.com/embed.js';
                s.setAttribute('data-timestamp', +new Date());
                (d.head || d.body).appendChild(s);
            })();
        </script>
        <noscript>Please enable JavaScript to view the
            <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
        </noscript>

        {% endif %}

    </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
conference-mgeek.in-jekyll-theme-0.3.03 _includes/disqus.html
conference-mgeek.in-jekyll-theme-0.3.01 _includes/disqus.html
conference-mgeek.in-jekyll-theme-0.3.00 _includes/disqus.html