Welcome to Mooncci Tech Blog
International version of moooncci.cn — sharing programming, systems, and real-world technical experience.
📝 Latest Articles
💻 Projects & GitHub
Personal Tools
Blog systems, automation, scripts.
Experiments
Cloud, deployment, performance tests.
📩 Contact
Email:
websiteaccount@mooncci.site
(function(){
/* Footer Year */ document.getElementById("y").textContent = new Date().getFullYear();
/* Dark Mode */ const btn = document.getElementById("darkToggle"); const box = document.getElementById("global-home");
if(localStorage.getItem("dark")=="1"){ box.classList.add("dark"); }
btn.onclick=function(){ box.classList.toggle("dark"); localStorage.setItem("dark", box.classList.contains("dark")?"1":"0"); };
/* Latest Posts */ fetch("/wp-json/wp/v2/posts?per_page=5") .then(r=>r.json()) .then(data=>{
let html="";
data.forEach(p=>{
html+=`
`; });
document.getElementById("post-list").innerHTML=html; });
})();