File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
(content)/(info)/blog/[id]
(external)/(legal)/guidelines Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,11 @@ export function generateMetadata({ params }: BlogPageProps): Metadata {
1717 const publicUrl = process . env . NEXT_PUBLIC_URL ;
1818
1919 return {
20- title : {
21- template : '%s | Blog' ,
22- default : 'Note Block World' ,
23- } ,
20+ title : post . title ,
2421 authors : [ { name : post . author } ] ,
2522 openGraph : {
2623 url : publicUrl + '/blog/' + id ,
2724 title : post . title ,
28- description : 'Create, share and listen to note block music' ,
2925 siteName : 'Note Block World' ,
3026 images : [
3127 {
Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ import fs from 'fs';
22import path from 'path' ;
33
44import { CustomMarkdown } from '@web/src/modules/shared/components/CustomMarkdown' ;
5+ import { Metadata } from 'next' ;
6+
7+ export const metadata : Metadata = {
8+ title : 'Community Guidelines' ,
9+ } ;
510
611async function TermsOfServicePage ( ) {
712 const fullPath = path . join ( './public/docs/guidelines.md' ) ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const lato = Lato({
2020
2121export const metadata : Metadata = {
2222 title : { template : '%s | Note Block World' , default : '' } ,
23- description : 'Create , share and listen to note block music' ,
23+ description : 'Discover , share and listen to note block music' ,
2424 openGraph : {
2525 type : 'website' ,
2626 locale : 'en_US' ,
You can’t perform that action at this time.
0 commit comments