From e89afd3f8fa69bea0f306d5d20053194321f0c6f Mon Sep 17 00:00:00 2001 From: Steven Clontz Date: Fri, 22 May 2026 18:41:13 +0000 Subject: [PATCH 01/11] Fix site to show multiple authors --- _data/authors.yml | 16 +++++ _includes/author-profile.html | 130 +++++++++++++++++----------------- _pages/about.md | 2 + _pages/category-archive.md | 1 + _pages/events.md | 2 + _pages/prefigure.md | 2 + _pages/tag-archive.md | 1 + _pages/workshops.md | 2 + _pages/year-archive.md | 1 + index.html | 1 + 10 files changed, 94 insertions(+), 64 deletions(-) diff --git a/_data/authors.yml b/_data/authors.yml index 6fa80b1..48dd1ac 100644 --- a/_data/authors.yml +++ b/_data/authors.yml @@ -1,5 +1,21 @@ # /_data/authors.yml +site: + name: MathTech.org + bio: >- # this means to ignore newlines until "baseurl:" + Showcasing open-source technologies that innovate mathematics education and communication. + avatar : "/assets/images/mathtechorg-avatar.svg" + links: + - label: "Email" + icon: "fas fa-fw fa-envelope-square" + url: "mailto:oscar.levin@unco.edu" + - label: "Bluesky" + icon: "fab fa-brands fa-bluesky" + url: "https://bsky.app/profile/mathtech.org" + - label: "GitHub" + icon: "fab fa-fw fa-github" + url: "https://github.com/mathtechorg" + Oscar Levin: name : "Oscar Levin" bio : "Oscar Levin is a professor of mathematical sciences at the University of Northern Colorado. He is the author of the OER book *Discrete Mathematics: an Open Introduction* and contributor to the PreTeXt authoring system." diff --git a/_includes/author-profile.html b/_includes/author-profile.html index 0f122a0..cc0fa2b 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -1,23 +1,24 @@ -{% assign author_key = include.author_key | default: page.author | default: page.authors[0] %} -{% assign author = site.data.authors[author_key] | default: author_key | default: site.author %} +{% assign authors = page.authors | default: page.author %} +{% for author_key in authors %} +{% assign author_data = site.data.authors[author_key] %}
- {% if author.avatar %} + {% if author_data.avatar %} {% endif %}

- +

- {% if author.bio %} + {% if author_data.bio %}
- {{ author.bio | markdownify }} + {{ author_data.bio | markdownify }}
{% endif %}
@@ -25,216 +26,216 @@

