mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 20:42:43 +00:00
add user page
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user