dzcode-io / dzcode.io

Website & mobile app for Algerian open-source community
https://dzcode.io
MIT License
114 stars 41 forks source link

Articles are empty and shown in menu, and Title not reflecting the current page #314

Open Fcmam5 opened 3 years ago

Fcmam5 commented 3 years ago

As a random user (for real) I wanted to click on random articles, and un-luckily I landed on empty ones before I find the ones with actual content.

It might be that they were eyecatching (longer/more interesting titles or they were ranked before).

image

I think that it's better to have a small menu than to have a long one with empty content.


Also, another small bug: Page title doesn't change after leaving the page, so if I land on: https://www.dzcode.io/Learn/Git_Basics/What_The_Fork

My tab title will be "What the Fork!" everywhere.

Aaaand last: I suggest keeping the site name as a part of the tab title, so we should set:

<title>Article title | dzCode i/o</title>

ZibanPirate commented 3 years ago

for the title issue, https://github.com/nfl/react-helmet should solve it

ZibanPirate commented 3 years ago

reopening for the "Title" part of this issue