From 7cbd9d7288c930bd18b194f6f604a88486ef517d Mon Sep 17 00:00:00 2001 From: "Spencer C. Imbleau" Date: Mon, 30 Nov 2026 16:48:29 -0500 Subject: [PATCH 01/19] Add an opt-in People of Linebender directory --- README.md | 19 +++++++++++++++++++ content/people/_index.md | 8 ++++++++ content/people/nuzzles.md | 8 ++++++++ templates/base.html | 13 ++++++++----- 4 files changed, 43 insertions(+), 5 deletions(-) create mode 100644 content/people/_index.md create mode 100644 content/people/nuzzles.md diff --git a/README.md b/README.md index 0be71c7b..84125012 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,25 @@ The steps you need to get building the website locally are: 2. Run `zola serve` in a terminal 3. Go to the address logged to the terminal window (usually [localhost:1111](http://localhost:1111)). +## Add your profile + +Anyone who uses or contributes to Linebender projects can join [People of Linebender](https://linebender.org/people/). +Create `content/people/.md` and open a pull request with that one file. +For example: + +```markdown ++++ +title = "Your display name" ++++ + +A short introduction in your own words. You can include links to your projects or website. +``` + +Your filename becomes your public URL at `/people//`. +After merge, the site lists your profile automatically and search engines can index it. +To update or remove your profile, submit a pull request editing or deleting your file. +Earlier versions remain in the public Git history. + # Deployment This website is automatically deployed every time a PR is merged using GitHub Actions. diff --git a/content/people/_index.md b/content/people/_index.md new file mode 100644 index 00000000..a246cd5d --- /dev/null +++ b/content/people/_index.md @@ -0,0 +1,8 @@ ++++ +title = "People of Linebender" +description = "Meet the people who use and build Linebender projects." +sort_by = "title" ++++ + +Meet the people who use and build Linebender projects. +If you’d like to introduce yourself, [add your profile with a pull request](https://github.com/linebender/linebender.github.io/blob/main/README.md#add-your-profile). diff --git a/content/people/nuzzles.md b/content/people/nuzzles.md new file mode 100644 index 00000000..0ace11a9 --- /dev/null +++ b/content/people/nuzzles.md @@ -0,0 +1,8 @@ ++++ +title = "Spencer Imbleau" +description = "Software engineer working on computer graphics and AI systems." ++++ + +I’m a software engineer working on computer graphics and AI systems. + +[Personal website](https://spencer.imbleau.com/) · [@nuzzles on GitHub](https://github.com/nuzzles) diff --git a/templates/base.html b/templates/base.html index 8241a8bc..02d33db8 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,18 +5,20 @@ + {% set title = page.title | default(value=section.title | default(value="")) %} + {% set description = page.description | default(value=section.description | default(value=title)) %} - {% if page.title %}{{page.title}} - {{config.title}}{% else %}| {{config.description}}{% endif %} + {% if title %}{{title}} - {{config.title}}{% else %}| {{config.description}}{% endif %} - + - + + content="{% if description %}{{description}}{% else %}{{config.description}}{% endif %}"> - + {% if config.generate_feeds %} @@ -55,6 +57,7 @@ {% block navlinks %} About Blog + People Wiki {% endblock navlinks %} From 8ccb880c99b6338d05a7b779b0096e9809980b8f Mon Sep 17 00:00:00 2001 From: "Spencer C. Imbleau" Date: Mon, 30 Nov 2026 17:39:39 -0500 Subject: [PATCH 02/19] Render structured profiles with required GitHub and Zulip links --- README.md | 20 +++++++++++++++----- content/people/_index.md | 3 ++- content/people/nuzzles.md | 9 +++++---- templates/base.html | 1 + templates/person.html | 33 +++++++++++++++++++++++++++++++++ templates/section.html | 2 +- 6 files changed, 57 insertions(+), 11 deletions(-) create mode 100644 templates/person.html diff --git a/README.md b/README.md index 84125012..50b3c327 100644 --- a/README.md +++ b/README.md @@ -15,16 +15,26 @@ The steps you need to get building the website locally are: Anyone who uses or contributes to Linebender projects can join [People of Linebender](https://linebender.org/people/). Create `content/people/.md` and open a pull request with that one file. -For example: +Use the following front matter, leaving the rest of the file empty: -```markdown +```toml +++ -title = "Your display name" +# title = "Your display name" +# description = "A short description of your work or interests." + +[extra] +github = "https://github.com/your-github-username" +zulip = "https://xi.zulipchat.com/#user/12345" +# homepage = "https://example.org/" +# x = "your_handle" +# mastodon = "https://social.example/@your_handle" +++ - -A short introduction in your own words. You can include links to your projects or website. ``` +Your GitHub and Linebender Zulip profile links are required. Use your lowercase GitHub username as the filename and copy your profile link from Linebender Zulip. +Uncomment any optional fields you want to share. The site displays your GitHub username when you omit your name. +Use an HTTPS URL for your homepage or Mastodon profile and omit the leading `@` from your X handle. + Your filename becomes your public URL at `/people//`. After merge, the site lists your profile automatically and search engines can index it. To update or remove your profile, submit a pull request editing or deleting your file. diff --git a/content/people/_index.md b/content/people/_index.md index a246cd5d..558f2c6b 100644 --- a/content/people/_index.md +++ b/content/people/_index.md @@ -1,7 +1,8 @@ +++ title = "People of Linebender" description = "Meet the people who use and build Linebender projects." -sort_by = "title" +sort_by = "slug" +page_template = "person.html" +++ Meet the people who use and build Linebender projects. diff --git a/content/people/nuzzles.md b/content/people/nuzzles.md index 0ace11a9..27755e9e 100644 --- a/content/people/nuzzles.md +++ b/content/people/nuzzles.md @@ -1,8 +1,9 @@ +++ title = "Spencer Imbleau" description = "Software engineer working on computer graphics and AI systems." -+++ - -I’m a software engineer working on computer graphics and AI systems. -[Personal website](https://spencer.imbleau.com/) · [@nuzzles on GitHub](https://github.com/nuzzles) +[extra] +github = "https://github.com/nuzzles" +zulip = "https://xi.zulipchat.com/#user/414173" +homepage = "https://spencer.imbleau.com/" ++++ diff --git a/templates/base.html b/templates/base.html index 02d33db8..d81c9e58 100644 --- a/templates/base.html +++ b/templates/base.html @@ -6,6 +6,7 @@ {% set title = page.title | default(value=section.title | default(value="")) %} + {% if not title and page.slug %}{% set title = page.slug %}{% endif %} {% set description = page.description | default(value=section.description | default(value=title)) %} {% if title %}{{title}} - {{config.title}}{% else %}| {{config.description}}{% endif %} diff --git a/templates/person.html b/templates/person.html new file mode 100644 index 00000000..93236aa2 --- /dev/null +++ b/templates/person.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} + +{% block content %} +{% if page.content | trim %} + {{ throw(message=page.path ~ ": put profile information in the front matter and leave the body empty") }} +{% endif %} +{% set links = page.extra %} +{% set github_url = "https://github.com/" ~ page.slug %} +{% if not links.github or links.github != github_url %} + {{ throw(message=page.path ~ ": set extra.github to the GitHub profile URL matching your filename") }} +{% endif %} +{% if not links.zulip or not links.zulip is matching("^https://xi[.]zulipchat[.]com/#user/[1-9][0-9]*(-[^/?# ]+)?$") %} + {{ throw(message=page.path ~ ": set extra.zulip to your Linebender Zulip profile URL") }} +{% endif %} +{% for field in ["homepage", "mastodon"] %} + {% if links[field] and not links[field] is starting_with("https://") %} + {{ throw(message=page.path ~ ": use an HTTPS URL for " ~ field) }} + {% endif %} +{% endfor %} +{% if links.x and not links.x is matching("^[A-Za-z0-9_]{1,15}$") %} + {{ throw(message=page.path ~ ": enter your X handle without the @") }} +{% endif %} + +

{{ page.title | default(value=page.slug) }}

+{% if page.description %}

{{ page.description }}

{% endif %} + +{% endblock content %} diff --git a/templates/section.html b/templates/section.html index 39a7a632..68c848fb 100644 --- a/templates/section.html +++ b/templates/section.html @@ -10,7 +10,7 @@

{{ section.title }}

{% endfor %} {% for page in section.pages %} -
  • {{ page.title }}
  • +
  • {{ page.title | default(value=page.slug) }}
  • {% endfor %} {% endblock content %} From 64174f5c4aab363f16c5e219957a8061c535ffd4 Mon Sep 17 00:00:00 2001 From: "Spencer C. Imbleau" Date: Mon, 30 Nov 2026 17:42:16 -0500 Subject: [PATCH 03/19] Label profile links with account details and icons --- content/people/nuzzles.md | 2 +- sass/main.scss | 11 +++++++++++ static/minima-social-icons.svg | 4 ++++ templates/person.html | 20 ++++++++++++++------ 4 files changed, 30 insertions(+), 7 deletions(-) diff --git a/content/people/nuzzles.md b/content/people/nuzzles.md index 27755e9e..08feb9c2 100644 --- a/content/people/nuzzles.md +++ b/content/people/nuzzles.md @@ -5,5 +5,5 @@ description = "Software engineer working on computer graphics and AI systems." [extra] github = "https://github.com/nuzzles" zulip = "https://xi.zulipchat.com/#user/414173" -homepage = "https://spencer.imbleau.com/" +homepage = "https://spencer.imbleau.com" +++ diff --git a/sass/main.scss b/sass/main.scss index e7c5a6e0..669a3bac 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -207,6 +207,17 @@ blockquote>:last-child { vertical-align: text-top; } +.profile-links { + list-style: none; + margin-left: 0; + overflow-wrap: anywhere; +} + +.profile-links .svg-icon { + fill: currentColor; +} + +.profile-links li+li, .social-media-list li+li { padding-top: 5px; } diff --git a/static/minima-social-icons.svg b/static/minima-social-icons.svg index f7c3b81e..7de92cc3 100644 --- a/static/minima-social-icons.svg +++ b/static/minima-social-icons.svg @@ -29,4 +29,8 @@ + + + + diff --git a/templates/person.html b/templates/person.html index 93236aa2..d9be3cdb 100644 --- a/templates/person.html +++ b/templates/person.html @@ -1,5 +1,12 @@ {% extends "base.html" %} +{% macro link(icon, label, url, text) %} +
  • + + {{ label }}: {{ text }} +
  • +{% endmacro link %} + {% block content %} {% if page.content | trim %} {{ throw(message=page.path ~ ": put profile information in the front matter and leave the body empty") }} @@ -23,11 +30,12 @@

    {{ page.title | default(value=page.slug) }}

    {% if page.description %}

    {{ page.description }}

    {% endif %} -
      -
    • Linebender Zulip
    • -
    • @{{ page.slug }} on GitHub
    • - {% if links.homepage %}
    • Homepage
    • {% endif %} - {% if links.x %}
    • @{{ links.x }} on X
    • {% endif %} - {% if links.mastodon %}
    • Mastodon
    • {% endif %} +{% set zulip_id = links.zulip | split(pat="#user/") | last | split(pat="-") | first %} + {% endblock content %} From b4f051e0184961995c8d73d079d7ef4c297c11cd Mon Sep 17 00:00:00 2001 From: "Spencer C. Imbleau" Date: Mon, 30 Nov 2026 17:43:31 -0500 Subject: [PATCH 04/19] Add a direct Zulip contact button to profiles --- sass/main.scss | 13 +++++++++++++ templates/person.html | 1 + 2 files changed, 14 insertions(+) diff --git a/sass/main.scss b/sass/main.scss index 669a3bac..2feecdb4 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -207,6 +207,19 @@ blockquote>:last-child { vertical-align: text-top; } +.zulip-contact { + display: inline-block; + padding: 0.5em 1em; + border: 1px solid currentColor; + border-radius: 4px; + font-weight: 600; + + &:focus-visible { + outline: 2px solid currentColor; + outline-offset: 3px; + } +} + .profile-links { list-style: none; margin-left: 0; diff --git a/templates/person.html b/templates/person.html index d9be3cdb..db6517ff 100644 --- a/templates/person.html +++ b/templates/person.html @@ -38,4 +38,5 @@

      {{ page.title | default(value=page.slug) }}

      {% if links.x %}{{ self::link(icon="x", label="X", url="https://x.com/" ~ links.x, text="@" ~ links.x) }}{% endif %} {% if links.mastodon %}{{ self::link(icon="mastodon", label="Mastodon", url=links.mastodon, text=links.mastodon) }}{% endif %}
    +Contact me on Zulip {% endblock content %} From 4194e1ee2e4806dba09138f917167814be717264 Mon Sep 17 00:00:00 2001 From: "Spencer C. Imbleau" Date: Mon, 30 Nov 2026 17:44:03 -0500 Subject: [PATCH 05/19] Show the GitHub avatar beside each profile name --- sass/main.scss | 16 ++++++++++++++++ templates/person.html | 5 ++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/sass/main.scss b/sass/main.scss index 2feecdb4..e5d7bccd 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -207,6 +207,22 @@ blockquote>:last-child { vertical-align: text-top; } +.profile-heading { + display: flex; + align-items: center; + gap: 1rem; + margin-bottom: 1rem; + + img { + border-radius: 50%; + } + + h1 { + margin: 0; + overflow-wrap: anywhere; + } +} + .zulip-contact { display: inline-block; padding: 0.5em 1em; diff --git a/templates/person.html b/templates/person.html index db6517ff..08fc7734 100644 --- a/templates/person.html +++ b/templates/person.html @@ -28,7 +28,10 @@ {{ throw(message=page.path ~ ": enter your X handle without the @") }} {% endif %} -

    {{ page.title | default(value=page.slug) }}

    +
    + +

    {{ page.title | default(value=page.slug) }}

    +
    {% if page.description %}

    {{ page.description }}

    {% endif %} {% set zulip_id = links.zulip | split(pat="#user/") | last | split(pat="-") | first %}