Skip to content

Commit 22b3822

Browse files
committed
Rename page variable in index.html files
1 parent 1df87ad commit 22b3822

4 files changed

Lines changed: 44 additions & 44 deletions

File tree

.DS_Store

8 KB
Binary file not shown.

archive/2025/index.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,29 @@
22
layout: page
33
---
44

5-
{% assign page = site.data['2025'] %}
5+
{% assign website = site.data['2025'] %}
66

77
<div class="hero-container">
88
<div class="hero">
99
<img class="logo" src="/assets/birminghack-pathed.svg" />
1010
<div class="date">
11-
{{ page.event.date }}
11+
{{ website.event.date }}
1212
</div>
1313
<div class="location">
14-
{{ page.event.location }}
14+
{{ website.event.location }}
1515
</div>
1616
</div>
1717
</div>
1818

1919
<div class="about">
2020
<h3>About this event</h3>
2121
<div class="attendees">
22-
birmingHack {{page.event.edition}} had {{ page.event.attendees }} hackers with {{ page.event.ticket_sales }} ticket sales!
23-
The devpost is available <a href={{ page.event.devpost_link }}>here</a>!
22+
birmingHack {{website.event.edition}} had {{ website.event.attendees }} hackers with {{ website.event.ticket_sales }} ticket sales!
23+
The devpost is available <a href={{ website.event.devpost_link }}>here</a>!
2424
</div>
2525

2626
<div class="photos-button">
27-
<a href="{{ page.event.photos }}" class="photos-link">
27+
<a href="{{ website.event.photos }}" class="photos-link">
2828
<h3>Photos</h3>
2929
</a>
3030
</div>
@@ -38,13 +38,13 @@ <h3>Welcome to birmingHack!</h3>
3838
</div>
3939

4040

41-
{% if page.show_sponsors %}
41+
{% if website.show_sponsors %}
4242
<div id="sponsors" class="sponsors section">
4343
<h2 class="section-title">Sponsors</h2>
4444
<!-- <p>
45-
birmingHack {{ page.event.edition }} is proudly sponsored by the following
45+
birmingHack {{ website.event.edition }} is proudly sponsored by the following
4646
</p> -->
47-
{% for sponsor-tier in page.sponsors %}
47+
{% for sponsor-tier in website.sponsors %}
4848
<div class="sponsors-container">
4949
{% for sponsor in sponsor-tier.sponsors %}
5050
<div class="sponsor" style="{{ 'background-color: #' | append: sponsor.colour }}">
@@ -62,10 +62,10 @@ <h2 class="section-title">Sponsors</h2>
6262
<div class="section">
6363
<h2 class="section-title">Schedule</h2>
6464
<p>
65-
{{ page.schedule.notes }}
65+
{{ website.schedule.notes }}
6666
</p>
6767
<div class="days">
68-
{% for day in page.schedule.events %}
68+
{% for day in website.schedule.events %}
6969
<div class="day">
7070
<h3 class="header">{{ day.day }}</h3>
7171
{% for item in day.events %}
@@ -81,7 +81,7 @@ <h3 class="header">{{ day.day }}</h3>
8181
</div>
8282
{% endfor %}
8383
</div>
84-
{% unless page.schedule.final %}
84+
{% unless website.schedule.final %}
8585
<p class="disclaimer">* This schedule is not final; it is subject to change.</p>
8686
{% endunless %}
8787
</div>
@@ -122,15 +122,15 @@ <h3 class="header">{{ day.day }}</h3>
122122
</div>
123123
</div>
124124
<div id="timer-text">
125-
<span class="timer-label">until birmingHack {{ page.event.edition }} starts!</span>
125+
<span class="timer-label">until birmingHack {{ website.event.edition }} starts!</span>
126126
</div>
127127
</div>
128128
</div>
129129

130130
<div id="partners" class="partners section">
131131
<h2 class="section-title">Partners</h2>
132132
<div class="partners-container">
133-
{% for partner in page.partners %}
133+
{% for partner in website.partners %}
134134
<div class="partner" style="{{ 'background-color: #' | append: partner.colour }}">
135135
<a href="{{ partner.url }}" target="_blank" title="{{ partner.name }}">
136136
<img src="{{ partner.logo }}" alt="{{ partner.name }}" height="75" />
@@ -142,7 +142,7 @@ <h2 class="section-title">Partners</h2>
142142

