| Commit message (Collapse) | Author | Age | Files | Lines | 
| |  | 
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
* refactor: replace script tags with next/script
Since next.js v12.1.0 some warnings was displayed because I was using
some script tags.
* build(deps): bump next-themes to v0.1.1
 | 
| |  | 
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Squashed commit of the following:
commit 49c1b3b1556a0eb91c429a961fedd2bded8ffd47
Author: Armand Philippot <git@armandphilippot.com>
Date:   Wed Feb 16 15:17:52 2022 +0100
    chore: add headline field to blogPosting schema
commit 42214c6f032cc899ec252a9387be35dcad738546
Author: Armand Philippot <git@armandphilippot.com>
Date:   Wed Feb 16 15:09:11 2022 +0100
    chore: update the searchAction markup and add query-input
    Google was complaining about "query-input" which is not in Schema.org
    representation. So I added it.
commit 5f29226d937cbdcd262df2793f1588435d850f02
Author: Armand Philippot <git@armandphilippot.com>
Date:   Wed Feb 16 14:32:14 2022 +0100
    chore: remove breadcrumb from homepage
    The breadcrumb is not displayed on the homepage, so the breadcrumb
    field should not appear inside Schema markup.
 | 
| | 
| 
| 
|  | 
This way, even whithout JS, user can see the latest posts.
 | 
| |  | 
 | 
| |  | 
 | 
| |  | 
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
The previous method was not working so I tried a different approach.
Translation is loaded but I'm still getting warnings:
* Plurals for locale undefined aren't loaded
* Text content did not match
I can't figure how to fix them...
 | 
| |  | 
 | 
| | 
| 
| 
| 
|  | 
I will need the country code, so I think it makes more sense to gather
them inside the same property.
 | 
| | 
| 
| 
|  | 
I also added the featured image on single article.
 | 
| |  | 
 | 
| |  | 
 | 
| |  | 
 | 
| | 
| 
| 
| 
|  | 
I cannot import custom blocks through WP GraphQL, so I prefer to use
MDX file. This way I cannot import custom components.
 | 
| | 
| 
| 
| 
| 
| 
|  | 
I was repeating myself a lot in services. So I rewrited the different
functions to improve readability and I extracted some formatting
functions to put them in utils. I also rewrited/reorganized some types
to keep consistent names.
 | 
| | 
| 
| 
|  | 
I forgot to pass isHome arg...
 | 
| |  | 
 | 
| |  | 
 | 
| | 
| 
| 
|  | 
I can now insert header/footer on each pages.
 | 
|    | 
 |