diff --git a/README.md b/README.md index 1ae5ffc..e95c295 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ metadata: index: true follow: true openGraph: - siteName: 'Example' + site_name: 'Example' images: - url: '~/assets/images/default.jpg' width: 1200 diff --git a/package.json b/package.json index 68a87d6..b783ca8 100644 --- a/package.json +++ b/package.json @@ -16,20 +16,20 @@ "@astrojs/image": "^0.17.3", "@astrojs/mdx": "^0.19.7", "@astrojs/partytown": "^1.2.3", - "@astrojs/rss": "^2.4.3", + "@astrojs/rss": "^2.4.4", "@astrojs/sitemap": "^2.0.1", "@astrojs/tailwind": "^4.0.0", - "@astrolib/analytics": "^0.3.0", - "@astrolib/seo": "^0.4.0", + "@astrolib/analytics": "^0.4.2", + "@astrolib/seo": "^0.6.0", "@fontsource-variable/inter": "^5.0.8", "@iconify-json/flat-color-icons": "^1.1.7", "@iconify-json/ri": "^1.1.12", "@iconify-json/tabler": "^1.1.87", "@tailwindcss/typography": "^0.5.9", "@types/lodash.merge": "^4.6.7", - "@typescript-eslint/eslint-plugin": "^6.2.1", - "@typescript-eslint/parser": "^6.2.1", - "astro": "^2.10.1", + "@typescript-eslint/eslint-plugin": "^6.3.0", + "@typescript-eslint/parser": "^6.3.0", + "astro": "^2.10.3", "astro-icon": "^1.0.0-next.2", "eslint": "^8.46.0", "eslint-plugin-astro": "^0.28.0", diff --git a/src/components/common/BasicScripts.astro b/src/components/common/BasicScripts.astro index 092301c..d86d9a8 100644 --- a/src/components/common/BasicScripts.astro +++ b/src/components/common/BasicScripts.astro @@ -39,7 +39,10 @@ import { UI_CONFIG } from '~/utils/config'; document.querySelector("[data-aw-toggle-menu]")?.classList.remove("expanded"); document.body.classList.remove("overflow-hidden"); document.getElementById("header")?.classList.remove("h-screen"); + document.getElementById("header")?.classList.remove("expanded"); + document.getElementById("header")?.classList.remove("bg-page"); document.querySelector("#header nav")?.classList.add("hidden"); + document.querySelector("#header > div > div:last-child")?.classList.add("hidden"); }); attachEvent('[data-aw-toggle-menu]', 'click', function () { diff --git a/src/components/common/Metadata.astro b/src/components/common/Metadata.astro index 810aa3e..2e6ecc6 100644 --- a/src/components/common/Metadata.astro +++ b/src/components/common/Metadata.astro @@ -34,7 +34,7 @@ const seoProps: AstroSeoProps = merge( description: undefined, openGraph: { url: canonical, - siteName: SITE_CONFIG?.name, + site_name: SITE_CONFIG?.name, images: [], locale: I18N_CONFIG?.language || 'en', type: 'website', diff --git a/src/config.yaml b/src/config.yaml index f41a2f4..d9f1bcf 100644 --- a/src/config.yaml +++ b/src/config.yaml @@ -16,9 +16,9 @@ metadata: index: true follow: true openGraph: - siteName: AstroWind + site_name: AstroWind images: - - url: '~/assets/images/default.jpg' + - url: '~/assets/images/default.png' width: 1200 height: 628 type: website diff --git a/src/pages/index.astro b/src/pages/index.astro index 00695f2..b3e01b5 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -14,7 +14,7 @@ import CallToAction from '~/components/widgets/CallToAction.astro'; const metadata = { title: 'AstroWind — Free template for creating websites with Astro + Tailwind CSS', - dontUseTitleTemplate: true, + ignoreTitleTemplate: true, }; ---