Was wondering if there is a unique numeric id for a blog post? I know there is the post.id variable but the output isn’t numberic.
Thanks
Was wondering if there is a unique numeric id for a blog post? I know there is the post.id variable but the output isn’t numberic.
Thanks
To my knowledge there isn’t. If there is it’s not exposed in a way you can easily use. post.id
is there like you mentioned, but it’s just a reflection of the filename title. And if you change the title that changes too.
You can do something with YAML front matter and manually assign a post id, but that’s far from automatic.