Skip to content

Commit 76a9a38

Browse files
marc1404VelmiraS
authored andcommitted
Add hackathon tag to relevant blog entries (#962)
* docs: Add hackathon tag to relevant blog entries * docs: Document hackathon tag * chore: Add logic for automatically applying hackathon tag
1 parent d9917ed commit 76a9a38

5 files changed

Lines changed: 9 additions & 0 deletions

hack/apply-blog-tags.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const CONTENT_TYPE_TAGS = [
1111
'technical-deep-dive',
1212
'case-study',
1313
'community-event',
14+
'hackathon',
1415
'tutorial',
1516
'milestone'
1617
]
@@ -167,6 +168,10 @@ function inferTags(frontmatter, body, filePath) {
167168
tags.push('community-event')
168169
}
169170

171+
if (includesAny(title, ['hackathon']) || includesAny(slug, ['hackathon'])) {
172+
tags.push('hackathon')
173+
}
174+
170175
if (/\bv\d+\.\d+(\.\d+)?\b/.test(title) || includesAny(title, [' release ', 'released'])) {
171176
tags.push('release-notes')
172177
tags.push('feature-announcement')

website/blog/2024/05/05-21-innovation-unleashed-a-deep-dive-into-the-5th-gardener-community-hackathon.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ tags:
1313
- community-event
1414
- security
1515
- helm
16+
- hackathon
1617
---
1718
![Hackathon 2024/05 Team](images/hackathon202405-team.jpg "Hackathon 2024/05 Team")
1819

website/blog/2024/12/12-08-unleashing-potential-highlights-from-the-6th-gardener-community-hackathon.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tags:
1212
- feature-announcement
1313
- community-event
1414
- networking
15+
- hackathon
1516
---
1617
![Hackathon 2024/12 Team](images/hackathon202412-team.jpg "Hackathon 2024/12 Team")
1718

website/blog/2025/06/06-17-taking-gardener-to-the-next-level-highlights-from-the-7th-gardener-community-hackathon-in-schelklingen.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ aliases: ["/blog/2025/06/06-17-taking-gardener-to-the-next-level-highlights-from
1111
tags:
1212
- community-event
1313
- apeiro
14+
- hackathon
1415
---
1516
# Taking Gardener to the Next Level: Highlights from the 7th Gardener Community Hackathon in Schelklingen
1617

website/documentation/contribute/documentation/blog-tags.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Use lowercase kebab-case (`tag-name`) for all tags.
1717
- `technical-deep-dive`: Detailed technical analysis and architecture content.
1818
- `case-study`: Practical implementation reports and production stories.
1919
- `community-event`: Community meeting, conference or Hackathon updates.
20+
- `hackathon`: Hackathon updates.
2021
- `tutorial`: Step-by-step usage guidance.
2122
- `milestone`: Project anniversary or major achievement summaries.
2223

0 commit comments

Comments
 (0)