143143
<div id="faqs" class="faqs section">
144144
<h2 class="section-title">FAQs</h2>
145-
{% for faq in page.faqs %}
145+
{% for faq in website.faqs %}
146146
<details>
147147
<summary>{{ faq.question }}</summary>
148148
<p>{{ faq.answer }}</p>

archive/2026/index.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,29 @@
22
layout: page
33
---
44

5-
{% assign page = site.data['2026'] %}
5+
{% assign website = site.data['2026'] %}
66

77
<div class="hero-container">
88
<div class="hero">
99
<img class="logo" src="/assets/birminghack-pathed.svg" />
1010
<div class="date">
11-
{{ page.event.date }}
11+
{{ website.event.date }}
1212
</div>
1313
<div class="location">
14-
{{ page.event.location }}
14+
{{ website.event.location }}
1515
</div>
1616
</div>
1717
</div>
1818

1919
<div class="about">
2020
<h3>About this event</h3>
2121
<div class="attendees">
22-
birmingHack {{page.event.edition}} had {{ page.event.attendees }} hackers with {{ page.event.ticket_sales }} ticket sales!
23-
The devpost is available <a href={{ page.event.devpost_link }}>here</a>!
22+
birmingHack {{website.event.edition}} had {{ website.event.attendees }} hackers with {{ website.event.ticket_sales }} ticket sales!
23+
The devpost is available <a href={{ website.event.devpost_link }}>here</a>!
2424
</div>
2525

2626
<div class="photos-button">
27-
<a href="{{ page.event.photos }}" class="photos-link">
27+
<a href="{{ website.event.photos }}" class="photos-link">
2828
<h3>Photos</h3>
2929
</a>
3030
</div>
@@ -38,13 +38,13 @@ <h3>Welcome to birmingHack!</h3>
3838
</div>
3939

4040

41-
{% if page.show_sponsors %}
41+
{% if website.show_sponsors %}
4242
<div id="sponsors" class="sponsors section">
4343
<h2 class="section-title">Sponsors</h2>
4444
<!-- <p>
45-
birmingHack {{ page.event.edition }} is proudly sponsored by the following
45+
birmingHack {{ website.event.edition }} is proudly sponsored by the following
4646
</p> -->
47-
{% for sponsor-tier in page.sponsors %}
47+
{% for sponsor-tier in website.sponsors %}
4848
<div class="sponsors-container">
4949
{% for sponsor in sponsor-tier.sponsors %}
5050
<div class="sponsor" style="{{ 'background-color: #' | append: sponsor.colour }}">
@@ -62,10 +62,10 @@ <h2 class="section-title">Sponsors</h2>
6262
<div class="section">
6363
<h2 class="section-title">Schedule</h2>
6464
<p>
65-
{{ page.schedule.notes }}
65+
{{ website.schedule.notes }}
6666
</p>
6767
<div class="days">
68-
{% for day in page.schedule.events %}
68+
{% for day in website.schedule.events %}
6969
<div class="day">
7070
<h3 class="header">{{ day.day }}</h3>
7171
{% for item in day.events %}
@@ -81,7 +81,7 @@ <h3 class="header">{{ day.day }}</h3>
8181
</div>
8282
{% endfor %}
8383
</div>
84-
{% unless page.schedule.final %}
84+
{% unless website.schedule.final %}
8585
<p class="disclaimer">* This schedule is not final; it is subject to change.</p>
8686
{% endunless %}
8787
</div>
@@ -122,15 +122,15 @@ <h3 class="header">{{ day.day }}</h3>
122122
</div>
123123
</div>
124124
<div id="timer-text">
125-
<span class="timer-label">until birmingHack {{ page.event.edition }} starts!</span>
125+
<span class="timer-label">until birmingHack {{ website.event.edition }} starts!</span>
126126
</div>
127127
</div>
128128
</div>
129129

130130
<div id="partners" class="partners section">
131131
<h2 class="section-title">Partners</h2>
132132
<div class="partners-container">
133-
{% for partner in page.partners %}
133+
{% for partner in website.partners %}
134134
<div class="partner" style="{{ 'background-color: #' | append: partner.colour }}">
135135
<a href="{{ partner.url }}" target="_blank" title="{{ partner.name }}">
136136
<img src="{{ partner.logo }}" alt="{{ partner.name }}" height="75" />
@@ -142,7 +142,7 @@ <h2 class="section-title">Partners</h2>
142142

