Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/index.html

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
<url>
<loc>https://sinisterdexter.net/</loc>
<lastmod>2026-01-20</lastmod>
<lastmod>2026-01-21</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
<image:image>
Expand All @@ -14,43 +14,43 @@
</url>
<url>
<loc>https://sinisterdexter.net/#shows</loc>
<lastmod>2026-01-20</lastmod>
<lastmod>2026-01-21</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
</url>
<url>
<loc>https://sinisterdexter.net/#music</loc>
<lastmod>2026-01-20</lastmod>
<lastmod>2026-01-21</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://sinisterdexter.net/#videos</loc>
<lastmod>2026-01-20</lastmod>
<lastmod>2026-01-21</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://sinisterdexter.net/#gallery</loc>
<lastmod>2026-01-20</lastmod>
<lastmod>2026-01-21</lastmod>
<changefreq>weekly</changefreq>
<priority>0.7</priority>
</url>
<url>
<loc>https://sinisterdexter.net/#about</loc>
<lastmod>2026-01-20</lastmod>
<lastmod>2026-01-21</lastmod>
<changefreq>monthly</changefreq>
<priority>0.6</priority>
</url>
<url>
<loc>https://sinisterdexter.net/#connect</loc>
<lastmod>2026-01-20</lastmod>
<lastmod>2026-01-21</lastmod>
<changefreq>monthly</changefreq>
<priority>0.7</priority>
</url>
<url>
<loc>https://sinisterdexter.net/#merch</loc>
<lastmod>2026-01-20</lastmod>
<lastmod>2026-01-21</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
Expand Down
18 changes: 2 additions & 16 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,21 +120,7 @@ Handlebars.registerHelper('formatTimeRange', (startTime, endTime) => {

if (!start || !end) return `${startTime} - ${endTime}`;

// If both times have the same meridian, combine them
if (start.meridian === end.meridian) {
// If minutes are :00, just show hours
if (start.minute === '00' && end.minute === '00') {
return `${start.hour} - ${end.hour}${end.meridian.toLowerCase()}`;
}
// Otherwise show full times but share meridian
return `${start.hour}:${start.minute} - ${end.hour}:${end.minute}${end.meridian.toLowerCase()}`;
}

// Different meridians - show both but concise
if (start.minute === '00' && end.minute === '00') {
return `${start.hour}${start.meridian.toLowerCase()} - ${end.hour}${end.meridian.toLowerCase()}`;
}
return `${start.hour}:${start.minute}${start.meridian.toLowerCase()} - ${end.hour}:${end.minute}${end.meridian.toLowerCase()}`;
return `${start.hour}:${start.minute} ${start.meridian.toUpperCase()} - ${end.hour}:${end.minute} ${end.meridian.toUpperCase()}`;
});

Handlebars.registerHelper('getStartYear', (yearsWithBand) => {
Expand Down Expand Up @@ -645,4 +631,4 @@ async function buildModularSite() {
}

// Run the build
buildModularSite();
buildModularSite();