+{% endfor %} diff --git a/_pages/about.md b/_pages/about.md index d2304a3..cfc2e44 100644 --- a/_pages/about.md +++ b/_pages/about.md @@ -1,6 +1,8 @@ --- permalink: /about/ title: "About" +author_profile: true +author: site --- MathTech.org is a news feed for showcasing and advocating for open-source technology diff --git a/_pages/category-archive.md b/_pages/category-archive.md index 4cb3860..438ff50 100644 --- a/_pages/category-archive.md +++ b/_pages/category-archive.md @@ -3,4 +3,5 @@ title: "Posts by Category" layout: categories permalink: /categories/ author_profile: true +author: site --- diff --git a/_pages/events.md b/_pages/events.md index f3fd52a..0d5f758 100644 --- a/_pages/events.md +++ b/_pages/events.md @@ -1,6 +1,8 @@ --- permalink: /events/ title: "Events" +author_profile: true +author: site ---
Loading calendar...
diff --git a/_pages/prefigure.md b/_pages/prefigure.md index e540393..d40ffed 100644 --- a/_pages/prefigure.md +++ b/_pages/prefigure.md @@ -1,6 +1,8 @@ --- permalink: /prefigure/ title: "Prefigure" +author_profile: true +author: site --- Since (MathTech.org's implementation of) Markdown supports inserting HTML diff --git a/_pages/tag-archive.md b/_pages/tag-archive.md index 3f4e3f0..216b875 100644 --- a/_pages/tag-archive.md +++ b/_pages/tag-archive.md @@ -3,4 +3,5 @@ title: "Posts by Tag" permalink: /tags/ layout: tags author_profile: true +author: site --- diff --git a/_pages/workshops.md b/_pages/workshops.md index 7c8653f..0577dfe 100644 --- a/_pages/workshops.md +++ b/_pages/workshops.md @@ -2,6 +2,8 @@ permalink: /workshops/ title: "Workshops" layout: single +author_profile: true +author: site --- There is so much to learn, and so many opportunities to learn it. Below we collect workshops and trainings that we know about. Get in touch if you want yours added to our list. diff --git a/_pages/year-archive.md b/_pages/year-archive.md index ce3413f..c886626 100644 --- a/_pages/year-archive.md +++ b/_pages/year-archive.md @@ -3,4 +3,5 @@ title: "Posts by Year" permalink: /posts/ layout: posts author_profile: true +author: site --- diff --git a/index.html b/index.html index c5944a5..915b1a5 100644 --- a/index.html +++ b/index.html @@ -4,4 +4,5 @@ # See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults layout: home author_profile: true +author: site --- From 29a8ee6370c72daa8ea1b01388e90f6451ce073e Mon Sep 17 00:00:00 2001 From: Steven Clontz Date: Fri, 22 May 2026 18:45:47 +0000 Subject: [PATCH 02/11] refactor author keys --- README.md | 2 +- _data/authors.yml | 22 +++++++++---------- _posts/2025-01-15-welcome.md | 2 +- _posts/2025-02-06-pretext.md | 2 +- _posts/2025-02-16-slides-and-courses.md | 2 +- _posts/2025-03-05-activelearning.md | 2 +- _posts/2025-03-13-beforeclass.md | 2 +- _posts/2025-03-27-mathtech-workshop.md | 2 +- _posts/2025-04-10-accessibility.md | 2 +- _posts/2025-04-25-screen-reader.md | 2 +- .../2025-05-28-updating-pretext-prefigure.md | 2 +- _posts/2025-08-17-handouts-and-worksheets.md | 2 +- _posts/2025-09-26-doenet-inquiry.md | 2 +- _posts/2025-10-01-randomization.md | 2 +- _posts/2025-10-10-github-history.md | 2 +- _posts/2025-10-16-guests.md | 2 +- _posts/2025-10-27-annotated-slides.md | 2 +- _posts/2025-11-21-exercisesfromword.md | 2 +- _posts/2025-12-01-editathon.md | 2 +- _posts/2026-01-15-organizing-my-syllabus.md | 2 +- _posts/2026-03-09-prefigure.md | 2 +- _posts/2026-03-30-biome.md | 2 +- _posts/2026-04-21-doenet-opportunities.md | 2 +- _posts/2026-05-20-m2-with-ug.md | 4 ++-- 24 files changed, 35 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index 2a74b44..54fb9a8 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ To submit a blog entry, create a `md` file in the `_posts` directory. Look for Author bios in the sidebar are enabled for posts by default. For a single author, use: ```yaml -author: Oscar Levin +author: levin ``` For multiple authors, use: diff --git a/_data/authors.yml b/_data/authors.yml index 48dd1ac..f5bd7dc 100644 --- a/_data/authors.yml +++ b/_data/authors.yml @@ -16,7 +16,7 @@ site: icon: "fab fa-fw fa-github" url: "https://github.com/mathtechorg" -Oscar Levin: +levin: name : "Oscar Levin" bio : "Oscar Levin is a professor of mathematical sciences at the University of Northern Colorado. He is the author of the OER book *Discrete Mathematics: an Open Introduction* and contributor to the PreTeXt authoring system." avatar : "/assets/images/bio-levin.jpg" @@ -34,7 +34,7 @@ Oscar Levin: icon: "fab fa-fw fa-github" url: "https://github.com/oscarlevin" -Steven Clontz: +clontz: name : "Steven Clontz" bio : "Developer of math infrastructure projects including PreTeXt.Plus and ScholarLattice.org" avatar : "/assets/images/bio-clontz.jpg" @@ -52,7 +52,7 @@ Steven Clontz: icon: "fab fa-fw fa-github" url: "https://github.com/stevenclontz" -Tien Chih: +chih: name : "Tien Chih" bio : "Tien Chih is an assistant professor of mathematics at Oxford College of Emory University." #avatar : "/assets/images/bio-clontz.jpg" @@ -70,7 +70,7 @@ Tien Chih: icon: "fab fa-fw fa-github" url: "https://github.com/tienchih" -Chrissy Safranski: +safranski: name : "Chrissy Safranski" bio : "Chrissy Safranski is a professor of mathematics at Franciscan University of Steubenville." avatar : "/assets/images/bio-safranski.jpg" @@ -88,7 +88,7 @@ Chrissy Safranski: icon: "fab fa-fw fa-github" url: "https://github.com/tanaquil18" -Mitch Keller: +keller: name : "Mitch Keller" bio : "Mitch Keller is teaching faculty in the Department of Mathematics at the University of Wisconsin–Madison and one of the authors of the OER text Applied Combinatorics." avatar : "/assets/images/bio-keller.jpg" @@ -106,7 +106,7 @@ Mitch Keller: icon: "fab fa-fw fa-github" url: "https://github.com/mitchkeller" -James Vranish: +vranish: name : "James Vranish" bio : "James Vranish is an associate professor of biochemistry at Franciscan University of Steubenville." # avatar : "/assets/images/bio-vranish.jpg" @@ -124,7 +124,7 @@ James Vranish: icon: "fab fa-fw fa-github" url: "https://github.com/irishaggiebaron" -Jordan Kostiuk: +kostiuk: name : "Jordan Kostiuk" bio : "Jordan Kostiuk is an Senior Lecturer in Mathematics at Brown University." # avatar : "/assets/images/bio-vranish.jpg" @@ -142,7 +142,7 @@ Jordan Kostiuk: icon: "fab fa-fw fa-github" url: "https://github.com/jkostiuk" -Peter Keep: +keep: name : "Peter Keep" bio : "Peter Keep is Chair of the Department of Mathematics at Moraine Valley Community College." links: @@ -159,7 +159,7 @@ Peter Keep: # icon: "fab fa-fw fa-github" # url: "https://github.com/jkostiuk" -David Austin: +austin: name : "David Austin" bio : "David Austin is a professor of mathematics at Grand Valley State University." avatar : "/assets/images/bio-austin.jpg" @@ -177,7 +177,7 @@ David Austin: icon: "fab fa-fw fa-github" url: "https://github.com/davidaustinm" -Francesca Gandini: +gandini: name : "Francesca Gandini" bio : "Francesca Gandini is an Assistant Professor at St. Olaf College, co-author of the InvariantRing package for Macaulay2, Calculus for Team-Based Inquiry Learning, and GitHub for Mathematicians." avatar : "/assets/images/bio-gandini.jpg" @@ -195,7 +195,7 @@ Francesca Gandini: icon: "fab fa-fw fa-github" url: "https://github.com/fragandi" -Anna Natalie Chlopecki: +chlopecki: name : "Anna Natalie Chlopecki" bio : "Anna Natalie Chlopecki is a graduate student starting her last year at Purdue University." avatar : "/assets/images/bio-chlopecki.jpg" diff --git a/_posts/2025-01-15-welcome.md b/_posts/2025-01-15-welcome.md index f196002..1e4fcc5 100644 --- a/_posts/2025-01-15-welcome.md +++ b/_posts/2025-01-15-welcome.md @@ -1,7 +1,7 @@ --- title: Welcome tags: PreTeXt Runestone WeBWorK Doenet Prose -author: Oscar Levin +author: levin comments: true --- diff --git a/_posts/2025-02-06-pretext.md b/_posts/2025-02-06-pretext.md index 0c01790..3ffdd65 100644 --- a/_posts/2025-02-06-pretext.md +++ b/_posts/2025-02-06-pretext.md @@ -1,7 +1,7 @@ --- title: Getting Started with PreTeXt tags: PreTeXt -author: Steven Clontz +author: clontz --- A quite popular ecosystem for authoring and sharing diff --git a/_posts/2025-02-16-slides-and-courses.md b/_posts/2025-02-16-slides-and-courses.md index 3ad244f..63b6c1f 100644 --- a/_posts/2025-02-16-slides-and-courses.md +++ b/_posts/2025-02-16-slides-and-courses.md @@ -1,7 +1,7 @@ --- title: PreTeXt for Courses and Slideshows tags: PreTeXt, slides, course-materials -author: Oscar Levin +author: levin --- Did you know that you can use PreTeXt to create revealjs slideshows? diff --git a/_posts/2025-03-05-activelearning.md b/_posts/2025-03-05-activelearning.md index 8f75226..6193c0c 100644 --- a/_posts/2025-03-05-activelearning.md +++ b/_posts/2025-03-05-activelearning.md @@ -1,7 +1,7 @@ --- title: Supporting Active Learning with PreTeXt tags: PreTeXt -author: Tien Chih +author: chih --- While the benifits of using [PreTeXt](https://pretextbook.org) are numerous, one in particular that has been transformative in my own teaching is utilizing the html format of PreTeXt to embed interactive components which opens the door to a variety of potential active learning implementations. diff --git a/_posts/2025-03-13-beforeclass.md b/_posts/2025-03-13-beforeclass.md index b654e0b..e9a11c8 100644 --- a/_posts/2025-03-13-beforeclass.md +++ b/_posts/2025-03-13-beforeclass.md @@ -1,7 +1,7 @@ --- title: Before Class with PreTeXt tags: PreTeXt Runestone Teaching -author: Chrissy Safranski +author: safranski --- As a student, I was frequently guilty of using math textbooks exclusively in order to complete homework problems. If I didn't immediately know how to complete an assigned problem with what I'd learned in class, then I'd try to read the section and look for examples or theorems or other clues. If I still didn't know what to do, I would sometimes search in other textbooks I had access to, and I always thought I had hit the jackpot when my textbook's homework problem was another textbook's theorem, presented with proof. (Not so very different from today's students asking Google or ChatGPT.) All of my learning took place in two periods of time: *during class* and *after class*. diff --git a/_posts/2025-03-27-mathtech-workshop.md b/_posts/2025-03-27-mathtech-workshop.md index 2f6a35b..85af2eb 100644 --- a/_posts/2025-03-27-mathtech-workshop.md +++ b/_posts/2025-03-27-mathtech-workshop.md @@ -1,7 +1,7 @@ --- title: "Save the Date: MathTech.org Virtual Workshop on Accessible Course Materials (May 2025)" tags: PreTeXt Accessibility Training -author: Steven Clontz +author: clontz --- On behalf of the [MathTech.org Team](/about/), I'm excited to announce diff --git a/_posts/2025-04-10-accessibility.md b/_posts/2025-04-10-accessibility.md index 0bbe287..e1996d4 100644 --- a/_posts/2025-04-10-accessibility.md +++ b/_posts/2025-04-10-accessibility.md @@ -3,7 +3,7 @@ title: Accessible Course Materials tags: PreTeXt, accessibility, course-materials, videos toc: true toc_sticky: true -author: Oscar Levin +author: levin --- **Update (2025-04-25)**: Added information about LaTeXML as another alternative for authoring. diff --git a/_posts/2025-04-25-screen-reader.md b/_posts/2025-04-25-screen-reader.md index 9090b92..22ed72a 100644 --- a/_posts/2025-04-25-screen-reader.md +++ b/_posts/2025-04-25-screen-reader.md @@ -1,7 +1,7 @@ --- title: HTML vs PDF for screen readers tags: PreTeXt, accessibility, course-materials, videos -author: Oscar Levin +author: levin --- After my [last post](https://mathtech.org/2025/04/10/accessibility.html) about writing accessible course materials, someone asked whether the math in the HTML produced by PreTeXT really is any better than what you would get for a PDF when read by a screen reader. Is it worth the effort? diff --git a/_posts/2025-05-28-updating-pretext-prefigure.md b/_posts/2025-05-28-updating-pretext-prefigure.md index 684aff2..b7243ec 100644 --- a/_posts/2025-05-28-updating-pretext-prefigure.md +++ b/_posts/2025-05-28-updating-pretext-prefigure.md @@ -1,7 +1,7 @@ --- title: Updating Your Version of PreTeXt and PreFigure tags: PreTeXt PreFigure Tutorial -author: Chrissy Safranski +author: safranski --- [PreTeXt](https://pretextbook.org/) and [PreFigure](https://prefigure.org/) are under active development - many people are currently improving them, making them easier to use, adding new features, and fixing bugs that have been identified. While it's awesome that the user experience is getting better all the time, it also means that users need to frequently upgrade their versions of PreTeXt and PreFigure. diff --git a/_posts/2025-08-17-handouts-and-worksheets.md b/_posts/2025-08-17-handouts-and-worksheets.md index 48857a8..ec31c3f 100644 --- a/_posts/2025-08-17-handouts-and-worksheets.md +++ b/_posts/2025-08-17-handouts-and-worksheets.md @@ -1,7 +1,7 @@ --- title: Handouts and Worksheets in PreTeXt tags: PreTeXt Tutorial Features -author: Oscar Levin +author: levin --- We all know that [PreTeXt](https://pretextbook.org) is great for writing textbooks. But did you know that it can also be used to create small, standalone course materials? diff --git a/_posts/2025-09-26-doenet-inquiry.md b/_posts/2025-09-26-doenet-inquiry.md index 0641301..b650304 100644 --- a/_posts/2025-09-26-doenet-inquiry.md +++ b/_posts/2025-09-26-doenet-inquiry.md @@ -1,7 +1,7 @@ --- title: Using Doenet Interactives to Facilitate Inquiry tags: PreTeXt Doenet Inquiry -author: Steven Clontz +author: clontz --- *This post describes work of the author funded by National Science Foundation awards [#2011807](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2011807) and [#2449139](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2449139).* diff --git a/_posts/2025-10-01-randomization.md b/_posts/2025-10-01-randomization.md index e8d4aee..b36cdda 100644 --- a/_posts/2025-10-01-randomization.md +++ b/_posts/2025-10-01-randomization.md @@ -1,7 +1,7 @@ --- title: True Randomization in an Introductory Statistics course tags: PreTeXt R Inquiry -author: Tien Chih +author: chih --- diff --git a/_posts/2025-10-10-github-history.md b/_posts/2025-10-10-github-history.md index 323ef6c..006b636 100644 --- a/_posts/2025-10-10-github-history.md +++ b/_posts/2025-10-10-github-history.md @@ -1,7 +1,7 @@ --- title: Getting Started with GitHub tags: GitHub version-control -author: Steven Clontz +author: clontz --- *This post is supported by National Science Foundation award [#2449139](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2449139).* diff --git a/_posts/2025-10-16-guests.md b/_posts/2025-10-16-guests.md index f100b32..5830861 100644 --- a/_posts/2025-10-16-guests.md +++ b/_posts/2025-10-16-guests.md @@ -1,7 +1,7 @@ --- title: Calling all Guest Posters! tags: GitHub MathTech Blogging -author: Steven Clontz +author: clontz comments: true --- diff --git a/_posts/2025-10-27-annotated-slides.md b/_posts/2025-10-27-annotated-slides.md index 0a9deb9..cfbb1b7 100644 --- a/_posts/2025-10-27-annotated-slides.md +++ b/_posts/2025-10-27-annotated-slides.md @@ -1,7 +1,7 @@ --- title: Making Partially-Handwritten Slides Accessible tags: PreTeXt tutorial slides accessibility -author: Mitch Keller +author: keller comments: true --- diff --git a/_posts/2025-11-21-exercisesfromword.md b/_posts/2025-11-21-exercisesfromword.md index 2cb7bf8..a701bb5 100644 --- a/_posts/2025-11-21-exercisesfromword.md +++ b/_posts/2025-11-21-exercisesfromword.md @@ -1,7 +1,7 @@ --- title: So, all your exercises are written in Word... tags: Word PreTeXt exercises scripts -author: James Vranish +author: vranish comments: true --- I'm a biochemistry instructor who has been working on writing an introductory chemistry textbook. Now, as a user of math rather than a mathematician, my initial approach was to write my textbook in Word and later worry about getting it formatted for HTML and print forms. My colleague, who is also one of mathtech.org's editors, had mentioned PreTeXt to me on several occasions, but with the stress of writing/revising/etc. her words basically went in one ear and right out the other. That is...until it came time to try and move towards publication. After a few minutes of sitting down with her and *actually* paying attention (sorry Chrissy), I quickly realized how amazingly powerful PreTeXt was for what I was trying to do. diff --git a/_posts/2025-12-01-editathon.md b/_posts/2025-12-01-editathon.md index f97b1d3..01f689b 100644 --- a/_posts/2025-12-01-editathon.md +++ b/_posts/2025-12-01-editathon.md @@ -1,7 +1,7 @@ --- title: "Editathons: Getting the Most Out of Community Editing" tags: open-access authoring, editing, Pretext -author: Jordan Kostiuk +author: kostiuk comments: true --- diff --git a/_posts/2026-01-15-organizing-my-syllabus.md b/_posts/2026-01-15-organizing-my-syllabus.md index 3ed95cf..c6109bb 100644 --- a/_posts/2026-01-15-organizing-my-syllabus.md +++ b/_posts/2026-01-15-organizing-my-syllabus.md @@ -2,7 +2,7 @@ title: Organizing my Syllabus subtitle: Using PreTeXt and GitHub to make the clickiest part of the semester less annoying. tags: PreTeXt accessibility -author: Peter Keep +author: keep comments: true --- diff --git a/_posts/2026-03-09-prefigure.md b/_posts/2026-03-09-prefigure.md index 4a9eb45..0f3aa1c 100644 --- a/_posts/2026-03-09-prefigure.md +++ b/_posts/2026-03-09-prefigure.md @@ -1,7 +1,7 @@ --- title: Creating accessible diagrams with PreFigure tags: PreFigure diagrams accessibility PreTeXt -author: David Austin +author: austin comments: true --- diff --git a/_posts/2026-03-30-biome.md b/_posts/2026-03-30-biome.md index 02726d4..c5d5b46 100644 --- a/_posts/2026-03-30-biome.md +++ b/_posts/2026-03-30-biome.md @@ -1,7 +1,7 @@ --- title: Summer Session for STEMM Open Educational Resources and Communities tags: BIOME OER communities -author: Steven Clontz +author: clontz comments: true --- diff --git a/_posts/2026-04-21-doenet-opportunities.md b/_posts/2026-04-21-doenet-opportunities.md index f379da1..bfa89b5 100644 --- a/_posts/2026-04-21-doenet-opportunities.md +++ b/_posts/2026-04-21-doenet-opportunities.md @@ -1,7 +1,7 @@ --- title: Funded and free opportunities with the Doenet OER community tags: Doenet OER communities workshop -author: Steven Clontz +author: clontz comments: true --- diff --git a/_posts/2026-05-20-m2-with-ug.md b/_posts/2026-05-20-m2-with-ug.md index 3e1e50d..3bbca41 100644 --- a/_posts/2026-05-20-m2-with-ug.md +++ b/_posts/2026-05-20-m2-with-ug.md @@ -2,8 +2,8 @@ title: Macaulay2 with students tags: M2 ustudents GitHub g4m authors: -- Francesca Gandini -- Anna Natalie Chlopecki +- gandini +- chlopecki comments: true --- From 3ed1a1089e28ae910da224b400620ee8668ca339 Mon Sep 17 00:00:00 2001 From: Steven Clontz Date: Fri, 22 May 2026 18:56:15 +0000 Subject: [PATCH 03/11] fix author-profile.html --- _includes/author-profile.html | 4 ---- _includes/sidebar.html | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/_includes/author-profile.html b/_includes/author-profile.html index cc0fa2b..2d188c1 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -1,6 +1,3 @@ -{% assign authors = page.authors | default: page.author %} - -{% for author_key in authors %} {% assign author_data = site.data.authors[author_key] %}
@@ -245,4 +242,3 @@

-{% endfor %} diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 283ee8a..886685f 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -6,7 +6,8 @@ {% include author-profile.html author_key=author_key %} {% endfor %} {% else %} - {% include author-profile.html %} + {% assign author_key = page.author %} + {% include author-profile.html author_key=author_key %} {% endif %} {% endif %} {% if page.sidebar %} From 0b7d166d8023e41c11b2f4d32e369a6a2d7fce55 Mon Sep 17 00:00:00 2001 From: Steven Clontz Date: Fri, 22 May 2026 18:59:41 +0000 Subject: [PATCH 04/11] DRY up site "author" to use previous behavior (no author means use site data) --- _data/authors.yml | 16 ---------------- _includes/author-profile.html | 2 +- _pages/about.md | 1 - _pages/category-archive.md | 1 - _pages/events.md | 1 - _pages/prefigure.md | 1 - _pages/tag-archive.md | 1 - _pages/workshops.md | 1 - _pages/year-archive.md | 1 - index.html | 1 - 10 files changed, 1 insertion(+), 25 deletions(-) diff --git a/_data/authors.yml b/_data/authors.yml index f5bd7dc..77692ea 100644 --- a/_data/authors.yml +++ b/_data/authors.yml @@ -1,21 +1,5 @@ # /_data/authors.yml -site: - name: MathTech.org - bio: >- # this means to ignore newlines until "baseurl:" - Showcasing open-source technologies that innovate mathematics education and communication. - avatar : "/assets/images/mathtechorg-avatar.svg" - links: - - label: "Email" - icon: "fas fa-fw fa-envelope-square" - url: "mailto:oscar.levin@unco.edu" - - label: "Bluesky" - icon: "fab fa-brands fa-bluesky" - url: "https://bsky.app/profile/mathtech.org" - - label: "GitHub" - icon: "fab fa-fw fa-github" - url: "https://github.com/mathtechorg" - levin: name : "Oscar Levin" bio : "Oscar Levin is a professor of mathematical sciences at the University of Northern Colorado. He is the author of the OER book *Discrete Mathematics: an Open Introduction* and contributor to the PreTeXt authoring system." diff --git a/_includes/author-profile.html b/_includes/author-profile.html index 2d188c1..785adb7 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -1,4 +1,4 @@ -{% assign author_data = site.data.authors[author_key] %} +{% assign author_data = site.data.authors[author_key] | default: site.author %}
{% if author_data.avatar %} diff --git a/_pages/about.md b/_pages/about.md index cfc2e44..7fec6eb 100644 --- a/_pages/about.md +++ b/_pages/about.md @@ -2,7 +2,6 @@ permalink: /about/ title: "About" author_profile: true -author: site --- MathTech.org is a news feed for showcasing and advocating for open-source technology diff --git a/_pages/category-archive.md b/_pages/category-archive.md index 438ff50..4cb3860 100644 --- a/_pages/category-archive.md +++ b/_pages/category-archive.md @@ -3,5 +3,4 @@ title: "Posts by Category" layout: categories permalink: /categories/ author_profile: true -author: site --- diff --git a/_pages/events.md b/_pages/events.md index 0d5f758..2e4348f 100644 --- a/_pages/events.md +++ b/_pages/events.md @@ -2,7 +2,6 @@ permalink: /events/ title: "Events" author_profile: true -author: site ---
Loading calendar...
diff --git a/_pages/prefigure.md b/_pages/prefigure.md index d40ffed..b60af7e 100644 --- a/_pages/prefigure.md +++ b/_pages/prefigure.md @@ -2,7 +2,6 @@ permalink: /prefigure/ title: "Prefigure" author_profile: true -author: site --- Since (MathTech.org's implementation of) Markdown supports inserting HTML diff --git a/_pages/tag-archive.md b/_pages/tag-archive.md index 216b875..3f4e3f0 100644 --- a/_pages/tag-archive.md +++ b/_pages/tag-archive.md @@ -3,5 +3,4 @@ title: "Posts by Tag" permalink: /tags/ layout: tags author_profile: true -author: site --- diff --git a/_pages/workshops.md b/_pages/workshops.md index 0577dfe..48d93da 100644 --- a/_pages/workshops.md +++ b/_pages/workshops.md @@ -3,7 +3,6 @@ permalink: /workshops/ title: "Workshops" layout: single author_profile: true -author: site --- There is so much to learn, and so many opportunities to learn it. Below we collect workshops and trainings that we know about. Get in touch if you want yours added to our list. diff --git a/_pages/year-archive.md b/_pages/year-archive.md index c886626..ce3413f 100644 --- a/_pages/year-archive.md +++ b/_pages/year-archive.md @@ -3,5 +3,4 @@ title: "Posts by Year" permalink: /posts/ layout: posts author_profile: true -author: site --- diff --git a/index.html b/index.html index 915b1a5..c5944a5 100644 --- a/index.html +++ b/index.html @@ -4,5 +4,4 @@ # See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults layout: home author_profile: true -author: site --- From b603537a8825c9a7938e2cf02f63304549dbf0b6 Mon Sep 17 00:00:00 2001 From: Steven Clontz Date: Fri, 22 May 2026 19:07:55 +0000 Subject: [PATCH 05/11] add authors to post lists --- _includes/archive-single.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/_includes/archive-single.html b/_includes/archive-single.html index 7854c96..b6d2a2e 100644 --- a/_includes/archive-single.html +++ b/_includes/archive-single.html @@ -24,6 +24,14 @@

{{ title }} {% endif %}

+ {% assign authors = post.authors | default: post.author %} + {% if authors %} +

+ {% for author in authors %} + {{site.data.authors[author].name}}{% unless forloop.last %},{% endunless %} + {% endfor %} +

+ {% endif %} {% include page__meta.html type=include.type %} {% if post.excerpt %}

{{ post.excerpt | markdownify | strip_html | truncate: 160 }}

{% endif %} From dbdbbccc966e8e578b4568244fb4bca484c073d8 Mon Sep 17 00:00:00 2001 From: Steven Clontz Date: Fri, 22 May 2026 19:11:44 +0000 Subject: [PATCH 06/11] add authors under post title --- _includes/page__meta.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/_includes/page__meta.html b/_includes/page__meta.html index 3d228c9..12c1620 100644 --- a/_includes/page__meta.html +++ b/_includes/page__meta.html @@ -1,6 +1,19 @@ {% assign document = post | default: page %} -{% if document.read_time or document.show_date %} +{% assign authors = document.authors | default: document.author %} +{% if document.read_time or document.show_date or authors %}

+ {% if authors %} + {% if authors %} + {% for author in authors %} + + {{site.data.authors[author].name}}{% unless forloop.last %},{% endunless %} + + {% endfor %} + {% endif %} + {% endif %} + + {% if authors and document.show_date %}{% endif %} + {% if document.show_date and document.date %} {% assign date = document.date %} From cd0ba19249d9836bd6fc939073424580f940b5be Mon Sep 17 00:00:00 2001 From: Steven Clontz Date: Fri, 22 May 2026 19:13:28 +0000 Subject: [PATCH 07/11] remove dupe authors from post list --- _includes/archive-single.html | 8 -------- 1 file changed, 8 deletions(-) diff --git a/_includes/archive-single.html b/_includes/archive-single.html index b6d2a2e..7854c96 100644 --- a/_includes/archive-single.html +++ b/_includes/archive-single.html @@ -24,14 +24,6 @@

{{ title }} {% endif %}

- {% assign authors = post.authors | default: post.author %} - {% if authors %} -

- {% for author in authors %} - {{site.data.authors[author].name}}{% unless forloop.last %},{% endunless %} - {% endfor %} -

- {% endif %} {% include page__meta.html type=include.type %} {% if post.excerpt %}

{{ post.excerpt | markdownify | strip_html | truncate: 160 }}

{% endif %} From 44814ecebcd24424d1809400a8b569d22de11a29 Mon Sep 17 00:00:00 2001 From: Steven Clontz Date: Fri, 22 May 2026 19:16:05 +0000 Subject: [PATCH 08/11] revert to `author` for cleaner PR diff --- _includes/author-profile.html | 126 +++++++++++++++++----------------- 1 file changed, 63 insertions(+), 63 deletions(-) diff --git a/_includes/author-profile.html b/_includes/author-profile.html index 785adb7..3834a00 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -1,21 +1,21 @@ -{% assign author_data = site.data.authors[author_key] | default: site.author %} +{% assign author = site.data.authors[author_key] | default: site.author %}
- {% if author_data.avatar %} + {% if author.avatar %} {% endif %}

- +

- {% if author_data.bio %} + {% if author.bio %}
- {{ author_data.bio | markdownify }} + {{ author.bio | markdownify }}
{% endif %}
@@ -23,216 +23,216 @@