fix slug
This commit is contained in:
parent
2f64af389c
commit
4b7aba50a7
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Thinking machines - some thoughts about large language models
|
title: Thinking machines - some thoughts about large language models
|
||||||
|
slug: thinking-machines
|
||||||
description: "The computers will start thinking, and people will stop."
|
description: "The computers will start thinking, and people will stop."
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
layout: "post.njk",
|
layout: "post.njk",
|
||||||
permalink: "/posts/{{ title | slugify }}/",
|
permalink: "/posts/{{ slug | default:title | slugify }}/",
|
||||||
tags: ["posts"],
|
tags: ["posts"],
|
||||||
author: "Joshua Seigler",
|
author: "Joshua Seigler",
|
||||||
eleventyComputed: {
|
eleventyComputed: {
|
||||||
date: "{{ page.date }}"
|
date: "{{ page.date }}",
|
||||||
|
slug: "{{ page.slug }}"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue