Skip to content

Commit

Permalink
Adds mathjax to website.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdahis committed Jan 16, 2018
1 parent 1478d84 commit b8c81c7
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 7 deletions.
7 changes: 6 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,15 @@ google_analytics: UA-106568021-1

# Build settings
markdown: kramdown
theme: minima
# theme: minima
theme: minimal-mistakes-jekyll
plugins:
- jekyll-feed

# Extras
mathjax: true


# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
# to override the default setting.
Expand Down
20 changes: 20 additions & 0 deletions _includes/mathjax.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
processEscapes: true
}
});
</script>
<script
type="text/javascript"
charset="utf-8"
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
>
</script>
<script
type="text/javascript"
charset="utf-8"
src="https://vincenttam.github.io/javascripts/MathJaxLocal.js"
>
</script>
2 changes: 2 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">

{% include mathjax.html %}

{% include head.html %}

<body>
Expand Down
1 change: 1 addition & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ <h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
{% if site.disqus.shortname %}
{% include disqus_comments.html %}
{% endif %}

</article>
12 changes: 6 additions & 6 deletions _posts/2017-07-27-criterios.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ categories: conversations, policy
Quais deveriam ser os critérios mínimos pra levarmos a sério qualquer interlocutor em conversas/discussões/debates?

Minha lista:
Ter discurso restrito por fatos do Universo e regras de inferência lógica.
Não cometer falácias lógicas.
Ter treinamento em inferência causal.
Ter sempre uma resposta para “Qual evidência te faria mudar de opinião?”.
Ser capaz de dizer “Não sei.” e “Minhas fontes são: “.
- Ter discurso restrito por fatos do Universo e regras de inferência lógica.
- Não cometer falácias lógicas.
- Ter treinamento em -- ou ao menos boas intuições sobre -- inferência causal.
- Ter sempre uma resposta para “Qual evidência te faria mudar de opinião?”.
- Ser capaz de dizer “Não sei.” e “Minhas fontes são: “.

Para fora disso, não perco mais meu tempo. E só rezo pra que não virem responsáveis por políticas públicas que afetem a nós todos e as futuras gerações.
Para fora disso, não perco mais meu tempo. E só rezo pra que não virem responsáveis por políticas públicas que afetem a todos nós e as futuras gerações.

0 comments on commit b8c81c7

Please sign in to comment.