Show the author and publication time on articles
Strapi already records which admin user created an entry, so the byline needs no extra field to fill in: the Article content type sets populateCreatorFields and the API layer exposes only that user's firstname and lastname. The name also feeds the BlogPosting structured data. Also fixes the gap below the article header, which until now came from the cover image's margin and therefore vanished on articles without a cover, leaving the body text against the byline.
This commit is contained in:
@@ -38,7 +38,8 @@
|
||||
},
|
||||
"article": {
|
||||
"breadcrumb": "Breadcrumb",
|
||||
"back": "Back to all articles"
|
||||
"back": "Back to all articles",
|
||||
"by": "By {name}"
|
||||
},
|
||||
"error": {
|
||||
"notFoundTitle": "Page not found",
|
||||
|
||||
@@ -38,7 +38,8 @@
|
||||
},
|
||||
"article": {
|
||||
"breadcrumb": "Ruta de navegación",
|
||||
"back": "Volver a todos los artículos"
|
||||
"back": "Volver a todos los artículos",
|
||||
"by": "Por {name}"
|
||||
},
|
||||
"error": {
|
||||
"notFoundTitle": "Página no encontrada",
|
||||
|
||||
@@ -38,7 +38,8 @@
|
||||
},
|
||||
"article": {
|
||||
"breadcrumb": "Fil d'Ariane",
|
||||
"back": "Retour à tous les articles"
|
||||
"back": "Retour à tous les articles",
|
||||
"by": "Par {name}"
|
||||
},
|
||||
"error": {
|
||||
"notFoundTitle": "Page introuvable",
|
||||
|
||||
@@ -38,7 +38,8 @@
|
||||
},
|
||||
"article": {
|
||||
"breadcrumb": "Percorso di navigazione",
|
||||
"back": "Torna a tutti gli articoli"
|
||||
"back": "Torna a tutti gli articoli",
|
||||
"by": "Di {name}"
|
||||
},
|
||||
"error": {
|
||||
"notFoundTitle": "Pagina non trovata",
|
||||
|
||||
Reference in New Issue
Block a user