the-programmers-hangout / website

🌳 TPH website
https://theprogrammershangout.com
MIT License
102 stars 67 forks source link

fix(rules): fix rule links and formatting #169

Closed ddivad195 closed 4 years ago

ddivad195 commented 4 years ago

fix(rules): fix rule links and formatting

Currently, some of the links from the Table of Contents do not correctly link to the anchors in the page. It seems that the reason for this is that the links in the ToC are camel case, wheras the anchors in the Gatsby generated page are all lowercase.

IE: https://theprogrammershangout.com/rules#What-is-ModMail vs https://theprogrammershangout.com/rules#what-is-modmail

This PR updates the links in the ToC to see if this will make it link to the correct section properly.

This PR also fixes title formatting to add a newline between the title and the content: Before: image

After: image