keda-docs icon indicating copy to clipboard operation
keda-docs copied to clipboard

Blog files: why add date to file name and use an alias to remove it?

Open chalin opened this issue 2 years ago • 2 comments

Consider the content/blog/2022-03-10-how-zapier-uses-keda.md file, recently added via #687, with the following front matter:

title = "How Zapier uses KEDA"
date = 2022-03-10
# ...
aliases = [
"/blog/how-zapier-uses-keda"
]

@tomkerkhove - Why not simply name the file content/blog/how-zapier-uses-keda.md and avoid having to define an alias?

By having the alias be different from the file name by dropping the date, makes it easier to inadvertently introduce a clash at some point.

Note that not all blog entries have such an alias defined, so it doesn't seem to be a fully enforced convention (also the blog archetype doesn't have an alias entry).

chalin avatar Mar 10 '22 13:03 chalin

I don't think there is a real reason for this so happy to change if it makes sense

tomkerkhove avatar Mar 10 '22 16:03 tomkerkhove

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 22 '22 13:05 stale[bot]