commit ab4a5ec09d5b150e9bf7397885cbf5fc59b828f3
parent 53f07eccef344d06e376f63ddcd41fbca668a746
Author: Dan Callaghan <djc@djc.id.au>
Date: Fri, 3 Apr 2026 16:34:35 +1100
add preceding hash to h2 using CSS instead of writing it out
Diffstat:
4 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/_plugins/stagit.rb b/_plugins/stagit.rb
@@ -7,7 +7,7 @@ def wrap_stagit_output path, header
## Change git repo name from h1 to h2
h = doc.at("h1")
h.name = "h2"
- h.content = "# #{h.content}.git"
+ h.content = "#{h.content}.git"
## Put the git repo name, clone URL, and stagit navigation into a container
nav_section = doc.create_element "section", class: "container wide git" do |e|
diff --git a/index.md b/index.md
@@ -5,7 +5,7 @@ screenshots:
- /images/old_screenshot_3.png
---
-## # [sup](https://github.com/sup-heliotrope/sup/)
+## [sup](https://github.com/sup-heliotrope/sup/)
[Sup](https://github.com/sup-heliotrope/sup/) is a console-based email client for people with a lot of email.
It presents an interface of a list of threads, which are each hierarchical collections email messages.
@@ -19,7 +19,7 @@ If you're the type of person who treats email as an extension of your long-term
</a>
{% endfor %}
-## # Installation
+## Installation
Install the sup rubygem and run the sup-config utility to build a configuration:
<pre>
@@ -29,7 +29,7 @@ $ sup-config
More documentation on getting started [is available in the wiki.](https://github.com/sup-heliotrope/sup/wiki#installation)
-## # Features
+## Features
* Handle massive amounts of email.
* Fast, local full-text index of messages.
* Mix email from different sources: mbox files and maildirs.
diff --git a/releases/index.md b/releases/index.md
@@ -150,7 +150,7 @@ releases:
date: 2006-11-28
sha256: 172e10ce587eaff04c6b15699b2073bbd762e66c52651fed4310b0946a0155ef
---
-## # Releases
+## Releases
For release notes, refer to
[History.txt](https://github.com/sup-heliotrope/sup/blob/master/History.txt)
diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css
@@ -110,6 +110,10 @@ h1, h2, h3, h4, h5, h6 {
0 0 10px rgba(181, 232, 83, 0.1);
}
+h2:before {
+ content: "# ";
+}
+
#main_content h1 {
font-size: 30px;
}