aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts/types/articles.ts
Commit message (Collapse)AuthorAgeFilesLines
* chore: remove old pages, components, helpers and typesArmand Philippot2022-04-291-102/+0
| | | | | Since I'm using new components, I will also rewrite the GraphQL queries so it is easier to start from scratch.
* refactor: update graphql queries (#14)Armand Philippot2022-03-091-2/+2
| | | | | | | | | | | | | | | | | | * refactor: replace postBy query postBy is now deprecated in WPGraphQL v1.7 * refactor: update post comments query PostBy is deprecated and it is now possible to use the post ID to query comments. * refactor: update get topic by slug query topicBy is deprecated * refactor: update get thematic by slug query thematicBy is deprecated
* fix: update comments list when a new comment is sendArmand Philippot2022-02-141-2/+1
| | | | | The comments list was static before. If an user posted a comment, even after it was approved, the comments list was keeping the old state.
* chore: improve RSS feed generation timeArmand Philippot2022-02-131-0/+8
|
* chore: add reading time in posts metaArmand Philippot2022-01-251-4/+14
|
* chore: display total found posts in page metaArmand Philippot2022-01-251-0/+1
|
* refactor: rename all subject occurrences into topicArmand Philippot2022-01-231-10/+6
| | | | | I change the name in graphql endpoint, so I decided to repercute this change here.
* chore: add structured data using schema.org and JSON-LDArmand Philippot2022-01-191-0/+2
| | | | I also added the featured image on single article.
* chore(meta): display subjects instead of thematics on Thematic pagesArmand Philippot2022-01-111-2/+3
|
* refactor: reuse PostMeta components on single articles/pagesArmand Philippot2022-01-061-0/+8
|
* chore: display subjects list under articlesArmand Philippot2022-01-031-2/+11
|
* refactor: rewrite types and servicesArmand Philippot2021-12-201-51/+39
| | | | | | | 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.
* chore: add meta to single postsArmand Philippot2021-12-171-0/+10
|
* chore: display year between blog postsArmand Philippot2021-12-161-2/+2
|
* chore: fix typoArmand Philippot2021-12-161-1/+1
|
* chore: create single post viewArmand Philippot2021-12-151-2/+34
|
* chore: retrieve posts list on blog pageArmand Philippot2021-12-151-0/+38