Skip to content

Commit e4f578c

Browse files
authored
Max updates check ghpages (Fix homepage, Use url filter for more src and href attrs) (brisbanesocialchess#418)
* update cicd - test * add max-updates-check-ghpages * change cicd * change path * Add and set path as . * test * remove logs * remove my test branch * set on all branches * set on main * update * change htmlBaseUrl to url * update cicd * deploy on or * deploy on or * Add const for out * Add 11ty version in a meta ver * remove html files * change all permalink * Add /> before > * change pths * change permalink: /meetup/ * change path of meetup pages * clean tab ident * run | url fo urls in meetup pages * fix bug of index * fix URLS * fix typo * Add / before /assets
1 parent 7a1ef60 commit e4f578c

File tree

4 files changed

+25
-25
lines changed

4 files changed

+25
-25
lines changed

frontend/404.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: 404 - Page Not Found
99
<p>Don’t worry, you haven’t blundered too badly. Maybe the link is outdated or there's a typo in the URL.</p>
1010
<p>You can return to our homepage or explore other sections of our site.</p>
1111
<div class="button-group">
12-
<a href="/" class="button">Go Home</a>
12+
<a href="{{ '/' | url }}" class="button">Go Home</a>
1313
</div>
14-
<img src="assets/locations.jpg" alt="Chess Pieces Lost" />
14+
<img src="{{ '/assets/locations.jpg' | url }}" alt="Chess Pieces Lost" />
1515
</section>

frontend/about.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -429,15 +429,15 @@ title: About
429429
<section class="section">
430430
<h2><span aria-hidden="true">🧙‍♂️</span> Never Underestimate the Power of Jedi Master Big Bird</h2>
431431
<div style="display: flex; gap: 1rem">
432-
<a href="assets/images/never-underestimate-the-power-of-jedi-master-big-bird-1.jpg">
432+
<a href="{{ '/assets/images/never-underestimate-the-power-of-jedi-master-big-bird-1.jpg' | url }}">
433433
<img
434-
src="assets/images/never-underestimate-the-power-of-jedi-master-big-bird-1.jpg"
434+
src="{{ '/assets/images/never-underestimate-the-power-of-jedi-master-big-bird-1.jpg' | url }}"
435435
alt="A yellow character resembling Big Bird dressed as a Jedi Master, looking at a chess board."
436436
/>
437437
</a>
438-
<a href="assets/images/never-underestimate-the-power-of-jedi-master-big-bird-2.jpg">
438+
<a href="{{ '/assets/images/never-underestimate-the-power-of-jedi-master-big-bird-2.jpg' | url }}">
439439
<img
440-
src="assets/images/never-underestimate-the-power-of-jedi-master-big-bird-2.jpg"
440+
src="{{ '/assets/images/never-underestimate-the-power-of-jedi-master-big-bird-2.jpg' | url }}"
441441
alt="Another view of Jedi Master Big Bird playing chess."
442442
/>
443443
</a>
@@ -446,17 +446,17 @@ title: About
446446
<section class="section">
447447
<h2><span aria-hidden="true">4️⃣</span> Garden Room - Quaternity Zombie Road Block</h2>
448448
<div style="display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem">
449-
<a href="assets/images/quaternity-1.png">
450-
<img src="assets/images/quaternity-1.png" alt="Quaternity board with pieces in starting position." />
449+
<a href="{{ '/assets/images/quaternity-1.png' | url }}">
450+
<img src="{{ '/assets/images/quaternity-1.png' | url }}" alt="Quaternity board with pieces in starting position." />
451451
</a>
452-
<a href="assets/images/quaternity-2.png">
453-
<img src="assets/images/quaternity-2.png" alt="Close-up of Quaternity game in progress." />
452+
<a href="{{ '/assets/images/quaternity-2.png' | url }}">
453+
<img src="{{ '/assets/images/quaternity-2.png' | url }}" alt="Close-up of Quaternity game in progress." />
454454
</a>
455-
<a href="assets/images/quaternity-3.png">
456-
<img src="assets/images/quaternity-3.png" alt="A different view of a Quaternity game in progress." />
455+
<a href="{{ '/assets/images/quaternity-3.png' | url }}">
456+
<img src="{{ '/assets/images/quaternity-3.png' | url }}" alt="A different view of a Quaternity game in progress." />
457457
</a>
458-
<a href="assets/images/quaternity-4.png">
459-
<img src="assets/images/quaternity-4.png" alt="The Quaternity game box and components." />
458+
<a href="{{ '/assets/images/quaternity-4.png' | url }}">
459+
<img src="{{ '/assets/images/quaternity-4.png' | url }}" alt="The Quaternity game box and components." />
460460
</a>
461461
</div>
462462
</section>

frontend/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
permalink: index/
2+
permalink: /
33
layout: 'layouts/base.njk'
44
title: Home
55
---
@@ -143,15 +143,15 @@ title: Home
143143
</tr>
144144
</tbody>
145145
</table>
146-
<img src="/assets/locations.jpg" alt="Chess Meetup" />
146+
<img src="{{ '/assets/locations.jpg' | url }}" alt="Chess Meetup" />
147147
</section>
148148
<!-- Section 3 -->
149149
<section class="section">
150150
<h2>A Dedicated Team of Organisers</h2>
151151
<p>
152152
We are a registered community organisation in Queensland with a committee. Ready to contribute? We would like to hear from you.
153153
</p>
154-
<img src="/assets/organisers.jpg" alt="Organisers" />
154+
<img src="{{ '/assets/organisers.jpg' | url }}" alt="Organisers" />
155155
</section>
156156
<!-- Section 4 -->
157157
<section class="section">
@@ -173,7 +173,7 @@ title: Home
173173
<a href="https://www.chess.com/club/brisbane-social-chess" class="button">Chess.com</a>
174174
<a href="https://lichess.org/team/brisbane-social-chess" class="button">Lichess</a>
175175
</div>
176-
<img src="/assets/background-smaller.jpg" alt="Play Chess" />
176+
<img src="{{ '/assets/background-smaller.jpg' | url }}" alt="Play Chess" />
177177
</section>
178178

179179
<!-- # Welcome to My Eleventy Blog

frontend/meetup.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ title: Meetups
88
<h2>Weekly Meetups</h2>
99
<p>Click on a day to view detailed meetup information:</p>
1010
<div class="button-group">
11-
<a href="/meetup/monday/" class="button">Monday</a>
12-
<!-- <a href="/meetup/tuesday/" class="button">Tuesday</a> -->
13-
<a href="/meetup/wednesday/" class="button">Wednesday</a>
14-
<a href="/meetup/thursday/" class="button">Thursday</a>
15-
<a href="/meetup/friday/" class="button">Friday</a>
16-
<a href="/meetup/saturday/" class="button">Saturday</a>
17-
<a href="/meetup/sunday/" class="button">Sunday</a>
11+
<a href="{{ '/meetup/monday/' | url }}" class="button">Monday</a>
12+
<!-- <a href="{{ '/meetup/tuesday/' | url }}" class="button">Tuesday</a> -->
13+
<a href="{{ '/meetup/wednesday/' | url }}" class="button">Wednesday</a>
14+
<a href="{{ '/meetup/thursday/' | url }}" class="button">Thursday</a>
15+
<a href="{{ '/meetup/friday/' | url }}" class="button">Friday</a>
16+
<a href="{{ '/meetup/saturday/' | url }}" class="button">Saturday</a>
17+
<a href="{{ '/meetup/sunday/' | url }}" class="button">Sunday</a>
1818
</div>
1919
</section>

0 commit comments

Comments
 (0)