Skip to content

Commit

Permalink
chore(metadata): Refactor metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanjerome committed Jan 28, 2025
1 parent 3c2ae10 commit 91cfffc
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 13 deletions.
4 changes: 3 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: 'Scalastic 👨🏻‍💻'
title: 'Scalastic'
permalink: ':title/'
url: https://scalastic.io
#url: http://localhost:4000
Expand All @@ -24,6 +24,8 @@ social:
- https://www.linkedin.com/in/jean-jerome-levy
- https://github.com/jeanjerome
- https://github.com/scalastic
- https://mastodon.social/@jeanjeromelevy
- https://bsky.app/profile/scalastic.bluesky.scalastic.io

search: true

Expand Down
7 changes: 6 additions & 1 deletion _data/en/i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ contact-me: "More"
transl-version: "🇫🇷 version française"
transl-flag: "france.png"
copyrigth: "Jean-Jerome Levy for Scalastic unless otherwise specified"
site-description: "I am an independent DevOps 🚀 and Cloud ☁️ consultant"
related-article: "You may also like..."
page404-home: "Return to a safe place!"
page404-chance: "Take your chance?"
page-title-homepage: "Articles on DevOps and Cloud - Freelance Consultant Jean-Jerome Levy"
page-list-title: "Page :num - Articles on DevOps and Cloud - Freelance Consultant Jean-Jerome Levy"
page-list-description: "Explore articles on DevOps and Cloud on page :num. Access useful and inspiring content written by Jean-Jerome Levy, freelance expert."
page-next-with-num: "Go to page :num of articles"
page-next: "Go to the next page of articles"
page-previous: "Go back to the previous page of articles"
article-previous: "Previous Article"
article-next: "Next Article"
article-comments: "Comments"
Expand Down
7 changes: 6 additions & 1 deletion _data/fr/i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ contact-me: " De plus"
transl-version: "🇬🇧 🇺🇸 english version"
transl-flag: "uk.png"
copyrigth: "Jean-Jérôme Lévy pour Scalastic sauf indication contraire"
site-description: "Je suis consultant freelance en DevOps 🚀 et Cloud ☁️"
related-article: "Vous aimerez peut-être aussi..."
page404-home: "Retournez en lieu sûr !"
page404-chance: "Tentez votre chance ?"
page-title-homepage: "Articles sur le DevOps et le Cloud - Consultant freelance Jean-Jerome Levy"
page-list-title: "Page :num - Articles sur le DevOps et le Cloud - Consultant freelance Jean-Jerome Levy"
page-list-description: "Explorez les articles sur le DevOps et le Cloud en page :num. Accédez à des contenus utiles et inspirants rédigés par Jean-Jerome Levy, expert freelance."
page-next-with-num: "Allez à la page :num des articles"
page-next: "Allez à la page suivante des articles"
page-previous: "Retournez à la page précédentes des articles"
article-previous: "Article Précédent"
article-next: "Article Suivant"
article-comments: "Commentaires"
Expand Down
12 changes: 8 additions & 4 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
{%- elsif page.title -%}
{{ page.title }}
{%- else -%}
{{ site.data.i18n.site-description }}
{%- if paginator.page == 1 -%}
{{ site.data.i18n.page-title-homepage }}
{%- else -%}
{{ site.data.i18n.page-list-title | replace: ':num', paginator.page }}
{%- endif -%}
{%- endif -%}
{%- endcapture -%}

Expand All @@ -14,7 +18,7 @@
{%- elsif page.description -%}
{{ page.description }}
{%- else -%}
{{ site.data.i18n.site-description }}
{{ site.data.i18n.page-list-description | replace: ':num', paginator.page }}
{%- endif -%}
{%- endcapture -%}

Expand Down Expand Up @@ -49,7 +53,7 @@
<link rel="alternate" hreflang="fr" href="{{ site.url | append: page.url | replace:'index.html','' }}">
<link rel="alternate" hreflang="en" href="{{ site.url | append: '/en' | append: page.url | replace:'index.html','' }}">
<!-- Meta html5 -->
<title>{{ pageTitle | append: ' | ' | append: site.title }}</title>
<title>{{ pageTitle }}</title>
<meta name="title" content="{{ pageTitle }}">
<meta name="description" content="{{ pageDescription }}">
<meta name="url" content="{{ pageUrl }}">
Expand All @@ -59,7 +63,7 @@
<meta name="distribution" content="global">
<meta name="rating" content="general">
<meta name="application-name" content="{{ site.title }}">
<meta name="generator" content="Jekyll 🎩">
<meta name="generator" content="Jekyll">
<!-- Meta og -->
<meta property="og:title" content="{{ pageTitle }}">
<meta property="og:description" content="{{ pageDescription }}">
Expand Down
13 changes: 8 additions & 5 deletions _includes/jsonld_home.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"@context": "http://schema.org",
"@type": "WebSite",
"url": "{{ site.url }}{{ site.baseurl }}{% if site.active_lang != site.default_lang %}/{{ site.active_lang }}{% endif %}/",
"headline": "{{ site.title }}",
"about": "{{ site.data.i18n.company-desc }}",
"headline": "{{ site.data.i18n.page-list-title | replace: ':num', paginator.page }}",
"about": "{{ site.data.i18n.page-list-description | replace: ':num', paginator.page }}",
"image": [
"{{ site.url }}{{ site.baseurl }}{{ site.image }}"
],
Expand All @@ -23,7 +23,7 @@
"https://www.linkedin.com/in/jean-jerome-levy",
"https://github.com/jeanjerome",
"https://github.com/scalastic",
"https://hub.docker.com/u/jeanjerome"
"https://mastodon.social/@jeanjeromelevy"
]
},
"editor": {
Expand All @@ -34,7 +34,7 @@
"https://www.linkedin.com/in/jean-jerome-levy",
"https://github.com/jeanjerome",
"https://github.com/scalastic",
"https://hub.docker.com/u/jeanjerome"
"https://mastodon.social/@jeanjeromelevy"
]
},
"inLanguage": "{% if site.active_lang == site.default_lang %}fr-FR{% else %}en-US{% endif %}",
Expand All @@ -46,7 +46,10 @@
"name": "Scalastic",
"description": "{{ site.data.i18n.company-desc }}",
"url": "{{ site.url }}",
"sameAs": [ "https://github.com/scalastic" ],
"sameAs": [
"https://github.com/scalastic",
"https://bsky.app/profile/scalastic.bluesky.scalastic.io"
],
"logo": {
"@type": "ImageObject",
"url": "{{ site.url }}{{ site.baseurl }}{{ site.logo }}"
Expand Down
2 changes: 1 addition & 1 deletion _layouts/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</header>
<footer>
<section class="contact">
<h3 class="contact-title">{{site.data.i18n.contact-me}}</h3>
<span class="contact-title">{{site.data.i18n.contact-me}}</span>
<ul>
{% if site.social-github %}
<li class="github"><a href="https://github.com/{{site.social-github}}" aria-label="{{ site.data.i18n.aria-github-author }}" target="_blank" rel="noopener noreferrer nofollow"><span><svg width="17.44" height="18" viewBox="0 0 496 512" xmlns="http://www.w3.org/2000/svg"><!-- Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path xmlns="http://www.w3.org/2000/svg" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg></span></a></li>
Expand Down
1 change: 1 addition & 0 deletions _sass/parts/_home-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ input[type="radio"].toggle {
.contact {
.contact-title {
position: relative;
display: block;
color: var(--emphasis-color);
font-weight: 400;
font-size: 12px;
Expand Down
Binary file modified assets/img/site-scalastic.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 91cfffc

Please sign in to comment.