Added mermaid support.

This commit is contained in:
starcells committed 2026-02-21 10:07:05 +08:00
1 parent 3ab22fb9e5
commit 0d74fe425c
14 files changed
+268 -156

No files matched your search

@@ -0,0 +1 @@
<div class="mermaid">{{- .Inner | safeHTML -}}</div>
+23
View File
@@ -1,3 +1,26 @@
{{ if or .Params.math .Site.Params.math }}
{{ partial "math.html" . }}
{{ end }}
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
// 配置 Mermaid
mermaid.initialize({
startOnLoad: true,
theme: document.body.classList.contains('dark') ? 'dark' : 'default'
});
// 自动适配 PaperMod 的暗黑模式切换
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
if (mutation.attributeName === 'class') {
const isDark = document.body.classList.contains('dark');
mermaid.initialize({ theme: isDark ? 'dark' : 'default' });
// 重新渲染已有的图(可选,取决于你对暗黑切换的需求)
location.reload();
}
});
});
observer.observe(document.body, { attributes: true });
});
</script>
+34 -19
View File
@@ -1,24 +1,24 @@
<!DOCTYPE html>
<html lang="en" dir="auto" data-theme="auto">
<head><meta charset="utf-8">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="index, follow">
<meta name="robots" content="noindex, nofollow">
<title>404 Page not found | Starcells.ltd</title>
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="author" content="StarCells">
<link rel="canonical" href="https://hugo.starcells.ltd/404.html">
<link rel="canonical" href="http://localhost:1313/404.html">
<link crossorigin="anonymous" href="/assets/css/stylesheet.da3211e5ef867bf2b75fd5a6515cfed7195c011e8ab735694e203810a827097b.css" integrity="sha256-2jIR5e&#43;Ge/K3X9WmUVz&#43;1xlcAR6KtzVpTiA4EKgnCXs=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://hugo.starcells.ltd/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://hugo.starcells.ltd/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://hugo.starcells.ltd/favicon-32x32.png">
<link rel="apple-touch-icon" href="https://hugo.starcells.ltd/apple-touch-icon.png">
<link rel="mask-icon" href="https://hugo.starcells.ltd/safari-pinned-tab.svg">
<link rel="icon" href="http://localhost:1313/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png">
<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png">
<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg">
<meta name="theme-color" content="#2e2e33">
<meta name="msapplication-TileColor" content="#2e2e33">
<link rel="alternate" hreflang="en" href="https://hugo.starcells.ltd/404.html">
<link rel="alternate" hreflang="en" href="http://localhost:1313/404.html">
<noscript>
<style>
#theme-toggle,
@@ -96,21 +96,36 @@
"></script>
<meta property="og:url" content="https://hugo.starcells.ltd/404.html">
<meta property="og:site_name" content="Starcells.ltd">
<meta property="og:title" content="404 Page not found">
<meta property="og:locale" content="zh-cn">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="404 Page not found">
<meta name="twitter:description" content="">
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
mermaid.initialize({
startOnLoad: true,
theme: document.body.classList.contains('dark') ? 'dark' : 'default'
});
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
if (mutation.attributeName === 'class') {
const isDark = document.body.classList.contains('dark');
mermaid.initialize({ theme: isDark ? 'dark' : 'default' });
location.reload();
}
});
});
observer.observe(document.body, { attributes: true });
});
</script>
</head>
<body class="list" id="top">
<header class="header">
<nav class="nav">
<div class="logo">
<a href="https://hugo.starcells.ltd/" accesskey="h" title="Starcells.ltd (Alt + H)">Starcells.ltd</a>
<a href="http://localhost:1313/" accesskey="h" title="Starcells.ltd (Alt + H)">Starcells.ltd</a>
<div class="logo-switches">
<button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme">
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
@@ -143,7 +158,7 @@
</main>
<footer class="footer">
<span>&copy; 2026 <a href="https://hugo.starcells.ltd/">Starcells.ltd</a></span> ·
<span>&copy; 2026 <a href="http://localhost:1313/">Starcells.ltd</a></span> ·
<span>
Powered by
+35 -20
View File
@@ -1,25 +1,25 @@
<!DOCTYPE html>
<html lang="en" dir="auto" data-theme="auto">
<head><meta charset="utf-8">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="index, follow">
<meta name="robots" content="noindex, nofollow">
<title>Categories | Starcells.ltd</title>
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="author" content="StarCells">
<link rel="canonical" href="https://hugo.starcells.ltd/categories/">
<link rel="canonical" href="http://localhost:1313/categories/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.da3211e5ef867bf2b75fd5a6515cfed7195c011e8ab735694e203810a827097b.css" integrity="sha256-2jIR5e&#43;Ge/K3X9WmUVz&#43;1xlcAR6KtzVpTiA4EKgnCXs=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://hugo.starcells.ltd/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://hugo.starcells.ltd/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://hugo.starcells.ltd/favicon-32x32.png">
<link rel="apple-touch-icon" href="https://hugo.starcells.ltd/apple-touch-icon.png">
<link rel="mask-icon" href="https://hugo.starcells.ltd/safari-pinned-tab.svg">
<link rel="icon" href="http://localhost:1313/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png">
<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png">
<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg">
<meta name="theme-color" content="#2e2e33">
<meta name="msapplication-TileColor" content="#2e2e33">
<link rel="alternate" type="application/rss+xml" href="https://hugo.starcells.ltd/categories/index.xml" title="rss">
<link rel="alternate" hreflang="en" href="https://hugo.starcells.ltd/categories/">
<link rel="alternate" type="application/rss+xml" href="http://localhost:1313/categories/index.xml" title="rss">
<link rel="alternate" hreflang="en" href="http://localhost:1313/categories/">
<noscript>
<style>
#theme-toggle,
@@ -97,21 +97,36 @@
"></script>
<meta property="og:url" content="https://hugo.starcells.ltd/categories/">
<meta property="og:site_name" content="Starcells.ltd">
<meta property="og:title" content="Categories">
<meta property="og:locale" content="zh-cn">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Categories">
<meta name="twitter:description" content="">
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
mermaid.initialize({
startOnLoad: true,
theme: document.body.classList.contains('dark') ? 'dark' : 'default'
});
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
if (mutation.attributeName === 'class') {
const isDark = document.body.classList.contains('dark');
mermaid.initialize({ theme: isDark ? 'dark' : 'default' });
location.reload();
}
});
});
observer.observe(document.body, { attributes: true });
});
</script>
</head>
<body class="list" id="top">
<header class="header">
<nav class="nav">
<div class="logo">
<a href="https://hugo.starcells.ltd/" accesskey="h" title="Starcells.ltd (Alt + H)">Starcells.ltd</a>
<a href="http://localhost:1313/" accesskey="h" title="Starcells.ltd (Alt + H)">Starcells.ltd</a>
<div class="logo-switches">
<button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme">
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
@@ -149,7 +164,7 @@
</main>
<footer class="footer">
<span>&copy; 2026 <a href="https://hugo.starcells.ltd/">Starcells.ltd</a></span> ·
<span>&copy; 2026 <a href="http://localhost:1313/">Starcells.ltd</a></span> ·
<span>
Powered by
+2 -2
View File
@@ -2,10 +2,10 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>Categories on Starcells.ltd</title>
<link>https://hugo.starcells.ltd/categories/</link>
<link>http://localhost:1313/categories/</link>
<description>Recent content in Categories on Starcells.ltd</description>
<generator>Hugo -- 0.155.3</generator>
<language>zh-cn</language>
<atom:link href="https://hugo.starcells.ltd/categories/index.xml" rel="self" type="application/rss+xml" />
<atom:link href="http://localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
+47 -33
View File
@@ -2,25 +2,25 @@
<html lang="en" dir="auto" data-theme="auto">
<head>
<meta name="generator" content="Hugo 0.155.3"><meta charset="utf-8">
<meta name="generator" content="Hugo 0.155.3"><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="index, follow">
<meta name="robots" content="noindex, nofollow">
<title>Starcells.ltd</title>
<meta name="description" content="">
<meta name="author" content="StarCells">
<link rel="canonical" href="https://hugo.starcells.ltd/">
<link rel="canonical" href="http://localhost:1313/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.da3211e5ef867bf2b75fd5a6515cfed7195c011e8ab735694e203810a827097b.css" integrity="sha256-2jIR5e&#43;Ge/K3X9WmUVz&#43;1xlcAR6KtzVpTiA4EKgnCXs=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://hugo.starcells.ltd/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://hugo.starcells.ltd/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://hugo.starcells.ltd/favicon-32x32.png">
<link rel="apple-touch-icon" href="https://hugo.starcells.ltd/apple-touch-icon.png">
<link rel="mask-icon" href="https://hugo.starcells.ltd/safari-pinned-tab.svg">
<link rel="icon" href="http://localhost:1313/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png">
<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png">
<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg">
<meta name="theme-color" content="#2e2e33">
<meta name="msapplication-TileColor" content="#2e2e33">
<link rel="alternate" type="application/rss+xml" href="https://hugo.starcells.ltd/index.xml" title="rss">
<link rel="alternate" hreflang="en" href="https://hugo.starcells.ltd/">
<link rel="alternate" type="application/rss+xml" href="http://localhost:1313/index.xml" title="rss">
<link rel="alternate" hreflang="en" href="http://localhost:1313/">
<noscript>
<style>
#theme-toggle,
@@ -98,34 +98,36 @@
"></script>
<meta property="og:url" content="https://hugo.starcells.ltd/">
<meta property="og:site_name" content="Starcells.ltd">
<meta property="og:title" content="Starcells.ltd">
<meta property="og:locale" content="zh-cn">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Starcells.ltd">
<meta name="twitter:description" content="">
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
mermaid.initialize({
startOnLoad: true,
theme: document.body.classList.contains('dark') ? 'dark' : 'default'
});
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Starcells.ltd",
"url": "https://hugo.starcells.ltd/",
"description": "",
"logo": "https://hugo.starcells.ltd/favicon.ico",
"sameAs": [
]
}
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
if (mutation.attributeName === 'class') {
const isDark = document.body.classList.contains('dark');
mermaid.initialize({ theme: isDark ? 'dark' : 'default' });
location.reload();
}
});
});
observer.observe(document.body, { attributes: true });
});
</script>
</head>
<body class="list" id="top">
<header class="header">
<nav class="nav">
<div class="logo">
<a href="https://hugo.starcells.ltd/" accesskey="h" title="Starcells.ltd (Alt + H)">Starcells.ltd</a>
<a href="http://localhost:1313/" accesskey="h" title="Starcells.ltd (Alt + H)">Starcells.ltd</a>
<div class="logo-switches">
<button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme">
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
@@ -156,6 +158,18 @@
<main class="main">
<article class="first-entry">
<header class="entry-header">
<h2 class="entry-hint-parent">我在卧室修集群
</h2>
</header>
<div class="entry-content">
<p>关于集群拓扑的一点碎嘴</p>
</div>
<footer class="entry-footer"><span title='2026-02-21 00:23:52 +0800 CST'>February 21, 2026</span>&nbsp;·&nbsp;<span>StarCells</span></footer>
<a class="entry-link" aria-label="post link to 我在卧室修集群" href="http://localhost:1313/posts/%E6%88%91%E5%9C%A8%E5%8D%A7%E5%AE%A4%E4%BF%AE%E9%9B%86%E7%BE%A4/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
<h2 class="entry-hint-parent">Maps
</h2>
@@ -164,12 +178,12 @@
<p>基于独立集的区域涂色方式计数方法</p>
</div>
<footer class="entry-footer"><span title='2026-02-17 18:42:40 +0800 CST'>February 17, 2026</span>&nbsp;·&nbsp;<span>StarCells</span></footer>
<a class="entry-link" aria-label="post link to Maps" href="https://hugo.starcells.ltd/posts/maps/"></a>
<a class="entry-link" aria-label="post link to Maps" href="http://localhost:1313/posts/maps/"></a>
</article>
</main>
<footer class="footer">
<span>&copy; 2026 <a href="https://hugo.starcells.ltd/">Starcells.ltd</a></span> ·
<span>&copy; 2026 <a href="http://localhost:1313/">Starcells.ltd</a></span> ·
<span>
Powered by
+12 -5
View File
@@ -2,17 +2,24 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>Starcells.ltd</title>
<link>https://hugo.starcells.ltd/</link>
<link>http://localhost:1313/</link>
<description>Recent content on Starcells.ltd</description>
<generator>Hugo -- 0.155.3</generator>
<language>zh-cn</language>
<lastBuildDate>Tue, 17 Feb 2026 18:42:40 +0800</lastBuildDate>
<atom:link href="https://hugo.starcells.ltd/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Sat, 21 Feb 2026 00:23:52 +0800</lastBuildDate>
<atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>我在卧室修集群</title>
<link>http://localhost:1313/posts/%E6%88%91%E5%9C%A8%E5%8D%A7%E5%AE%A4%E4%BF%AE%E9%9B%86%E7%BE%A4/</link>
<pubDate>Sat, 21 Feb 2026 00:23:52 +0800</pubDate>
<guid>http://localhost:1313/posts/%E6%88%91%E5%9C%A8%E5%8D%A7%E5%AE%A4%E4%BF%AE%E9%9B%86%E7%BE%A4/</guid>
<description>关于集群拓扑的一点碎嘴</description>
</item>
<item>
<title>Maps</title>
<link>https://hugo.starcells.ltd/posts/maps/</link>
<link>http://localhost:1313/posts/maps/</link>
<pubDate>Tue, 17 Feb 2026 18:42:40 +0800</pubDate>
<guid>https://hugo.starcells.ltd/posts/maps/</guid>
<guid>http://localhost:1313/posts/maps/</guid>
<description>基于独立集的区域涂色方式计数方法</description>
</item>
</channel>
+3 -3
View File
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<title>https://hugo.starcells.ltd/</title>
<link rel="canonical" href="https://hugo.starcells.ltd/">
<title>http://localhost:1313/</title>
<link rel="canonical" href="http://localhost:1313/">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://hugo.starcells.ltd/">
<meta http-equiv="refresh" content="0; url=http://localhost:1313/">
</head>
</html>
+47 -35
View File
@@ -1,25 +1,25 @@
<!DOCTYPE html>
<html lang="en" dir="auto" data-theme="auto">
<head><meta charset="utf-8">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="index, follow">
<meta name="robots" content="noindex, nofollow">
<title>Posts | Starcells.ltd</title>
<meta name="keywords" content="">
<meta name="description" content="Posts - Starcells.ltd">
<meta name="author" content="StarCells">
<link rel="canonical" href="https://hugo.starcells.ltd/posts/">
<link rel="canonical" href="http://localhost:1313/posts/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.da3211e5ef867bf2b75fd5a6515cfed7195c011e8ab735694e203810a827097b.css" integrity="sha256-2jIR5e&#43;Ge/K3X9WmUVz&#43;1xlcAR6KtzVpTiA4EKgnCXs=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://hugo.starcells.ltd/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://hugo.starcells.ltd/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://hugo.starcells.ltd/favicon-32x32.png">
<link rel="apple-touch-icon" href="https://hugo.starcells.ltd/apple-touch-icon.png">
<link rel="mask-icon" href="https://hugo.starcells.ltd/safari-pinned-tab.svg">
<link rel="icon" href="http://localhost:1313/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png">
<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png">
<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg">
<meta name="theme-color" content="#2e2e33">
<meta name="msapplication-TileColor" content="#2e2e33">
<link rel="alternate" type="application/rss+xml" href="https://hugo.starcells.ltd/posts/index.xml" title="rss">
<link rel="alternate" hreflang="en" href="https://hugo.starcells.ltd/posts/">
<link rel="alternate" type="application/rss+xml" href="http://localhost:1313/posts/index.xml" title="rss">
<link rel="alternate" hreflang="en" href="http://localhost:1313/posts/">
<noscript>
<style>
#theme-toggle,
@@ -97,36 +97,36 @@
"></script>
<meta property="og:url" content="https://hugo.starcells.ltd/posts/">
<meta property="og:site_name" content="Starcells.ltd">
<meta property="og:title" content="Posts">
<meta property="og:locale" content="zh-cn">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Posts">
<meta name="twitter:description" content="">
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
mermaid.initialize({
startOnLoad: true,
theme: document.body.classList.contains('dark') ? 'dark' : 'default'
});
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1 ,
"name": "Posts",
"item": "https://hugo.starcells.ltd/posts/"
}
]
}
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
if (mutation.attributeName === 'class') {
const isDark = document.body.classList.contains('dark');
mermaid.initialize({ theme: isDark ? 'dark' : 'default' });
location.reload();
}
});
});
observer.observe(document.body, { attributes: true });
});
</script>
</head>
<body class="list" id="top">
<header class="header">
<nav class="nav">
<div class="logo">
<a href="https://hugo.starcells.ltd/" accesskey="h" title="Starcells.ltd (Alt + H)">Starcells.ltd</a>
<a href="http://localhost:1313/" accesskey="h" title="Starcells.ltd (Alt + H)">Starcells.ltd</a>
<div class="logo-switches">
<button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme">
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
@@ -161,6 +161,18 @@
</h1>
</header>
<article class="post-entry">
<header class="entry-header">
<h2 class="entry-hint-parent">我在卧室修集群
</h2>
</header>
<div class="entry-content">
<p>关于集群拓扑的一点碎嘴</p>
</div>
<footer class="entry-footer"><span title='2026-02-21 00:23:52 +0800 CST'>February 21, 2026</span>&nbsp;·&nbsp;<span>StarCells</span></footer>
<a class="entry-link" aria-label="post link to 我在卧室修集群" href="http://localhost:1313/posts/%E6%88%91%E5%9C%A8%E5%8D%A7%E5%AE%A4%E4%BF%AE%E9%9B%86%E7%BE%A4/"></a>
</article>
<article class="post-entry">
<header class="entry-header">
<h2 class="entry-hint-parent">Maps
@@ -170,12 +182,12 @@
<p>基于独立集的区域涂色方式计数方法</p>
</div>
<footer class="entry-footer"><span title='2026-02-17 18:42:40 +0800 CST'>February 17, 2026</span>&nbsp;·&nbsp;<span>StarCells</span></footer>
<a class="entry-link" aria-label="post link to Maps" href="https://hugo.starcells.ltd/posts/maps/"></a>
<a class="entry-link" aria-label="post link to Maps" href="http://localhost:1313/posts/maps/"></a>
</article>
</main>
<footer class="footer">
<span>&copy; 2026 <a href="https://hugo.starcells.ltd/">Starcells.ltd</a></span> ·
<span>&copy; 2026 <a href="http://localhost:1313/">Starcells.ltd</a></span> ·
<span>
Powered by
+12 -5
View File
@@ -2,17 +2,24 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>Posts on Starcells.ltd</title>
<link>https://hugo.starcells.ltd/posts/</link>
<link>http://localhost:1313/posts/</link>
<description>Recent content in Posts on Starcells.ltd</description>
<generator>Hugo -- 0.155.3</generator>
<language>zh-cn</language>
<lastBuildDate>Tue, 17 Feb 2026 18:42:40 +0800</lastBuildDate>
<atom:link href="https://hugo.starcells.ltd/posts/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Sat, 21 Feb 2026 00:23:52 +0800</lastBuildDate>
<atom:link href="http://localhost:1313/posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>我在卧室修集群</title>
<link>http://localhost:1313/posts/%E6%88%91%E5%9C%A8%E5%8D%A7%E5%AE%A4%E4%BF%AE%E9%9B%86%E7%BE%A4/</link>
<pubDate>Sat, 21 Feb 2026 00:23:52 +0800</pubDate>
<guid>http://localhost:1313/posts/%E6%88%91%E5%9C%A8%E5%8D%A7%E5%AE%A4%E4%BF%AE%E9%9B%86%E7%BE%A4/</guid>
<description>关于集群拓扑的一点碎嘴</description>
</item>
<item>
<title>Maps</title>
<link>https://hugo.starcells.ltd/posts/maps/</link>
<link>http://localhost:1313/posts/maps/</link>
<pubDate>Tue, 17 Feb 2026 18:42:40 +0800</pubDate>
<guid>https://hugo.starcells.ltd/posts/maps/</guid>
<guid>http://localhost:1313/posts/maps/</guid>
<description>基于独立集的区域涂色方式计数方法</description>
</item>
</channel>
+3 -3
View File
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<title>https://hugo.starcells.ltd/posts/</title>
<link rel="canonical" href="https://hugo.starcells.ltd/posts/">
<title>http://localhost:1313/posts/</title>
<link rel="canonical" href="http://localhost:1313/posts/">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://hugo.starcells.ltd/posts/">
<meta http-equiv="refresh" content="0; url=http://localhost:1313/posts/">
</head>
</html>
+12 -9
View File
@@ -2,17 +2,20 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://hugo.starcells.ltd/posts/maps/</loc>
<loc>http://localhost:1313/posts/</loc>
<lastmod>2026-02-21T00:23:52+08:00</lastmod>
</url><url>
<loc>http://localhost:1313/</loc>
<lastmod>2026-02-21T00:23:52+08:00</lastmod>
</url><url>
<loc>http://localhost:1313/posts/%E6%88%91%E5%9C%A8%E5%8D%A7%E5%AE%A4%E4%BF%AE%E9%9B%86%E7%BE%A4/</loc>
<lastmod>2026-02-21T00:23:52+08:00</lastmod>
</url><url>
<loc>http://localhost:1313/posts/maps/</loc>
<lastmod>2026-02-17T18:42:40+08:00</lastmod>
</url><url>
<loc>https://hugo.starcells.ltd/posts/</loc>
<lastmod>2026-02-17T18:42:40+08:00</lastmod>
<loc>http://localhost:1313/categories/</loc>
</url><url>
<loc>https://hugo.starcells.ltd/</loc>
<lastmod>2026-02-17T18:42:40+08:00</lastmod>
</url><url>
<loc>https://hugo.starcells.ltd/categories/</loc>
</url><url>
<loc>https://hugo.starcells.ltd/tags/</loc>
<loc>http://localhost:1313/tags/</loc>
</url>
</urlset>
+35 -20
View File
@@ -1,25 +1,25 @@
<!DOCTYPE html>
<html lang="en" dir="auto" data-theme="auto">
<head><meta charset="utf-8">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="index, follow">
<meta name="robots" content="noindex, nofollow">
<title>Tags | Starcells.ltd</title>
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="author" content="StarCells">
<link rel="canonical" href="https://hugo.starcells.ltd/tags/">
<link rel="canonical" href="http://localhost:1313/tags/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.da3211e5ef867bf2b75fd5a6515cfed7195c011e8ab735694e203810a827097b.css" integrity="sha256-2jIR5e&#43;Ge/K3X9WmUVz&#43;1xlcAR6KtzVpTiA4EKgnCXs=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://hugo.starcells.ltd/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://hugo.starcells.ltd/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://hugo.starcells.ltd/favicon-32x32.png">
<link rel="apple-touch-icon" href="https://hugo.starcells.ltd/apple-touch-icon.png">
<link rel="mask-icon" href="https://hugo.starcells.ltd/safari-pinned-tab.svg">
<link rel="icon" href="http://localhost:1313/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png">
<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png">
<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg">
<meta name="theme-color" content="#2e2e33">
<meta name="msapplication-TileColor" content="#2e2e33">
<link rel="alternate" type="application/rss+xml" href="https://hugo.starcells.ltd/tags/index.xml" title="rss">
<link rel="alternate" hreflang="en" href="https://hugo.starcells.ltd/tags/">
<link rel="alternate" type="application/rss+xml" href="http://localhost:1313/tags/index.xml" title="rss">
<link rel="alternate" hreflang="en" href="http://localhost:1313/tags/">
<noscript>
<style>
#theme-toggle,
@@ -97,21 +97,36 @@
"></script>
<meta property="og:url" content="https://hugo.starcells.ltd/tags/">
<meta property="og:site_name" content="Starcells.ltd">
<meta property="og:title" content="Tags">
<meta property="og:locale" content="zh-cn">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Tags">
<meta name="twitter:description" content="">
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
mermaid.initialize({
startOnLoad: true,
theme: document.body.classList.contains('dark') ? 'dark' : 'default'
});
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
if (mutation.attributeName === 'class') {
const isDark = document.body.classList.contains('dark');
mermaid.initialize({ theme: isDark ? 'dark' : 'default' });
location.reload();
}
});
});
observer.observe(document.body, { attributes: true });
});
</script>
</head>
<body class="list" id="top">
<header class="header">
<nav class="nav">
<div class="logo">
<a href="https://hugo.starcells.ltd/" accesskey="h" title="Starcells.ltd (Alt + H)">Starcells.ltd</a>
<a href="http://localhost:1313/" accesskey="h" title="Starcells.ltd (Alt + H)">Starcells.ltd</a>
<div class="logo-switches">
<button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme">
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
@@ -149,7 +164,7 @@
</main>
<footer class="footer">
<span>&copy; 2026 <a href="https://hugo.starcells.ltd/">Starcells.ltd</a></span> ·
<span>&copy; 2026 <a href="http://localhost:1313/">Starcells.ltd</a></span> ·
<span>
Powered by
+2 -2
View File
@@ -2,10 +2,10 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>Tags on Starcells.ltd</title>
<link>https://hugo.starcells.ltd/tags/</link>
<link>http://localhost:1313/tags/</link>
<description>Recent content in Tags on Starcells.ltd</description>
<generator>Hugo -- 0.155.3</generator>
<language>zh-cn</language>
<atom:link href="https://hugo.starcells.ltd/tags/index.xml" rel="self" type="application/rss+xml" />
<atom:link href="http://localhost:1313/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>