Hematite Theme Hematite Theme

Recent Posts Widget

With version 0.1.16 of the Hematite theme comes a “recent posts” widget. Writing

# Recent posts

{% include recent_posts.html %}

renders as

  • Recent Posts Widget

    With version 0.1.16 of the Hematite theme comes a “recent posts” widget. Writing ```markdown # Recent posts {% raw %}{% include recent_posts.html %}{% endraw %} ``` renders as {% include rece...

  • Quick Setup — GitHub Pages

    For more general quickstart instructions, see the Quickstart guide. Steps Follow the instructions on jekyllrb.com to create a new static site. Open Gemfile in your new site and comment out t...

  • Testing Table Styles

    12345 Testing... # This is a test, this function is being used to fill space. def foo(): pass ;;;; \(f^{(n)}(z) = \frac{n!}{2πi}\oint_{|z-z_0|=\rho} ...

  • Remark and Mermaid

    The upcoming release of Hematite comes with Mermaid-js bundled! To enable it (like \(\KaTeX\)), add mermaid: true to your frontmatter. For example, on this page, --- layout: post title: "Remark an...

  • Configuring User-Configurable Settings

    The Hematite theme comes with a user-configurable settings page. Settings are stored using localStorage. The settings GUI looks like this <!-- Include the settings GUI in a page with t...

  • Custom Site Icon

    Favicons can be set for both individual pages and the entire site with the favicon_url option. For example, this page has frontmatter, --- layout: post title: Custom Site Favicon favicon_url: asset...

  • Example post 3

    The Hematite theme supports creating blog posts. It now supports tags! Try clicking on one of the tags associated with this document.

  • Example post 2

    Pages can now be excluded from internal search indexing! To do this, add noindex: true to the header of a page. Any value of noindex that is not nil will prevent a page from being indexed. Note th...

Showing a different number of recent posts

To limit the number of recent posts to two,


{% assign recent_post_limit = 2 %}
{% include recent_posts.html %}