tokio-rs / website

Website for the Tokio project
https://tokio.rs
MIT License
229 stars 329 forks source link

Blog posts don't show their date #637

Closed lilyball closed 1 year ago

lilyball commented 2 years ago

When viewing a blog post, there's no indication on the page as to what date it was posted. If it's a recent post it will be in the sidebar, but for anything older than that, there's no date. For example, New Timer implementation does not tell me when it was posted.

The best I can do is look at the URL and see that the slug includes "2018-03", which suggests it was posted in March of 2018, but it doesn't tell me the day, and this won't work if I can't easily see the full URL.

I would suggest putting the date as deemphasized text just under the title. Some blogs put post dates at the bottom after the whole post, but having the date be easily visible before reading the post can help avoid confusion (e.g. when the stuff the post is talking about has already been obsoleted, it's useful to know that it's an old post before I even start reading).

SakshiT25 commented 1 year ago

Hey @lilyball, I would like to work on this issue. Can you please me on the further procedure?

Darksonn commented 1 year ago

The procedure is the following:

  1. Clone this repository.
  2. Make the appropriate changes to the code.
  3. Submit a PR to this repository, citing this issue.
  4. Someone will review your code.
SakshiT25 commented 1 year ago

@Darksonn Hi, Can you please assign me this issue so I can make the changes? Currently, I'm unable to access some files. Thank you.

Darksonn commented 1 year ago

You should fork the repository and make the changes in your fork.

ce-dr commented 1 year ago

@SakshiT25 is this still something you like to do? Otherwise I'll have a go at it over the weekend.