Skip to content

Commit 78a40b9

Browse files
committed
edit the pages permalink thing
1 parent 1598564 commit 78a40b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pages/My Philosophy Curricula.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ aliases:
33
tags:
44
- Blog/u
55
added: March 21, 2025
6-
link: https://nibirsan.org/blog/p/my-philosophy-curricula
76
excerpt: yes does it work/
87
date: 2025-03-21T15:54:24+05:30
98
status: needs work
109
content-type: blog
10+
perma: "/phil/index.html"
1111
---
1212
The main motive of this checklist is to get upto speed with 1000s of years of philosophy to be able to comprehend what Nietzsche is saying in his primary works like "*Thus Spoke Zarathustra*".
1313

src/pages/pages.11tydata.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ module.exports = {
22
eleventyComputed: {
33
title: data => data.title || data.page.filePathStem.split('/').pop(),
44
layout: "core/pages.njk",
5-
permalink: "/{{ title | slugify }}/index.html"
5+
permalink: data => data.perma ? data.perma : `/{{ title | slugify }}/index.html`
66
}
77
};

0 commit comments

Comments
 (0)