EDIT: SOLVED. It wasn't a problem with the tos.html or layout.html or home.html files or the folder structure. It was an nginx problem, which has been fixed. Thank you all for the replies and helping out!
- The tos.html file is present in the /home/app/throat/app/templates/ folder. I checked the layout.html file and it's referenced correctly as <a href="{{url_for('tos')}}">ToS</a>. Any other files that I need to look for?
For the layout.html file in /home/app/throat/app/html/shared/ the reference is <a href="@{url_for('tos')}">ToS</a>. The codes/hrefs seem to be correct. I've pulled my hair long enough so just giving it a go on this sub if one of you might have an answer.
- As for the homepage sidebar where you have the Hot, Top, and New links, the Top link also gives a 404 Not Found error. The Hot and New links work just fine. Are there any particular files that I need to look and what might be wrong?
The ToS one is to hold you legally responsible, so you can be sued for everything going on on the site. The other ones you can ignore.