Skip to content

Commit

Permalink
Fixing KateX rendering #24
Browse files Browse the repository at this point in the history
  • Loading branch information
sylhare committed Nov 18, 2017
1 parent cd05fa3 commit da1f6da
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ sass:
sass_dir: _sass
style: :compressed
plugins: [jekyll-paginate, jekyll-seo-tag]
theme: type-on-strap # If using the theme as a jekyll theme gem
#theme: type-on-strap # If using the theme as a jekyll theme gem
exclude: ["Gemfile", "Gemfile.lock", "type-on-strap.gemspec", "*.gem", "LICENSE", "README.md", "screenshot.png"]
12 changes: 6 additions & 6 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script src="{{ site.baseurl }}/assets/js/jquery-3.2.1.min.js" ></script>

<!-- Main JS (navbar.js and katex_init.js)-->
<script src="{{ site.baseurl }}/assets/js/main.min.js"></script>
<script defer=true src="{{ site.baseurl }}/assets/js/main.min.js"></script>

<!-- CSS -->
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css">
Expand Down Expand Up @@ -61,9 +61,9 @@

<!-- seo tags -->
{% seo %}
<!-- Manual seo tags -->
<!--
<title>{% if page.title %}{{ page.title }} |{% endif %} {{ site.theme_settings.title }}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.theme_settings.description }}{% endif %}">
-->
<!-- Manual seo tags -->
<!--
<title>{% if page.title %}{{ page.title }} |{% endif %} {{ site.theme_settings.title }}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.theme_settings.description }}{% endif %}">
-->
</head>
2 changes: 1 addition & 1 deletion _posts/2014-11-28-markdown-and-html.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ while (j < 20) {
}
{% endhighlight %}

Type Theme uses KaTeX to display maths. Equations such as $$S_n = a \times \frac{1-r^n}{1-r}$$ can be displayed inline.
Type on Strap uses KaTeX to display maths. Equations such as $$S_n = a \times \frac{1-r^n}{1-r}$$ can be displayed inline.

Alternatively, they can be shown on a new line:

Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions pages/404.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ title: "404 Page not found"
permalink: /404.html
hide: true
---

Sorry, the requested page wasn't found on the server.

0 comments on commit da1f6da

Please sign in to comment.