Skip to content

Commit 27551b3

Browse files
Use generic blog tags and update comments repo
1 parent 1eee825 commit 27551b3

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

js/components/discuss.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default (hostComponent) => {
55

66
const script = document.createElement('script');
77
script.src = 'https://utteranc.es/client.js';
8-
script.setAttribute('repo', 'quantuminformation/nikoskatsikanis-blog-comments');
8+
script.setAttribute('repo', 'quantuminformation/vanillajs-patterns-blog-comments');
99
script.setAttribute('issue-term', 'pathname');
1010
script.setAttribute('theme', 'github-light');
1111
script.crossOrigin = 'anonymous';

js/routes/blog/1-lorem-ipsum.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { VANILLA_JS } from './tags.js';
1+
import { GENERAL } from './tags.js';
22
import postNav from '../../components/post-nav.js';
33
import blogSubscribe from '../../components/blog-subscribe.js';
44
import shareButtons from '../../components/share-buttons.js';
@@ -12,7 +12,7 @@ export const dateText = date.toLocaleDateString(undefined, {
1212
day: 'numeric',
1313
});
1414
export const author = 'Nikos Katsikanis';
15-
export const tags = [VANILLA_JS];
15+
export const tags = [GENERAL];
1616

1717
export const content = `
1818
<h1 class="blog-title">Understanding Lorem Ipsum</h1>

js/routes/blog/2-dolor-sit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { VANILLA_JS } from './tags.js';
1+
import { GENERAL } from './tags.js';
22
import postNav from '../../components/post-nav.js';
33
import blogSubscribe from '../../components/blog-subscribe.js';
44
import shareButtons from '../../components/share-buttons.js';
@@ -12,7 +12,7 @@ export const dateText = date.toLocaleDateString(undefined, {
1212
day: 'numeric',
1313
});
1414
export const author = 'Nikos Katsikanis';
15-
export const tags = [VANILLA_JS];
15+
export const tags = [GENERAL];
1616

1717
export const content = `
1818
<h1 class="blog-title">Dolor Sit Amet Explained</h1>

js/routes/blog/3-consectetur.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { VANILLA_JS } from './tags.js';
1+
import { GENERAL } from './tags.js';
22
import postNav from '../../components/post-nav.js';
33
import blogSubscribe from '../../components/blog-subscribe.js';
44
import shareButtons from '../../components/share-buttons.js';
@@ -12,7 +12,7 @@ export const dateText = date.toLocaleDateString(undefined, {
1212
day: 'numeric',
1313
});
1414
export const author = 'Nikos Katsikanis';
15-
export const tags = [VANILLA_JS];
15+
export const tags = [GENERAL];
1616

1717
export const content = `
1818
<h1 class="blog-title">Consectetur Adipiscing Tips</h1>

js/routes/blog/4-adipiscing.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { VANILLA_JS } from './tags.js';
1+
import { GENERAL } from './tags.js';
22
import postNav from '../../components/post-nav.js';
33
import blogSubscribe from '../../components/blog-subscribe.js';
44
import shareButtons from '../../components/share-buttons.js';
@@ -12,7 +12,7 @@ export const dateText = date.toLocaleDateString(undefined, {
1212
day: 'numeric',
1313
});
1414
export const author = 'Nikos Katsikanis';
15-
export const tags = [VANILLA_JS];
15+
export const tags = [GENERAL];
1616

1717
export const content = `
1818
<h1 class="blog-title">Sed Do Eiusmod Insights</h1>

js/routes/blog/tags.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
export const VANILLA_JS = 'vanilla-js';
2-
export const RAILS = 'rails';
3-
export const AI_AGENTS = 'ai-agents';
4-
export const REMIX = 'remix';
5-
export const AWS = 'aws';
1+
export const GENERAL = 'general';
2+
export const TUTORIAL = 'tutorial';
3+
export const NEWS = 'news';
4+
export const OPINION = 'opinion';
5+
export const OTHER = 'other';
66

7-
export const TAGS = [VANILLA_JS, RAILS, AI_AGENTS, REMIX, AWS];
7+
export const TAGS = [GENERAL, TUTORIAL, NEWS, OPINION, OTHER];

0 commit comments

Comments
 (0)