trying this
This commit is contained in:
parent
e142e6b38f
commit
a20dc1ee0b
18 changed files with 170 additions and 81 deletions
|
@ -2,6 +2,7 @@ import conf from "~/site.config";
|
|||
// todo: add blog detection
|
||||
|
||||
export const titleConstructor = (title: string) => {
|
||||
console.log(title)
|
||||
if (!title) return conf.siteName;
|
||||
return `${title} | ${conf.siteName}`;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue