Skip to content

Commit

Permalink
fix(front): adjusts category default description and removes
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Oct 9, 2023
1 parent daa92ce commit 3a90d8d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions front/src/routes/posts/category/[category]/+page.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,9 @@ export async function load({ params }) {
metaDescription:
categoryDescription !== null
? categoryDescription
: `Posts about "${name}"`,
: `"Read what I have to say about ${name}"`,
};

console.log(
'🚀 ~ file: +page.server.js:51 ~ load ~ pageMeta:',
pageMeta.metaDescription
);
/**
* Isolates the `metaImage` object properties we care about
*/
Expand Down

0 comments on commit 3a90d8d

Please sign in to comment.