Skip to content

Commit 3d7ef19

Browse files
committed
Add title
1 parent 0ff41ce commit 3d7ef19

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/controllers/ngsi-ld/animal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async function getAnimals(req, res) {
3131

3232
function displayMap(req, res) {
3333
debug('displayMap');
34-
return res.render('animalMap');
34+
return res.render('animalMap', {title: 'Animal Locations'});
3535
}
3636

3737
// This function receives the details of a person from the context

app/views/animalMap.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extends layout
22

33
block content
4-
h1 Animal Locations
4+
h1= title
55

66
div.row
77
div.col

0 commit comments

Comments
 (0)