Skip to content

Commit

Permalink
fix(tech): Update technical component and add small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanjerome committed Feb 14, 2024
1 parent 70f213d commit 770c701
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 27 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ group :jekyll_plugins do
gem 'premonition', '~> 4.0'
gem 'jekyll-last-modified-at', '~> 1.1'
gem 'jekyll-polyglot', '~> 1.7'
gem 'jekyll_picture_tag', '~> 2.0'
gem 'jekyll_picture_tag', '~> 2.1'
gem 'addressable', '~> 2.8'
end

Expand Down
2 changes: 1 addition & 1 deletion _data/fr/i18n.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
about-author: "Bonjour,<br> Je suis <a class='enhance' href='/jean-jerome-levy/'>Jean-Jérôme Lévy</a>, consultant DevOps indépendant<span class='nonmobile'>, spécialisé en CI/CD, Docker, Kubernetes et Cloud</span>."
author-name: "Jean-Jérôme Lévy"
author-desc: "Professionnel chevronné dans le domaine de l’informatique, cumulant plus de 20 années d’expérience au sein de DSI de grands entreprises, mon expertise diversifiée m’a permis de jouer un rôle clé dans de nombreux projets, caractérisés par la mise en place de pratiques DevOps innovantes."
author-desc: "Professionnel chevronné dans le domaine de l’informatique, cumulant plus de 20 années d’expérience au sein de DSI de grandes entreprises, mon expertise diversifiée m’a permis de jouer un rôle clé dans de nombreux projets, caractérisés par la mise en place de pratiques DevOps innovantes."
author-job: "Consultant DevOps"
written-by: "Ecrit par"
about-company: "J'officie au sein de la société Scalastic."
Expand Down
26 changes: 14 additions & 12 deletions search.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,18 @@ sitemap:
exclude: 'yes'
---
[
{% for post in site.posts %}
{
"title" : "{{ post.title | escape }}",
"url" : "{{ site.baseurl }}/en{{ post.url }}",
{% assign imagepath = '/assets/img/' | prepend: site.baseurl | append : post.img %}
{%- capture picture %}{%- picture thumbnail-article {{imagepath}} 6:5 center --alt {{ post.title }} -%}{% endcapture -%}
"img" : "{{ picture | base64_encode | strip_newlines }}",
"isencoded" : "y",
"tags" : "{{ post.tags | join: ', ' }}",
"content" : "{{ post.content | markdownify | strip_html | normalize_whitespace | escape | replace: '\', '--' }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
{% for post in site.posts %}
{
"title" : "{{ post.title | escape }}",
"url" : "{{ site.baseurl }}/en{{ post.url }}",
{% if post.img %}
{% assign imagepath = '/assets/img/' | prepend: site.baseurl | append: post.img %}
{%- capture picture %}{%- if imagepath contains '.' %}{%- picture thumbnail-article {{imagepath}} 6:5 center --alt {{ post.title }} -%}{%- endif -%}{% endcapture -%}
"img" : "{{ picture | base64_encode | strip_newlines }}",
"isencoded" : "y",
{% endif %}
"tags" : "{{ post.tags | join: ', ' }}",
"content" : "{{ post.content | markdownify | strip_html | normalize_whitespace | escape | replace: '\', '--' }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]
28 changes: 15 additions & 13 deletions search.fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@
lang: fr
permalink: /search.json
sitemap:
exclude: 'yes'
exclude: 'yes'
---
[
{% for post in site.posts %}
{
"title" : "{{ post.title | escape }}",
"url" : "{{ site.baseurl }}{{ post.url }}",
{% assign imagepath = '/assets/img/' | prepend: site.baseurl | append : post.img %}
{%- capture picture %}{%- picture thumbnail-article {{imagepath}} 6:5 center --alt {{ post.title }} -%}{% endcapture -%}
"img" : "{{ picture | base64_encode | strip_newlines }}",
"isencoded" : "y",
"tags" : "{{ post.tags | join: ', ' }}",
"content" : "{{ post.content | markdownify | strip_html | normalize_whitespace | escape | replace: '\', '--' }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
{% for post in site.posts %}
{
"title" : "{{ post.title | escape }}",
"url" : "{{ site.baseurl }}/{{ post.url }}",
{% if post.img %}
{% assign imagepath = '/assets/img/' | prepend: site.baseurl | append: post.img %}
{%- capture picture %}{%- if imagepath contains '.' %}{%- picture thumbnail-article {{imagepath}} 6:5 center --alt {{ post.title }} -%}{%- endif -%}{% endcapture -%}
"img" : "{{ picture | base64_encode | strip_newlines }}",
"isencoded" : "y",
{% endif %}
"tags" : "{{ post.tags | join: ', ' }}",
"content" : "{{ post.content | markdownify | strip_html | normalize_whitespace | escape | replace: '\', '--' }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]

0 comments on commit 770c701

Please sign in to comment.