Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ming736 committed Feb 20, 2025
1 parent 0390b8c commit 20cea07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/components/blog.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
let blogListLegacy = document.getElementById("blog-list-legacy")
posts.forEach((v) => {
let parsed = parseName(v.name)
if (parsed.id < 0) {
if (parsed.id < 0 && new URLSearchParams(location.search).has("legacy")) {
blogListLegacy.innerHTML += `
<li>
<a href="?id=${parsed.id}">
Expand Down
8 changes: 4 additions & 4 deletions assets/components/head.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ const topbar = [
type: "dropdown",
text: "Projects",
contents: [
{
/*{
type: "button",
text: "MingChat",
href: "/mingchat.html"
},
},*/ // not needed either
{
type: "button",
text: "Windows 93 Docs",
Expand All @@ -45,11 +45,11 @@ const topbar = [
text: "Twitter",
href: "https://twitter.com/@ming736_"
},*/ // i no longer use twitter so
{
/*{
type: "button",
text: "YouTube",
href: "https://youtube.com/@ming736_YT"
},
},*/ // not really needed i'd say
{
type: "button",
text: "Bluesky",
Expand Down

0 comments on commit 20cea07

Please sign in to comment.