How to setup this site yourself
This site was built using Jekyll. You might want to check the setup guide to build something more accustomed to your needs.
However, if you’re curious about this specific one (e.g. future me)
Theme setup #
git clone https://github.com/manuelmazzuola/asko # forked: https://github.com/panpan2/asko
cd asko
bundle install
# Update kramdown to 2.3.1
gem install kramdown
bundle lock --update
MathJax support #
On the top of each post add usemathjax: true
Now add the following to _includes/head.html
:
<!-- for mathjax support -->
{% if page.usemathjax %}
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
TeX: { equationNumbers: { autoNumber: "AMS" } }
});
</script>
<script
type="text/javascript"
async
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"
></script>
{% endif %}
Render LaTex $$E=mc^2$$
: \(E=mc^2\)
Let’s build this #
bundle exec jekyll serve
Write, write, write #
# Add a new post
touch _posts/2021-04-19-Another-one.md
# Write more posts :)