refactor: update content structure and layout templates
- Updated author format in content files - Added section field to content files - Simplified categories format - Removed no-category.html layout - Updated list.html and single.html layouts - Updated index.html layout - Updated generate-content.js script - Do not index content with git
This commit is contained in:
@@ -6,9 +6,10 @@ slug: "withings-steel-hr"
|
||||
wordpress_id: 267
|
||||
excerpt: "Vous souhaitez acheter une montre Withings ? Vous avez besoin d’un test avant de passer à la caisse…\n"
|
||||
featured_image: "https://www.mistergeek.net/wp-content/uploads/2018/03/Withings-Steel-HR.jpg"
|
||||
author: {"id":1,"name":"Kevin"}
|
||||
categories: [{"id":14,"name":"Informatique","slug":"informatique"}]
|
||||
author: "Kevin"
|
||||
categories: ["Informatique"]
|
||||
tags: []
|
||||
section: "informatique"
|
||||
---
|
||||
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user