Mise looks promising
I’ve been all in on just for a while now, but mise looks so good it might be my next move.
No themes match.
All published posts
I’ve been all in on just for a while now, but mise looks so good it might be my next move.
Is there a world that giving my phone to my kids does not result in it being covered in peanut butter and snot?
Is bet new teen lingo? My kid is starting to say bet in every sentence.
So he explained it as “I’m down”, “You bet”, “Yes”, “I like that”, “You betcha”
Naming things is hard, pings will now be numbered.
I’m being gaslit by the ai. It just did a big hard change, now cant do a seemingly basic change, and assures me that that its fixed my issue on every iteration.
I’ve been using this one for awhile now, I have a post type that I only edit from my phone, but I have all the post numbered. I set up a template in obsidian for using templater, the template goes right in the static site repo, I point templater to the templates directory and this has been working pretty seamlessly for awhile.
---
date: <% tp.date.now("YYYY-MM-DD HH:mm:ss") %>
templateKey: myposttype
published: true
tags:
- myposttype
<%*
const folder = "pages/myposttype";
// get all files in the vault, keep only those inside the folder
const files = app.vault.getFiles().filter(f => f.path.startsWith(folder + "/"));
// extract numeric suffixes from filenames like myposttype-123.md
const nums = files.map(f => {
const m = f.basename.match(/^myposttype-(\d+)$/);
return m ? parseInt(m[1], 10) : null;
}).filter(n => n !== null);
// next number (start at 1 if none exist)
const next = (nums.length ? Math.max(...nums) : 0) + 1;
// include the .md extension when moving
const newPath = `${folder}/myposttype-${next}`;
await tp.file.move(newPath);
%>
---
Calendar data could not load. Try again.