Skip to content

Commit 66005b4

Browse files
committed
refactor footer community links
AI Prompts: claude-sonnet-4-6: <ide_opened_file>The user opened the file ./_includes/footer.html in the IDE. This may or may not be related to the current task.</ide_opened_file> move the Community links into _data
1 parent dd126e5 commit 66005b4

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

‎_data/footer_nav.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ project:
99
url: /ai-policy
1010
- label: Code of Conduct
1111
url: /code-of-conduct
12+
13+
community:
14+
- label: GitHub
15+
url: https://github.com/pycalendar
16+
- label: NLnet
17+
url: https://nlnet.nl
18+
- label: PyPI
19+
url: https://pypi.org/search/?q=icalendar
20+
- label: Funding
21+
url: https://opencollective.com/python-icalendar

‎_includes/footer.html‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ <h4>Project</h4>
1616
<div class="footer-col">
1717
<h4>Community</h4>
1818
<ul>
19-
<li><a href="https://github.com/pycalendar" target="_blank" rel="noopener">GitHub</a></li>
20-
<li><a href="https://nlnet.nl" target="_blank" rel="noopener">NLnet</a></li>
21-
<li><a href="https://pypi.org/search/?q=icalendar" target="_blank" rel="noopener">PyPI</a></li>
22-
<li><a href="https://opencollective.com/python-icalendar" target="_blank" rel="noopener">Funding</a></li>
19+
{% for item in site.data.footer_nav.community %}
20+
<li><a href="{{ item.url }}" target="_blank" rel="noopener">{{ item.label }}</a></li>
21+
{% endfor %}
2322
</ul>
2423
</div>
2524
</div>

0 commit comments

Comments
 (0)