From f1b4ff800797dfc14acaeef3c7b2adb3412d738c Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 1 Aug 2023 11:12:14 -0300 Subject: content: generateNewsEntryPage: yeet date from nav bar --- src/content/dependencies/generateNewsEntryPage.js | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'src/content/dependencies') diff --git a/src/content/dependencies/generateNewsEntryPage.js b/src/content/dependencies/generateNewsEntryPage.js index e3071a57..bf830980 100644 --- a/src/content/dependencies/generateNewsEntryPage.js +++ b/src/content/dependencies/generateNewsEntryPage.js @@ -95,20 +95,9 @@ export default { navLinkStyle: 'hierarchical', navLinks: [ {auto: 'home'}, + {html: relations.newsIndexLink}, { - html: - relations.newsIndexLink - .slot('content', language.$('newsEntryPage.nav.news')), - }, - { - html: - language.$('newsEntryPage.nav.entry', { - date: language.formatDate(data.date), - entry: - relations.currentEntryLink - .slot('attributes', {class: 'current'}), - }), - + auto: 'current', accent: (relations.previousNextLinks ? `(${language.formatUnitList(relations.previousNextLinks.slots({ -- cgit 1.3.0-6-gf8a5