Skip to content

Commit

Permalink
Comments on estudo física
Browse files Browse the repository at this point in the history
  • Loading branch information
itf committed Mar 10, 2018
1 parent 45fe7d3 commit 480e65e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
2 changes: 2 additions & 0 deletions _config.yml
Expand Up @@ -19,6 +19,8 @@ url: "http://olimpiadascientificas.com" # the base hostname & protocol for your
twitter_username: OCientificas
github_username: OlimpiadasCientificas/olimpiadascientificas.github.io

disqus-shortname: olimpiadascientificas-com

# Build settings
markdown: kramdown

Expand Down
14 changes: 14 additions & 0 deletions _includes/comments.html
@@ -0,0 +1,14 @@
{% if site.disqus-shortname %}
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '{{ site.disqus-shortname }}';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
{% endif %}
5 changes: 4 additions & 1 deletion _layouts/page.html
Expand Up @@ -10,5 +10,8 @@ <h1 class="post-title">{{ page.title }}</h1>
<div class="post-content">
{{ content }}
</div>

</article>
{% if page.comments %}
{% include comments.html %}
{% endif %}

3 changes: 2 additions & 1 deletion estudo/fisica/index.md
Expand Up @@ -3,7 +3,8 @@ layout: page
title: Física
author:
display_name: Ivan Tadeu Ferreira Antunes Filho

ano: 2015
comments: true
---

# Estudo de Física
Expand Down

0 comments on commit 480e65e

Please sign in to comment.