File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ export const Route = createFileRoute('/snippets/$id')({
4545
4646 const author = snippet . author || snippet . createdBy ?. username || 'Unknown'
4747 const description = snippet . description
48- ? `By ${ author } . ${ snippet . description } - Typst Snippets. ${ snippet . tags && snippet . tags . length > 0 ? 'Tags: ' + snippet . tags . join ( ', ' ) + '.' : '' } `
49- : `By ${ author } . A Typst snippet on Snippyst. ${ snippet . tags && snippet . tags . length > 0 ? 'Tags: ' + snippet . tags . join ( ', ' ) + '.' : '' } `
48+ ? `By ${ author } . ${ snippet . description } - Typst Snippets. ${ snippet . tags && snippet . tags . length > 0 ? 'Tags: ' + snippet . tags . map ( ( tag : any ) => tag . name ) . join ( ', ' ) + '.' : '' } `
49+ : `By ${ author } . A Typst snippet on Snippyst. ${ snippet . tags && snippet . tags . length > 0 ? 'Tags: ' + snippet . tags . map ( ( tag : any ) => tag . name ) . join ( ', ' ) + '.' : '' } `
5050
5151 return {
5252 meta : generateSEOMeta ( {
You can’t perform that action at this time.
0 commit comments