fix(backend): Fix for homepage OG image
This commit is contained in:
parent
30fcf6c726
commit
cdf893c92f
1 changed files with 5 additions and 4 deletions
|
@ -125,10 +125,11 @@ const getMetaData = {
|
||||||
const data = {}
|
const data = {}
|
||||||
const chunks = page.split('/')
|
const chunks = page.split('/')
|
||||||
// Home page
|
// Home page
|
||||||
if (chunks.length === 0) return {
|
if (chunks.length === 1 && chunks[0] === '') return {
|
||||||
title: 'FreeSewing FIXME',
|
title: ['FreeSewing.dev'],
|
||||||
intro: "FreeSewing's fixme",
|
intro: introAsLines('FreeSewing API documentation and tutorials for developers and contributors'),
|
||||||
sub: ['freesewing.dev', '/fixme'],
|
sub: ['Also featuring', ' our developers blog'],
|
||||||
|
lead: '.dev',
|
||||||
}
|
}
|
||||||
// Blog index page
|
// Blog index page
|
||||||
if (chunks.length === 1 && chunks[0] === 'blog') return {
|
if (chunks.length === 1 && chunks[0] === 'blog') return {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue