mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 16:22:44 +00:00
fix og:image and og:site_name
This commit is contained in:
@@ -78,10 +78,10 @@ const faqText = require('fs').readFileSync('faq.md', 'utf8');
|
||||
String.prototype.replaceAll = function(s, r){return this.split(s).join(r);};
|
||||
|
||||
const defaultMetaTags = {
|
||||
siteName : 'The Homebrewery - Make your Homebrew content look legit!',
|
||||
site_name : 'The Homebrewery - Make your Homebrew content look legit!',
|
||||
title : 'The Homebrewery',
|
||||
description : 'A NaturalCrit Tool for Homebrews',
|
||||
thumbnail : `${config.get('publicUrl')}/thumbnail.png`,
|
||||
image : `${config.get('publicUrl')}/thumbnail.png`,
|
||||
type : 'website'
|
||||
};
|
||||
|
||||
@@ -149,7 +149,7 @@ app.get('/changelog', async (req, res, next)=>{
|
||||
req.ogMeta = { ...defaultMetaTags,
|
||||
title : 'Changelog',
|
||||
description : 'Development changelog.',
|
||||
thumbnail : null
|
||||
image : null
|
||||
};
|
||||
|
||||
splitTextStyleAndMetadata(req.brew);
|
||||
|
||||
Reference in New Issue
Block a user