143143
<div id="faqs" class="faqs section">
144144
<h2 class="section-title">FAQs</h2>
145-
{% for faq in page.faqs %}
145+
{% for faq in website.faqs %}
146146
<details>
147147
<summary>{{ faq.question }}</summary>
148148
<p>{{ faq.answer }}</p>

index.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
layout: page
33
---
44

5-
{% assign page = site.data['2026'] %}
5+
{% assign website = site.data['2026'] %}
66

77
<div class="hero-container">
88
<div class="hero">
99
<img class="logo" src="/assets/birminghack-pathed.svg" />
1010
<div class="date">
11-
{{ page.event.date }}
11+
{{ website.event.date }}
1212
</div>
1313
<div class="location">
14-
{{ page.event.location }}
14+
{{ website.event.location }}
1515
</div>
1616
</div>
1717
</div>
@@ -25,14 +25,14 @@ <h3>Welcome to birmingHack!</h3>
2525

2626
<div id="tickets" class="tickets section">
2727
<div class="tickets-description">
28-
{% if page.tickets.released %}
29-
{% if page.tickets.available %}
28+
{% if website.tickets.released %}
29+
{% if website.tickets.available %}
3030
<p class="tickets-title"><i class="fa-solid fa-ticket"></i> Tickets now available!</p>
3131
<p>
3232
You can now register for birmingHack 2026! Please note that tickets are limited, so make sure to register as soon as possible.
3333
</p>
3434
</div>
35-
<a href="{{ page.tickets.link }}">Register <i class="fa-solid fa-arrow-right-long"></i></a>
35+
<a href="{{ website.tickets.link }}">Register <i class="fa-solid fa-arrow-right-long"></i></a>
3636
{% else %}
3737
<p class="tickets-title"><i class="fa-solid fa-ticket"></i> Tickets no longer available</p>
3838
<p>
@@ -49,13 +49,13 @@ <h3>Welcome to birmingHack!</h3>
4949
{% endif %}
5050
</div>
5151

52-
{% if page.show_sponsors %}
52+
{% if website.show_sponsors %}
5353
<div id="sponsors" class="sponsors section">
5454
<h2 class="section-title">Sponsors</h2>
5555
<!-- <p>
56-
birmingHack {{ page.event.edition }} is proudly sponsored by the following
56+
birmingHack {{ website.event.edition }} is proudly sponsored by the following
5757
</p> -->
58-
{% for sponsor-tier in page.sponsors %}
58+
{% for sponsor-tier in website.sponsors %}
5959
<div class="sponsors-container">
6060
{% for sponsor in sponsor-tier.sponsors %}
6161
<div class="sponsor" style="{{ 'background-color: #' | append: sponsor.colour }}">
@@ -73,10 +73,10 @@ <h2 class="section-title">Sponsors</h2>
7373
<div class="section">
7474
<h2 class="section-title">Schedule</h2>
7575
<p>
76-
{{ page.schedule.notes }}
76+
{{ website.schedule.notes }}
7777
</p>
7878
<div class="days">
79-
{% for day in page.schedule.events %}
79+
{% for day in website.schedule.events %}
8080
<div class="day">
8181
<h3 class="header">{{ day.day }}</h3>
8282
{% for item in day.events %}
@@ -92,7 +92,7 @@ <h3 class="header">{{ day.day }}</h3>
9292
</div>
9393
{% endfor %}
9494
</div>
95-
{% unless page.schedule.final %}
95+
{% unless website.schedule.final %}
9696
<p class="disclaimer">* This schedule is not final; it is subject to change.</p>
9797
{% endunless %}
9898
</div>
@@ -141,7 +141,7 @@ <h3 class="header">{{ day.day }}</h3>
141141
<div id="partners" class="partners section">
142142
<h2 class="section-title">Partners</h2>
143143
<div class="partners-container">
144-
{% for partner in page.partners %}
144+
{% for partner in website.partners %}
145145
<div class="partner" style="{{ 'background-color: #' | append: partner.colour }}">
146146
<a href="{{ partner.url }}" target="_blank" title="{{ partner.name }}">
147147
<img src="{{ partner.logo }}" alt="{{ partner.name }}" height="75" />
@@ -153,7 +153,7 @@ <h2 class="section-title">Partners</h2>
153153

154154
<div id="faqs" class="faqs section">
155155
<h2 class="section-title">FAQs</h2>
156-
{% for faq in page.faqs %}
156+
{% for faq in website.faqs %}
157157
<details>
158158
<summary>{{ faq.question }}</summary>
159159
<p>{{ faq.answer }}</p>

0 commit comments

Comments
 (0)