diff --git a/client/template.js b/client/template.js index 6ee7f9d4a..d59b1d29e 100644 --- a/client/template.js +++ b/client/template.js @@ -25,6 +25,14 @@ const template = async function(name, title='', props = {}){ thumbnail : props.brew.thumbnail || null, type : 'article' }); + } else if(props.url.match(/\/user\//)){ + Object.assign(ogMeta, { + siteName : null, + title : `${props.username} - The Homebrewery`, + description : `${props.username}'s user page.`, + thumbnail : null, + type : 'profile' + }); } const ogTags = [];