* [sup-website.git] 01/04: make hashes line up on the releases page
2026-10-31 2:39 [sup-website.git] branch master updated (1238c53 -> ee75780) Dan Callaghan
@ 2026-10-31 2:39 ` Dan Callaghan
2026-10-31 2:39 ` [sup-website.git] 02/04: apply the same stylistic variants to monospace as in proportional Dan Callaghan
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Dan Callaghan @ 2026-10-31 2:39 UTC (permalink / raw)
To: sup-commits
New commit on branch master:
https://supmua.dev/git/sup-website/commit/90e5197a0428fe32c7793cf2b5453130a45275f7.html
commit 90e5197a0428fe32c7793cf2b5453130a45275f7
Author: Dan Callaghan <djc@djc.id.au>
AuthorDate: Sat Oct 31 11:36:59 2026 +1100
make hashes line up on the releases page
---
releases/index.md | 4 ++--
stylesheets/stylesheet.css | 7 +++++--
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/releases/index.md b/releases/index.md
index d9dc433..22d2985 100644
--- a/releases/index.md
+++ b/releases/index.md
@@ -11,5 +11,5 @@ in the Sup source code.
{% for release in site.data.releases -%}
* [sup-{{ release.version }}.gem](sup-{{ release.version }}.gem) {{ release.date | date: "%d %B %Y" }}
- SHA256: {{ release.sha256 }}
-{%- endfor %}
+ SHA256: `{{ release.sha256 }}`
+{% endfor %}
diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css
index 81464ea..125b0c5 100644
--- a/stylesheets/stylesheet.css
+++ b/stylesheets/stylesheet.css
@@ -186,13 +186,16 @@ blockquote {
border-left: 1px dotted #666;
}
+tt, pre, code {
+ font-family: "Iosevka SS09 Web", monospace;
+}
+
tt.code, pre.code {
+ font-weight: 400;
color: #b5e853;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
0 0 5px rgba(181, 232, 83, 0.1),
0 0 10px rgba(181, 232, 83, 0.1);
- font-family: "Iosevka SS09 Web", monospace;
- font-weight: 400;
}
pre.code {
background: rgba(0, 0, 0, 0.9);
^ permalink raw reply related [flat|nested] 5+ messages in thread* [sup-website.git] 02/04: apply the same stylistic variants to monospace as in proportional
2026-10-31 2:39 [sup-website.git] branch master updated (1238c53 -> ee75780) Dan Callaghan
2026-10-31 2:39 ` [sup-website.git] 01/04: make hashes line up on the releases page Dan Callaghan
@ 2026-10-31 2:39 ` Dan Callaghan
2026-10-31 2:39 ` [sup-website.git] 03/04: add rudimentary alt text to screenshots Dan Callaghan
2026-10-31 2:39 ` [sup-website.git] 04/04: use <kbd> element for keys Dan Callaghan
3 siblings, 0 replies; 5+ messages in thread
From: Dan Callaghan @ 2026-10-31 2:39 UTC (permalink / raw)
To: sup-commits
New commit on branch master:
https://supmua.dev/git/sup-website/commit/af1aa44d3b96edb1a97b20eee59b73e9e4589b6b.html
commit af1aa44d3b96edb1a97b20eee59b73e9e4589b6b
Author: Dan Callaghan <djc@djc.id.au>
AuthorDate: Sat Oct 31 11:39:42 2026 +1100
apply the same stylistic variants to monospace as in proportional
---
_plugins/webfonts.nix | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/_plugins/webfonts.nix b/_plugins/webfonts.nix
index 84b42eb..765ba2f 100644
--- a/_plugins/webfonts.nix
+++ b/_plugins/webfonts.nix
@@ -54,6 +54,11 @@ in
webfontFormats = ["WOFF2"]
[buildPlans.Iosevka.variants]
inherits = "ss09"
+ [buildPlans.Iosevka.variants.design]
+ f = "narrow-serifless-crossbar-at-x-height"
+ i = "serifed-flat-tailed"
+ r = "narrow-hook-serifless"
+ t = "flat-hook-short-neck"
[buildPlans.Iosevka.weights]
Light = "default.Light"
Regular = "default.Regular"
^ permalink raw reply related [flat|nested] 5+ messages in thread* [sup-website.git] 03/04: add rudimentary alt text to screenshots
2026-10-31 2:39 [sup-website.git] branch master updated (1238c53 -> ee75780) Dan Callaghan
2026-10-31 2:39 ` [sup-website.git] 01/04: make hashes line up on the releases page Dan Callaghan
2026-10-31 2:39 ` [sup-website.git] 02/04: apply the same stylistic variants to monospace as in proportional Dan Callaghan
@ 2026-10-31 2:39 ` Dan Callaghan
2026-10-31 2:39 ` [sup-website.git] 04/04: use <kbd> element for keys Dan Callaghan
3 siblings, 0 replies; 5+ messages in thread
From: Dan Callaghan @ 2026-10-31 2:39 UTC (permalink / raw)
To: sup-commits
New commit on branch master:
https://supmua.dev/git/sup-website/commit/9b27813b5b455a4b64198baf8534ddfca9fc72ad.html
commit 9b27813b5b455a4b64198baf8534ddfca9fc72ad
Author: Dan Callaghan <djc@djc.id.au>
AuthorDate: Sat Oct 31 11:50:06 2026 +1100
add rudimentary alt text to screenshots
---
_plugins/responsive_images.rb | 12 +++++++++---
index.md | 4 +++-
screenshots/index.md | 28 +++++++++++++++++++++-------
3 files changed, 33 insertions(+), 11 deletions(-)
diff --git a/_plugins/responsive_images.rb b/_plugins/responsive_images.rb
index 94410ea..7114d90 100644
--- a/_plugins/responsive_images.rb
+++ b/_plugins/responsive_images.rb
@@ -1,3 +1,4 @@
+require 'cgi'
require 'open3'
def run_command *args
@@ -36,8 +37,11 @@ end
class ResponsiveImageTag < Liquid::Tag
def initialize tag_name, markup, tokens
super
- @src, *options = markup.split
- @lazy = options.include? "lazy"
+ @src = markup.split.first
+ @attributes = {}
+ markup.scan(Liquid::TagAttributes) do |key, value|
+ @attributes[key] = Liquid::Expression.parse value
+ end
end
def render context
@@ -51,7 +55,9 @@ class ResponsiveImageTag < Liquid::Tag
srcset = image[:widths].map { |w| "#{base}-#{w}w#{ext} #{w}w" }
srcset << "#{@src} #{image[:width]}w"
attrs = %(src="#{@src}" width="#{image[:width]}" height="#{image[:height]}" srcset="#{srcset.join(", ")}")
- attrs << (@lazy ? %( loading="lazy" sizes="auto, 100vw") : %( sizes="100vw"))
+ alt = context.evaluate @attributes["alt"]
+ attrs << %( alt="#{CGI.escapeHTML alt.to_s}") unless alt.nil?
+ attrs << (context.evaluate(@attributes["lazy"]) ? %( loading="lazy" sizes="auto, 100vw") : %( sizes="100vw"))
"<img #{attrs}>"
end
diff --git a/index.md b/index.md
index 86b3ff7..644cad3 100644
--- a/index.md
+++ b/index.md
@@ -9,7 +9,9 @@ It supports a very fast full-text search, automatic contact-list management, cus
If you're the type of person who treats email as an extension of your long-term memory, Sup is for you.
-<a href="screenshots/1.4/inbox.png">{% responsive_img screenshots/1.4/inbox.png %}</a>
+<a href="screenshots/1.4/inbox.png">
+ {% responsive_img screenshots/1.4/inbox.png alt: "Screenshot of Sup’s inbox-mode, showing a list of email threads." %}
+</a>
## Installation
Install the sup rubygem and run the sup-config utility to build a configuration:
diff --git a/screenshots/index.md b/screenshots/index.md
index c638389..1ca77c5 100644
--- a/screenshots/index.md
+++ b/screenshots/index.md
@@ -3,45 +3,59 @@ title: sup screenshots
layout: gallery
---
<figure>
- <a href="1.4/inbox.png">{% responsive_img 1.4/inbox.png lazy %}</a>
+ <a href="1.4/inbox.png">
+ {% responsive_img 1.4/inbox.png alt: "Screenshot of Sup’s inbox-mode, showing a list of email threads." lazy: true %}
+ </a>
<figcaption>
Sup starts in inbox-mode: a list of threads tagged <tt class="code">inbox</tt>.
</figcaption>
</figure>
<figure>
- <a href="1.4/search-results.png">{% responsive_img 1.4/search-results.png lazy %}</a>
+ <a href="1.4/search-results.png">
+ {% responsive_img 1.4/search-results.png alt: "Screenshot of Sup’s search-results-mode, showing a list of email threads matching a search query for “maildir”." lazy: true %}
+ </a>
<figcaption>
<a href="https://github.com/sup-heliotrope/sup/wiki/Searching-Your-Mail">Search your mail</a>
and Sup displays a list of matching threads in search-results-mode.
</figcaption>
</figure>
<figure>
- <a href="1.4/thread-view.png">{% responsive_img 1.4/thread-view.png lazy %}</a>
+ <a href="1.4/thread-view.png">
+ {% responsive_img 1.4/thread-view.png alt: "Screenshot of Sup’s thread-view-mode, showing a hierarchy of email messages." lazy: true %}
+ </a>
<figcaption>
In thread-view-mode, read messages are collapsed to a single line by default.
</figcaption>
</figure>
<figure>
- <a href="1.4/reply.png">{% responsive_img 1.4/reply.png lazy %}</a>
+ <a href="1.4/reply.png">
+ {% responsive_img 1.4/reply.png alt: "Screenshot of Sup’s reply-mode, showing email headers and a quoted reply as the body." lazy: true %}
+ </a>
<figcaption>
When replying to a message, reply-mode is pre-populated with quoted text.
Press <tt class="code">Enter</tt> to edit the reply in your preferred editor.
</figcaption>
</figure>
<figure>
- <a href="1.4/help.png">{% responsive_img 1.4/help.png lazy %}</a>
+ <a href="1.4/help.png">
+ {% responsive_img 1.4/help.png alt: "Screenshot of Sup’s help-mode, showing a list of key bindings." lazy: true %}
+ </a>
<figcaption>
Press <tt class="code">?</tt> in any mode to see the key bindings for the current mode.
</figcaption>
</figure>
<figure>
- <a href="1.4/log.png">{% responsive_img 1.4/log.png lazy %}</a>
+ <a href="1.4/log.png">
+ {% responsive_img 1.4/log.png alt: "Screenshot of Sup’s log-mode, showing debug log messages produced by Sup." lazy: true %}
+ </a>
<figcaption>
The log-mode buffer shows Sup’s internal log messages for debugging purposes.
</figcaption>
</figure>
<figure>
- <a href="1.4/console.png">{% responsive_img 1.4/console.png lazy %}</a>
+ <a href="1.4/console.png">
+ {% responsive_img 1.4/console.png alt: "Screenshot of Sup’s console-mode, showing a Ruby REPL which has evaluated some Ruby expressions." lazy: true %}
+ </a>
<figcaption>
Sup has a built-in interactive Ruby console.
It can access Sup internal Ruby objects.
^ permalink raw reply related [flat|nested] 5+ messages in thread* [sup-website.git] 04/04: use <kbd> element for keys
2026-10-31 2:39 [sup-website.git] branch master updated (1238c53 -> ee75780) Dan Callaghan
` (2 preceding siblings ...)
2026-10-31 2:39 ` [sup-website.git] 03/04: add rudimentary alt text to screenshots Dan Callaghan
@ 2026-10-31 2:39 ` Dan Callaghan
3 siblings, 0 replies; 5+ messages in thread
From: Dan Callaghan @ 2026-10-31 2:39 UTC (permalink / raw)
To: sup-commits
New commit on branch master:
https://supmua.dev/git/sup-website/commit/ee75780e582dad80105f791bd17759242296b63a.html
commit ee75780e582dad80105f791bd17759242296b63a
Author: Dan Callaghan <djc@djc.id.au>
AuthorDate: Sat Oct 31 11:51:43 2026 +1100
use <kbd> element for keys
Not sure if this is really right but MDN implies this would be more
correct than using <tt>. Not that it seems to really matter. Shrug.
---
screenshots/index.md | 6 +++---
stylesheets/stylesheet.css | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/screenshots/index.md b/screenshots/index.md
index 1ca77c5..986711a 100644
--- a/screenshots/index.md
+++ b/screenshots/index.md
@@ -7,7 +7,7 @@ layout: gallery
{% responsive_img 1.4/inbox.png alt: "Screenshot of Sup’s inbox-mode, showing a list of email threads." lazy: true %}
</a>
<figcaption>
- Sup starts in inbox-mode: a list of threads tagged <tt class="code">inbox</tt>.
+ Sup starts in inbox-mode: a list of threads tagged <kbd>inbox</kbd>.
</figcaption>
</figure>
<figure>
@@ -33,7 +33,7 @@ layout: gallery
</a>
<figcaption>
When replying to a message, reply-mode is pre-populated with quoted text.
- Press <tt class="code">Enter</tt> to edit the reply in your preferred editor.
+ Press <kbd>Enter</kbd> to edit the reply in your preferred editor.
</figcaption>
</figure>
<figure>
@@ -41,7 +41,7 @@ layout: gallery
{% responsive_img 1.4/help.png alt: "Screenshot of Sup’s help-mode, showing a list of key bindings." lazy: true %}
</a>
<figcaption>
- Press <tt class="code">?</tt> in any mode to see the key bindings for the current mode.
+ Press <kbd>?</kbd> in any mode to see the key bindings for the current mode.
</figcaption>
</figure>
<figure>
diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css
index 125b0c5..7ed2063 100644
--- a/stylesheets/stylesheet.css
+++ b/stylesheets/stylesheet.css
@@ -186,11 +186,11 @@ blockquote {
border-left: 1px dotted #666;
}
-tt, pre, code {
+tt, pre, code, kbd {
font-family: "Iosevka SS09 Web", monospace;
}
-tt.code, pre.code {
+tt.code, pre.code, kbd {
font-weight: 400;
color: #b5e853;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
^ permalink raw reply related [flat|nested] 5+ messages in thread