Skip to content

Commit 2528ef1

Browse files
fixed broken link (mdn#32461)
* fixed broken link replaced a broken link from the template/view section with it's archive * Update files/en-us/learn/server-side/express_nodejs/introduction/index.md --------- Co-authored-by: Hamish Willee <[email protected]>
1 parent 5fef5d3 commit 2528ef1

File tree

1 file changed

+1
-1
lines changed
  • files/en-us/learn/server-side/express_nodejs/introduction

1 file changed

+1
-1
lines changed

files/en-us/learn/server-side/express_nodejs/introduction/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ For more information see [Database integration](https://expressjs.com/en/guide/d
478478

479479
### Rendering data (views)
480480

481-
Template engines (also referred to as "view engines" by _Express_'s documentation) allow you to specify the _structure_ of an output document in a template, using placeholders for data that will be filled in when a page is generated. Templates are often used to create HTML, but can also create other types of documents. Express has support for [a number of template engines](https://github.com/expressjs/express/wiki#template-engines), and there is a useful comparison of the more popular engines here: [Comparing JavaScript Templating Engines: Jade, Mustache, Dust and More](https://strongloop.com/strongblog/compare-javascript-templates-jade-mustache-dust/).
481+
Template engines (also referred to as "view engines" in _Express_) allow you to specify the _structure_ of an output document in a template, using placeholders for data that will be filled in when a page is generated. Templates are often used to create HTML, but can also create other types of documents. Express has support for [a number of template engines](https://expressjs.com/en/resources/template-engines.html), each with its own strengths for addressing particular use cases (relative comparisons can easily be found via Internet search).
482482

483483
In your application settings code you set the template engine to use and the location where Express should look for templates using the 'views' and 'view engine' settings, as shown below (you will also have to install the package containing your template library too!)
484484

0 commit comments

Comments
 (0)