-
Greetings, I am trying to add a contact page to the navigation links and am unable to get the page to render on netlify. I have updated my config file to include the contact page in the menu section and in taxonomies. It seems to be working locally but will not render when hosted. I have attempted a variety of hugo build options, creating html page from scratch and using shortcodes to include html file, and using rawhtml shortcode in contact.md. I also resorted to just using standard markdown with NO html and it still will not render. The page does not produce any build errors on netlify so I'm not sure where to begin troubleshooting. Any advice would be greatly appreciated. This is what it looks like on my local machine when just using standard markdown to list my name/email: This is how it renders on the live build on netlify: GitHub: https://github.com/kmcleste/personal-blog Update I've now also tried setting a category for the contact page and it does show up in the categories page, it grabs the correct title and summary, but still when trying to access the page nothing renders. I assumed it may be some CORS policy issue but chrome dev tools don't show anything. Also, just looking at the source code for the live webpage, it appears that the content isn't even making it into the build?? Very strange... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Simple error...I had conflicting urls in my contact.md front matter and in the config.yml. After fixing, everything works perfectly. |
Beta Was this translation helpful? Give feedback.
Simple error...I had conflicting urls in my contact.md front matter and in the config.yml. After fixing, everything works perfectly.