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 05 Sep 2022
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 22 Aug 2022
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 28 May 2022
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 23 May 2022
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 20 May 2022
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 20 May 2022
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 16 May 2022
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 16 May 2022
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 %}