Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: pull normalising tags section out into own stub
- Loading branch information
1 parent
ad2c720
commit 05c1aba
Showing
2 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: Normalising Tags | ||
tags: ["11ty"] | ||
growthStage: stub | ||
--- | ||
|
||
## Preface | ||
|
||
There is [some discussion](https://github.com/11ty/eleventy/issues/2462) regarding case sensitivity with tags. In my opinion tags should be insensitive to case but also presented in a human way. For example "ToolsAndResources" should become the slug "tools-and-resources" but display as "Tools And Resources". There are of course exceptions to this: "JavaScript" for example is one word and "PHP" should always remain capitalised. There is also the case where "GameDev" and "GameDevelopment" should be considered the same with both linking to the same destination. | ||
|
||
These cases make normalising tags for human readability a difficult problem but not insurmountable. | ||
|
||
## Todo | ||
|
||
This post should be linked to from "How to programmatically add tags to posts". |