chore: post + filter
This commit is contained in:
parent
583ea56553
commit
ab627458d8
3 changed files with 114 additions and 2 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue