Skip to content

Commit

Permalink
change domain
Browse files Browse the repository at this point in the history
  • Loading branch information
kimzuni committed Apr 26, 2024
1 parent 11c1bc5 commit a478ca6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
zuni.kim
blog.kimzuni.com
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ lang: ko

title: "Zuni's Blog"
description: "Blog just for me."
url: "https://zuni.kim"
url: "https://blog.kimzuni.com"
baseurl: ""

email:
Expand Down
10 changes: 5 additions & 5 deletions _data/giscus.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
repo:
name: comments
id: R_kgDOHtCl5Q # https://giscus.app/
name: blog
id: R_kgDOI1pGbQ # https://giscus.app/
category:
name: Announcements
id: DIC_kwDOHtCl5c4CQZlo # https://giscus.app/
mapping: url
name: Blog
id: DIC_kwDOI1pGbc4Ce9gu # https://giscus.app/
mapping: pathname
strict: true
reactions: false
emit_metadata: true
Expand Down
2 changes: 1 addition & 1 deletion _data/sites-nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
url: "//kimzuni.com"
icon: "favicon"
- name: "Blog"
url: "//zuni.kim"
url: "//blog.kimzuni.com"
icon: "blog"
- name: "Project"
url: "//project.zuni.kim"
Expand Down
3 changes: 2 additions & 1 deletion assets/js/giscus.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const giscus_handleMessage = function(event) {
if (!(typeof event.data === "object" && event.data.giscus)) return;
if (!"discussion" in event.data.giscus) return;
const giscusData = event.data.giscus;

/*
if ("error" in giscusData) {
console.error(giscusData.error);
} else if ("discussion" in giscusData) {
Expand All @@ -12,6 +12,7 @@ const giscus_handleMessage = function(event) {
message: `${giscusData.viewer}: ${giscusData.discussion}`
});
}
*/
}
window.addEventListener("message", giscus_handleMessage);

Expand Down

0 comments on commit a478ca6

Please sign in to comment.