I really need to do something about tabs

This commit is contained in:
Will Boyd
2024-02-26 12:41:35 -05:00
parent a8929901e3
commit 8477487047
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -10,5 +10,5 @@ module.exports = (post) => {
.filter(category => category.$.domain === 'category')
.map(({ $: attributes }) => decodeURIComponent(attributes.nicename));
return categories.filter(category => !settings.filter_categories.includes(category));
return categories.filter(category => !settings.filter_categories.includes(category));
};
+2 -2
View File
@@ -1,5 +1,5 @@
// get excerpt, not decoded, newlines collapsed
module.exports = (post) => {
const excerpt = post.data.encoded[1].replace(/[\r\n]+/gm, ' ');
return excerpt;
const excerpt = post.data.encoded[1].replace(/[\r\n]+/gm, ' ');
return excerpt;
};
+1 -1
View File
@@ -8,5 +8,5 @@ module.exports = (post) => {
.filter(category => category.$.domain === 'post_tag')
.map(({ $: attributes }) => decodeURIComponent(attributes.nicename));
return categories;
return categories;
};