Skip to content

Commit

Permalink
Fix prerender thumbnail
Browse files Browse the repository at this point in the history
  • Loading branch information
breslavsky committed May 30, 2023
1 parent d92c6ab commit e6c1dcf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,10 @@ function prerender(tutorial) {
let output = files.index;

if (!!tutorial.meta) {
const {description, thumbnail, keywords, site} = tutorial.meta;
let {description, thumbnail, keywords, site} = tutorial.meta;

thumbnail = thumbnail.replace('{TAG}', TAG);

const meta = xml([
metaTag('name', 'description', description),
metaTag('name', 'keywords', keywords),
Expand Down

0 comments on commit e6c1dcf

Please sign in to comment.