feat(home): better english, update home page

This commit is contained in:
Hugo Poissonnet 2022-12-04 17:47:38 +01:00
parent 052ecaac4f
commit 492a060487
3 changed files with 21 additions and 10 deletions

View File

@ -4,19 +4,25 @@ date: 2022-11-06T14:27:04+01:00
draft: false
---
Beware this is a work in progress
Welcome to my new blog !
I'm Hugo a french software engineer. I have probably more than 10 years of
experience in software engineering and doing stuff on the Internet. This
blog is made with Hugo but I havn't any relation with GoHugo, I'm just
using the soft.
## The story behind this revamp
1. My old blog was built with wordpress arround 2009
2. I loose the sources and some of the content early 2022
because my hoster drop the server AND the backups with the just an
email as a warning, and it was an old email adresse I rarely check.
3. I recover the content as html, thanks to archive.org and Archivarix
company
4. Was mainly in French and I start writing more in English,
1. 2009, I launch my blog with Wordpress
2. Early 2022, I loose the sources and some of the content because my hoster drop the server AND the backups with just a warning.
This warning sent to an old email adresse I rarely check.
3. I recover the content as html, thanks Archivarix company based on
Archive.org
4. My wordpress blog was mainly in French and I start writing more and more in English,
Wordpress isn't well design to write in two languages, you need
plugins to do it.
5. I really like writing in Markdown, it's SMOOOOTH, no wysiwyg crap UI, I
even install a markdown plugin in wordpress arround 2019.
6. Markdown + Git = JOY for me
You can check about [the whole setup of this new blog here](/v2/how-this-blog-is-made/)

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="fr-FR">
<html lang="en-US">
<head>
<meta charset='UTF-8'>
<meta name="viewport" content="width=device-width, initial-scale=1">

View File

@ -1,4 +1,9 @@
<div style="background-color: orange;border-radius: 6px;font-weight: bold;margin-bottom: 10px;" class="container">
<div style="background-color: orange;border-radius: 6px;font-weight: bold;margin-bottom: 10px; display: block; text-align: centre;" class="container">
<?php if(preg_match('/^(\/en\/|\/2020\/03\/01\/install-rancheros-on-freenas-11-3\/)/', $_SERVER['REQUEST_URI']) !== 1){ ?>
Ceci est la version legacy de mon blog si vous voulez voir les nouveaux articles et et savoir pourquoi c'est par
<a href="/v2/">ICI</a>
<?php } else { ?>
This is the legacy version of my blog if you want to read fresh posts and learn more about why, it's
<a href="/v2/">HERE</a>
<?php } ?>
</div>