From 70526898601f83b4eaf402c748f6999960237053 Mon Sep 17 00:00:00 2001 From: "Z. Charles Dziura" Date: Thu, 17 Apr 2025 00:09:14 -0400 Subject: [PATCH] Don't save errant thoughts --- src/thoughts/thoughts.11tydata.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/thoughts/thoughts.11tydata.js b/src/thoughts/thoughts.11tydata.js index 96b09c2..6f364a6 100644 --- a/src/thoughts/thoughts.11tydata.js +++ b/src/thoughts/thoughts.11tydata.js @@ -3,14 +3,15 @@ import { DateTime } from 'luxon'; export default { date: 'git Created', type: 'thought', - permalink: function ({ page }) { - // console.log(arguments); - const { date, fileSlug, outputFileExtension } = page; - const today = DateTime.fromJSDate(date).toUTC(); + permalink: false, + // permalink: function ({ page }) { + // // console.log(arguments); + // const { date, fileSlug, outputFileExtension } = page; + // const today = DateTime.fromJSDate(date).toUTC(); - return `/thought/${today.year}/${String(today.month).padStart(2, '0')}/${String(today.day).padStart( - 2, - '0' - )}/${fileSlug}.${outputFileExtension}`; - }, + // return `/thought/${today.year}/${String(today.month).padStart(2, '0')}/${String(today.day).padStart( + // 2, + // '0' + // )}/${fileSlug}.${outputFileExtension}`; + // }, };