Skip to content

Commit

Permalink
Fix the url slug in the seo rich snippets data (#212)
Browse files Browse the repository at this point in the history
* Update _app.js

Fixed the url slug

* 3.0.4
  • Loading branch information
Bowens20832 committed Nov 8, 2023
1 parent d2a431d commit 91f2750
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "elegant-cli",
"version": "3.0.3",
"version": "3.0.4",
"description": "Elegant is the easiest way to create a new static website or blog, and publish it online. No need for databases, external services, or complicated server setups.",
"scripts": {
"build:elegant": "cd source/elegant && npm run build",
Expand Down
2 changes: 1 addition & 1 deletion source/elegant/src/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default function App({ Component, pageProps, router }) {
/>
<WebPageJsonLd
description={meta.metaDescription || meta.description}
id={`${Config('app.url')}${router.pathname}`}
id={`${Config('app.url')}${router.asPath.split('#')[0]}`}
/>
{socialSchema.length > 0 && (
<SocialProfileJsonLd
Expand Down

0 comments on commit 91f2750

Please sign in to comment.