chore: post + filter

This commit is contained in:
Cory Dransfeldt 2024-03-02 09:44:55 -08:00
parent 583ea56553
commit ab627458d8
No known key found for this signature in database
3 changed files with 114 additions and 2 deletions

View file

@ -185,7 +185,10 @@ export default {
return normalized
}),
// posts
// tags
filterTags: (tags) => {
return tags.filter((tag) => tag.toLowerCase() !== 'posts')
},
formatTag: (string) => {
const capitalizeFirstLetter = (string) => {
return string.charAt(0).toUpperCase() + string.slice(1);