Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
Fixing author tag
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasmh committed May 24, 2017
1 parent 4a6dc2e commit 8740adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ app.get('/blog/:post', function (req, res) {
image: image,
metatags: `\n <link rel="amphtml" href="https://ascendntnu.no/blog/amp/${link}">`
+ tags.map(tag => `\n <meta property="article:tag" content="${tag}" />`).join('\n ')
+ authors.map(author => `\n <meta property="article:author" content="${author}" />`).join('\n ')
+ authors.map(author => `\n <meta property="author" content="${author}" />`).join('\n ')
}))
} else {
res.sendFile(__dirname + '/index.html')
Expand Down

0 comments on commit 8740adb

Please sign in to comment.