Skip to content

Commit aef2219

Browse files
Merge main into hoodies
2 parents 4516a47 + 744ba1a commit aef2219

5 files changed

Lines changed: 12 additions & 4 deletions

File tree

‎_data/links.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,22 @@
2525
- text: Get membership!
2626
url: /join
2727
image: /assets/images/guild-colour-logo.png
28+
analytics_event: links_get_membership
2829

2930
- text: Join our Discord community
3031
url: /discord
3132
image: /assets/images/discord-logo.png
33+
analytics_event: links_join_discord
3234

3335
- text: Join our WhatsApp group
3436
url: https://chat.whatsapp.com/HA2wW0rxk9lH7DmNDXrsBB
3537
image: /assets/images/whatsapp-logo.png
38+
analytics_event: links_join_whatsapp
3639

3740
- text: Follow us on Instagram
3841
url: /instagram
3942
image: /assets/images/instagram-logo.png
43+
analytics_event: links_follow_instagram
4044

4145
- text: Read Missing Semester lecture notes
4246
url: https://missingsemester.afnom.net/

‎_includes/footer.html‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
<footer>
22
<p>© CSS website contributors {{ 'now' | date: "%Y" }}</p>
3+
<!-- Simple Analytics - 100% privacy-first analytics -->
4+
<script async src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
5+
<script async src="https://scripts.simpleanalyticscdn.com/inline-events.js"></script>
36
</footer>

‎admin/config.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
backend:
22
name: github
33
repo: CSSUoB/cssuob.github.io
4-
branch: master
4+
branch: main
55

66
publish_mode: editorial_workflow
77

‎links.html‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
{% if link.type == "divider" %}
1818
<h4 style="padding-bottom: 10px;">{{ link.text }}</h4>
1919
{% else %}
20-
<a class=" wide-child post-preview fadein" style="--child-index: {{ forloop.index }};" href="{{ link.url }}">
20+
<a class="wide-child post-preview fadein" style="--child-index: {{ forloop.index }};" href="{{ link.url }}"
21+
{% if link.analytics_event %}data-simple-event="{{ link.analytics_event }}"{% endif %}>
2122
{% if link.image %}
2223
<div class="post-thumbnail-container">
2324
<img alt="{{ link.text }}" src="{{ link.image | relative_url }}">
@@ -31,4 +32,4 @@ <h2 class="post-title">{{ link.text }}</h2>
3132

3233
{% endfor %}
3334
</div>
34-
</div>
35+
</div>

‎membership.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ server, the Guild website can occasionally be a little temperamental!
1919
Interested in seeing our historical membership statistics and some fun graphs? Check them out on the [stats page](/membership-stats)!
2020

2121
<div class="text-center">
22-
<a href="/join" class="button guild-button">
22+
<a href="/join" class="button guild-button" data-simple-event="membership_get_membership">
2323
<img src="/assets/about/guild-logo.svg" class="text-img" alt="Get Membership">
2424
Get Membership
2525
</a>

0 commit comments

Comments
 (0)