-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
➡️ Merge pull request #56 from leszekkrol/feature/seo
🚀 Added SEO improvements to the website!
- Loading branch information
Showing
20 changed files
with
1,616 additions
and
1,086 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,25 +18,25 @@ jobs: | |
|
||
steps: | ||
- name: 🚚 Get latest code | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
|
||
- name: 🛠 Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
node-version: 18 | ||
|
||
- name: 🔨 Build Project | ||
run: | | ||
npm install | ||
npm ci | ||
npm run build | ||
npm run generate | ||
- name: 📂 Sync files | ||
uses: SamKirkland/[email protected].3 | ||
uses: SamKirkland/[email protected].4 | ||
with: | ||
dangerous-clean-slate: true | ||
server: ${{ secrets.ftp_host }} | ||
username: ${{ secrets.ftp_username }} | ||
password: ${{ secrets.ftp_password }} | ||
local-dir: ./.output/public/ | ||
server-dir: ./public_html/ | ||
server-dir: ./public_html/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<template> | ||
<div> | ||
<NuxtLayout> | ||
<NuxtPage/> | ||
</NuxtLayout> | ||
</div> | ||
<NuxtLayout> | ||
<NuxtPage/> | ||
</NuxtLayout> | ||
</template> |
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,144 @@ | ||
<template> | ||
<main id="app" class="bg-gray-900 v-lines agus"> | ||
<Navigation /> | ||
<Header | ||
tag="podcast" | ||
:title="$t('section.header.title')" | ||
:description="$t('section.header.description')" | ||
url="https://anchor.fm/skuteczny-plan-podcast" /> | ||
<slot /> | ||
<Footer /> | ||
</main> | ||
</template> | ||
<Html :lang="head.htmlAttrs.lang" :dir="head.htmlAttrs.dir"> | ||
<Head> | ||
<Title>{{ title }}</Title> | ||
<template v-for="link in head.link" :key="link.id"> | ||
<Link :id="link.id" :rel="link.rel" :href="link.href" :hreflang="link.hreflang" /> | ||
</template> | ||
<template v-for="meta in head.meta" :key="meta.id"> | ||
<Meta :id="meta.id" :property="meta.property" :content="meta.content" /> | ||
</template> | ||
</Head> | ||
<Body> | ||
<main id="app" class="bg-gray-900 v-lines agus"> | ||
<Navigation /> | ||
<Header | ||
tag="podcast" | ||
:title="$t('section.header.title')" | ||
:description="$t('section.header.description')" | ||
url="https://anchor.fm/skuteczny-plan-podcast" /> | ||
<slot /> | ||
<Footer /> | ||
</main> | ||
</Body> | ||
</Html> | ||
</template> | ||
|
||
<script setup> | ||
const { t } = useI18n() | ||
const head = useLocaleHead({ | ||
addDirAttribute: true, | ||
identifierAttribute: 'id', | ||
addSeoAttributes: true | ||
}) | ||
const title = computed(() => t('meta.title')) | ||
useHead({ | ||
meta: [ | ||
{ charset: "utf-8" }, | ||
{ 'http-equiv': 'Content-type', content: 'text/html;charset=UTF-8' }, | ||
{ name: "viewport", content: "width=device-width, initial-scale=1" }, | ||
{ name: "author", content: "Leszek W. Król" }, | ||
{ | ||
hid: "title", | ||
name: "title", | ||
content: t('meta.title'), | ||
}, | ||
{ | ||
hid: "description", | ||
name: "description", | ||
content: t('meta.description'), | ||
}, | ||
{ | ||
hid: 'og:site_name', | ||
property: 'og:site_name', | ||
content: t('meta.site_name'), | ||
}, | ||
{ | ||
hid: 'og:locale', | ||
property: 'og:locale', | ||
content: 'pl_PL', | ||
}, | ||
{ | ||
hid: 'og:type', | ||
property: 'og:type', | ||
content: 'website', | ||
}, | ||
{ | ||
hid: 'og:title', | ||
property: 'og:title', | ||
content: t('meta.title'), | ||
}, | ||
{ | ||
hid: 'og:description', | ||
property: 'og:description', | ||
content: t('meta.description'), | ||
}, | ||
{ | ||
hid: 'og:url', | ||
property: 'og:url', | ||
content: 'https://www.skutecznyplan.pl', | ||
}, | ||
{ | ||
hid: 'og:image', | ||
property: 'og:image', | ||
content: 'http://www.skutecznyplan.pl/img/skuteczny-plan-og.png', | ||
}, | ||
{ | ||
hid: 'og:image:secure_url', | ||
property: 'og:image:secure_url', | ||
content: 'http://www.skutecznyplan.pl/img/skuteczny-plan-og.png', | ||
}, | ||
{ | ||
hid: 'og:image:type', | ||
property: 'og:image:type', | ||
content: 'image/png', | ||
}, | ||
{ | ||
hid: 'og:image:alt', | ||
property: 'og:image:alt', | ||
content: t('meta.image_alt'), | ||
}, | ||
{ | ||
hid: 'twitter:card', | ||
name: 'twitter:card', | ||
content: 'summary_large_image', | ||
}, | ||
{ | ||
hid: 'twitter:url', | ||
name: 'twitter:url', | ||
content: 'https://www.skutecznyplan.pl', | ||
}, | ||
{ | ||
hid: 'twitter:image', | ||
name: 'twitter:image', | ||
content: 'http://www.skutecznyplan.pl/img/skuteczny-plan-twitter.png', | ||
}, | ||
{ | ||
hid: 'twitter:domain', | ||
name: 'twitter:domain', | ||
content: 'skutecznyplan.pl', | ||
}, | ||
{ | ||
hid: 'twitter:title', | ||
name: 'twitter:title', | ||
content: t('meta.title'), | ||
}, | ||
{ | ||
hid: 'twitter:description', | ||
name: 'twitter:description', | ||
content: t('meta.description'), | ||
}, | ||
{ | ||
hid: 'twitter:site', | ||
name: 'twitter:site', | ||
content: '@leszekkrol', | ||
}, | ||
{ | ||
hid: 'twitter:creator', | ||
name: 'twitter:creator', | ||
content: '@leszekkrol', | ||
}, | ||
], | ||
}) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.