content icon indicating copy to clipboard operation
content copied to clipboard

Express-introduction: Broken link

Open Sokolan opened this issue 1 year ago • 2 comments

MDN URL

https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/Introduction

What specific section or headline is this issue about?

https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/Introduction#rendering_data_views

What information was incorrect, unhelpful, or incomplete?

The provided link to the list of template engines is broken.

What did you expect to see?

working link.

Do you have any supporting links, references, or citations?

After taking a look at the express github repo it seems like they've removed the page. The same PR also removed another broken link which was mentioned here.

Do you have anything more you want to share?

No response

MDN metadata

Page report details
  • Folder: en-us/learn/server-side/express_nodejs/introduction
  • MDN URL: https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/Introduction
  • GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/learn/server-side/express_nodejs/introduction/index.md
  • Last commit: https://github.com/mdn/content/commit/e7d7c8739cd6315a32400e76de2ec79594e86d8a
  • Document last modified: 2024-06-10T14:32:11.000Z

Sokolan avatar Jun 28 '24 09:06 Sokolan

Thanks for reporting. We could replace with https://expressjs.com/en/guide/using-template-engines.html, what do you think?

bsmth avatar Jun 28 '24 10:06 bsmth

That link is already provided in the end of the template section: For more information see Using template engines with Express (Express docs). I think it would be a duplication, and there's a minimal information regarding what template engines work with express (from the provided link):

Some popular template engines that work with Express are Pug, Mustache, and EJS. The Express application generator uses Jade as its default, but it also supports several others.

I'm currently studying the subject (that's why I've stumbled the broken link) so maybe I'm maybe I'm wrong about it.

Sokolan avatar Jun 28 '24 10:06 Sokolan

Thanks. That is so annoying - we only fixed up the original link in March https://github.com/mdn/content/pull/32461/.

I'll fix this with some words about the supported versions. Note, not quite those words though, since we don't want to recommend Jade, which become Pug.

hamishwillee avatar Jul 01 '24 04:07 hamishwillee

Done in #34527

hamishwillee avatar Jul 01 '24 04:07 hamishwillee