Skip to content

Conversation

@MohammadRehaanDev
Copy link

Screenshot 2025-10-30 at 10 56 01 PM his pull request introduces a new link to the Code of Conduct in the site's footer, making the policy more easily discoverable for all community members.

This work was done on the feat/coc-footer-link branch and includes:

Adding a new list item with a link to /code-of-conduct.html within the "Quick link" section of the footer template.

Formatting fixes applied by the black pre-commit hook during the commit process.

Testing Checklist:

[x] Confirmed uv run render-engine serve successfully builds the site.

[x] Confirmed the new "Code of Conduct" link appears in the footer.

[x] Confirmed the link successfully navigates to the /code-of-conduct.html page.

@MohammadRehaanDev MohammadRehaanDev changed the title dd explicit Code of Conduct page route and footer link Add explicit Code of Conduct page route and footer link Oct 30, 2025
Copy link
Contributor

@kjaymiller kjaymiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the unneccessary page creation and you're all set!

Comment on lines +70 to +77
@app.page
class CodeOfConduct(Page):
Parser = MarkdownPageParser
content_path = "pages/coc.md"
template = "default.html"
slug = "coc"


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@app.page
class CodeOfConduct(Page):
Parser = MarkdownPageParser
content_path = "pages/coc.md"
template = "default.html"
slug = "coc"

We don't need to build the coc again because it's built in the pages collection.

@kjaymiller kjaymiller closed this Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants