Shortcode Collection
- Hugo native shortcodes
- Embed Google Presentation
- <code>figure</code> & <code>gallery</code>
- Insert HTML in Markdown
- Tooltips
Enable MathJax
Add following lines into theme/<theme>/layout/partials/math.html
<script
src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
type="text/javascript"
></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: {inlineMath: [['$','$']]} });
</script>
and put following lines in any template that the target page used:
{{ if or .Params.math .Site.Params.math }}
{{ partial "math.html" . }}
{{ end }}
and then put the parameter math: true
in the header of the article page to enable MathJax.
Simple SEO
- configure sitemap
and provide the URL of sitemap (e.g.
<host>/sitemap/
) to Google Search Console . - Already done by the theme I used:
- Integrate with Google Analytics.
- Configure Open Graph tags.