Skip to content

Commit b8c81c7

Browse files
committedJan 16, 2018
Adds mathjax to website.
1 parent 1478d84 commit b8c81c7

File tree

5 files changed

+35
-7
lines changed

5 files changed

+35
-7
lines changed
 

‎_config.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,15 @@ google_analytics: UA-106568021-1
3030

3131
# Build settings
3232
markdown: kramdown
33-
theme: minima
33+
# theme: minima
34+
theme: minimal-mistakes-jekyll
3435
plugins:
3536
- jekyll-feed
3637

38+
# Extras
39+
mathjax: true
40+
41+
3742
# Exclude from processing.
3843
# The following items will not be processed, by default. Create a custom list
3944
# to override the default setting.

‎_includes/mathjax.html

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<script type="text/x-mathjax-config">
2+
MathJax.Hub.Config({
3+
tex2jax: {
4+
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
5+
processEscapes: true
6+
}
7+
});
8+
</script>
9+
<script
10+
type="text/javascript"
11+
charset="utf-8"
12+
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
13+
>
14+
</script>
15+
<script
16+
type="text/javascript"
17+
charset="utf-8"
18+
src="https://vincenttam.github.io/javascripts/MathJaxLocal.js"
19+
>
20+
</script>

‎_layouts/default.html

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<!DOCTYPE html>
22
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
33

4+
{% include mathjax.html %}
5+
46
{% include head.html %}
57

68
<body>

‎_layouts/post.html

+1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ <h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
2222
{% if site.disqus.shortname %}
2323
{% include disqus_comments.html %}
2424
{% endif %}
25+
2526
</article>

‎_posts/2017-07-27-criterios.markdown

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ categories: conversations, policy
88
Quais deveriam ser os critérios mínimos pra levarmos a sério qualquer interlocutor em conversas/discussões/debates?
99

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

17-
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.
17+
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 commit comments

Comments
 (0)
Please sign in to comment.