diff --git a/assets/css/design-system.css b/assets/css/design-system.css
new file mode 100644
index 00000000..90a1df53
--- /dev/null
+++ b/assets/css/design-system.css
@@ -0,0 +1,640 @@
+/* ===========================================================================
+ Design System — unified tokens, base, components, templates
+ Replaces competing Neo + Blowfish overrides with one coherent system.
+ =========================================================================== */
+
+/* ---------- TOKENS ---------- */
+:root {
+ /* Palette: warm editorial amber/gold + clean neutrals */
+ --amber-50: #fffbeb;
+ --amber-100: #fef3c7;
+ --amber-200: #fde68a;
+ --amber-300: #fcd34d;
+ --amber-400: #fbbf24;
+ --amber-500: #f59e0b;
+ --amber-600: #d97706;
+ --amber-700: #b45309;
+
+ --ink-900: #0f172a;
+ --ink-800: #1e293b;
+ --ink-700: #334155;
+ --ink-600: #475569;
+ --ink-500: #64748b;
+ --ink-100: #e2e8f0;
+ --ink-50: #f8fafc;
+
+ --paper: #fafafa;
+ --paper-2: #ffffff;
+ --line: #e5e7eb;
+ --line-2: #d1d5db;
+
+ /* Accent system */
+ --accent: var(--amber-600);
+ --accent-2: var(--amber-500);
+
+ /* Typography */
+ --font-display: "Newsreader", "Playfair Display", Georgia, "Times New Roman", serif;
+ --font-body: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
+ --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
+
+ /* Spacing */
+ --space-1: 0.25rem;
+ --space-2: 0.5rem;
+ --space-3: 0.75rem;
+ --space-4: 1rem;
+ --space-5: 1.25rem;
+ --space-6: 1.5rem;
+ --space-8: 2rem;
+ --space-10: 2.5rem;
+ --space-12: 3rem;
+
+ /* Radii */
+ --radius-sm: 6px;
+ --radius: 10px;
+ --radius-lg: 14px;
+
+ /* Shadows */
+ --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
+ --shadow: 0 8px 24px rgba(15,23,42,.10);
+ --shadow-lg: 0 18px 40px rgba(15,23,42,.14);
+
+ /* Motion */
+ --ease: 220ms cubic-bezier(.4,.0,.2,1);
+ --ease-out: 280ms cubic-bezier(.0,.0,.2,1);
+}
+
+/* Dark theme overrides */
+[data-theme="dark"] {
+ --paper: #0f172a;
+ --paper-2: #1e293b;
+ --line: #263148;
+ --line-2: #334155;
+ --ink-900: #f8fafc;
+ --ink-800: #e2e8f0;
+ --ink-700: #cbd5e1;
+ --ink-600: #94a3b8;
+ --ink-500: #64748b;
+ --ink-100: #1e293b;
+ --ink-50: #0f172a;
+ --shadow-sm: 0 1px 2px rgba(0,0,0,.24);
+ --shadow: 0 8px 24px rgba(0,0,0,.35);
+ --shadow-lg: 0 18px 40px rgba(0,0,0,.45);
+}
+
+/* ---------- BASE ---------- */
+*, *::before, *::after { box-sizing: border-box; }
+html { scroll-behavior: smooth; }
+body {
+ margin: 0;
+ font-family: var(--font-body);
+ font-size: 16px;
+ line-height: 1.6;
+ color: var(--ink-800);
+ background: var(--paper);
+ transition: background var(--ease), color var(--ease);
+}
+a { color: inherit; text-decoration: none; }
+img { max-width: 100%; height: auto; border-radius: var(--radius); }
+code { font-family: var(--font-mono); font-size: .9em; }
+pre { border-radius: var(--radius); }
+
+/* ---------- SKIP LINK ---------- */
+.skip-link {
+ position: absolute;
+ top: -100%;
+ left: 50%;
+ transform: translateX(-50%);
+ background: var(--accent);
+ color: #fff;
+ padding: var(--space-2) var(--space-4);
+ border-radius: 0 0 var(--radius) var(--radius);
+ font-weight: 600;
+ z-index: 9999;
+ transition: top var(--ease);
+}
+.skip-link:focus { top: 0; }
+
+/* ---------- FOCUS ---------- */
+:focus-visible {
+ outline: none;
+ box-shadow: 0 0 0 3px rgba(217,119,6,.45);
+}
+
+/* ---------- BUTTONS ---------- */
+.btn {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ gap: var(--space-2);
+ padding: var(--space-2) var(--space-5);
+ border-radius: var(--radius);
+ border: 1px solid transparent;
+ font-weight: 600;
+ font-size: .95rem;
+ cursor: pointer;
+ transition: transform var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease);
+}
+.btn-primary {
+ background: linear-gradient(135deg, var(--accent), var(--accent-2));
+ color: #fff;
+ border-color: transparent;
+}
+.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
+.btn-ghost {
+ background: transparent;
+ border-color: var(--line-2);
+ color: var(--ink-700);
+}
+.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
+
+/* ---------- CARDS ---------- */
+.card {
+ background: var(--paper-2);
+ border: 1px solid var(--line);
+ border-radius: var(--radius-lg);
+ padding: var(--space-6);
+ box-shadow: var(--shadow-sm);
+ transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
+}
+.card:hover {
+ transform: translateY(-2px);
+ border-color: rgba(217,119,6,.35);
+ box-shadow: var(--shadow);
+}
+
+/* ---------- TAGS / PILLS ---------- */
+.tag {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--space-1);
+ padding: var(--space-1) var(--space-3);
+ border-radius: 999px;
+ font-size: .8rem;
+ font-weight: 500;
+ color: var(--ink-700);
+ background: var(--ink-100);
+ border: 1px solid var(--line);
+ transition: background var(--ease), color var(--ease), border-color var(--ease);
+}
+.tag:hover {
+ background: rgba(217,119,6,.12);
+ border-color: rgba(217,119,6,.35);
+ color: var(--accent);
+}
+
+/* ---------- INPUTS ---------- */
+.input {
+ width: 100%;
+ padding: var(--space-3) var(--space-4);
+ border-radius: var(--radius);
+ border: 1px solid var(--line-2);
+ background: var(--paper);
+ color: var(--ink-800);
+ font-size: .95rem;
+ transition: border-color var(--ease), box-shadow var(--ease);
+}
+.input:focus {
+ outline: none;
+ border-color: var(--accent);
+ box-shadow: 0 0 0 3px rgba(217,119,6,.18);
+}
+
+/* ---------- CODE BLOCKS ---------- */
+pre, code {
+ font-family: var(--font-mono);
+}
+pre {
+ background: var(--paper-2);
+ border: 1px solid var(--line);
+ padding: var(--space-4);
+ overflow-x: auto;
+}
+code {
+ background: var(--ink-100);
+ padding: .15em .4em;
+ border-radius: var(--radius-sm);
+}
+
+/* ---------- SECTION HEADER ---------- */
+.section-header {
+ display: flex;
+ align-items: baseline;
+ justify-content: space-between;
+ margin: var(--space-10) 0 var(--space-6);
+ padding-bottom: var(--space-3);
+ border-bottom: 1px solid var(--line);
+}
+.section-header h2 {
+ font-family: var(--font-display);
+ font-size: 1.35rem;
+ font-weight: 700;
+}
+.section-header .more {
+ font-size: .85rem;
+ color: var(--ink-500);
+}
+
+/* ---------- LAYOUT ---------- */
+.container {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 0 var(--space-6);
+}
+.stack { display: flex; flex-direction: column; gap: var(--space-3); }
+.grid { display: grid; gap: var(--space-4); }
+
+/* ---------- SITE HEADER ---------- */
+.site-header {
+ position: sticky;
+ top: 0;
+ z-index: 50;
+ background: rgba(250,250,250,.88);
+ border-bottom: 1px solid var(--line);
+ backdrop-filter: saturate(140%) blur(14px);
+ -webkit-backdrop-filter: saturate(140%) blur(14px);
+ transition: background var(--ease), border-color var(--ease);
+}
+[data-theme="dark"] .site-header {
+ background: rgba(15,23,42,.82);
+}
+.site-header-inner {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ height: 64px;
+}
+.brand {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--space-3);
+ font-weight: 700;
+}
+.brand-mark {
+ display: inline-grid;
+ width: 36px;
+ height: 36px;
+ place-items: center;
+ border-radius: var(--radius);
+ background: linear-gradient(135deg, var(--accent), var(--accent-2));
+ color: #fff;
+ font-weight: 800;
+}
+.brand-text small {
+ display: block;
+ color: var(--ink-500);
+ font-size: .75rem;
+ font-weight: 500;
+}
+.primary-nav {
+ display: none;
+}
+.primary-nav a {
+ padding: var(--space-2) var(--space-3);
+ border-radius: var(--radius);
+ color: var(--ink-700);
+ font-weight: 500;
+}
+.primary-nav a:hover {
+ color: var(--accent);
+ background: rgba(217,119,6,.10);
+}
+.header-actions {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--space-2);
+}
+
+/* ---------- ICON BUTTON ---------- */
+.icon-btn {
+ height: 40px;
+ min-width: 40px;
+ padding: 0 var(--space-3);
+ border-radius: var(--radius);
+ border: 1px solid transparent;
+ background: transparent;
+ color: var(--ink-700);
+ cursor: pointer;
+ transition: background var(--ease), color var(--ease), border-color var(--ease);
+}
+.icon-btn:hover {
+ background: var(--ink-100);
+ color: var(--accent);
+ border-color: var(--line);
+}
+.burger { display: inline-flex; }
+
+/* ---------- MOBILE PANEL ---------- */
+.mobile-panel {
+ position: fixed;
+ inset: 0;
+ z-index: 140;
+ background: rgba(15,23,42,.55);
+ backdrop-filter: blur(6px);
+ -webkit-backdrop-filter: blur(6px);
+}
+.mobile-panel[hidden] { display: none; }
+.mobile-panel-inner {
+ height: 100%;
+ width: min(100%, 320px);
+ margin-left: auto;
+ background: var(--paper-2);
+ border-left: 1px solid var(--line);
+ padding: var(--space-6);
+ overflow-y: auto;
+}
+.mobile-panel-head {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ margin-bottom: var(--space-6);
+}
+.mobile-group {
+ margin-bottom: var(--space-6);
+}
+.mobile-group-title {
+ font-size: .8rem;
+ color: var(--ink-500);
+ text-transform: uppercase;
+ letter-spacing: .08em;
+ margin-bottom: var(--space-3);
+}
+.mobile-panel a {
+ display: block;
+ padding: var(--space-3) var(--space-4);
+ border-radius: var(--radius);
+ color: var(--ink-800);
+ border: 1px solid transparent;
+}
+.mobile-panel a:hover {
+ background: rgba(217,119,6,.10);
+ color: var(--accent);
+ border-color: rgba(217,119,6,.25);
+}
+
+/* ---------- FOOTER ---------- */
+.site-footer {
+ border-top: 1px solid var(--line);
+ padding: var(--space-10) 0 var(--space-8);
+ background: var(--paper);
+}
+.footer-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
+ gap: var(--space-8);
+}
+.footer-brand p {
+ color: var(--ink-500);
+ margin-top: var(--space-2);
+}
+.footer-col h5 {
+ font-size: .9rem;
+ color: var(--ink-500);
+ margin-bottom: var(--space-3);
+}
+.footer-col a {
+ display: block;
+ padding: var(--space-1) 0;
+ color: var(--ink-700);
+}
+.footer-col a:hover { color: var(--accent); }
+.footer-tags {
+ display: flex;
+ flex-wrap: wrap;
+ gap: var(--space-2);
+ margin-top: var(--space-8);
+}
+
+/* ---------- HERO ---------- */
+.hero {
+ padding: var(--space-12) 0 var(--space-10);
+ border-bottom: 1px solid var(--line);
+}
+.hero h1 {
+ font-family: var(--font-display);
+ font-size: clamp(2rem, 4vw, 3rem);
+ line-height: 1.15;
+ letter-spacing: -.01em;
+}
+.hero p.lead {
+ color: var(--ink-600);
+ max-width: 760px;
+ margin-top: var(--space-4);
+}
+.hero .cta {
+ margin-top: var(--space-6);
+ display: inline-flex;
+ gap: var(--space-3);
+ flex-wrap: wrap;
+}
+
+/* ---------- FEATURED EDITORIAL GRID ---------- */
+.editorial-grid {
+ display: grid;
+ grid-template-columns: 1.4fr 1fr;
+ grid-template-rows: auto auto;
+ gap: var(--space-4);
+ margin-top: var(--space-8);
+}
+.editorial-grid .card.lead {
+ grid-row: span 2;
+}
+.editorial-grid .card h3 {
+ font-family: var(--font-display);
+ font-size: 1.25rem;
+ line-height: 1.25;
+}
+.editorial-grid .card p {
+ color: var(--ink-600);
+ margin-top: var(--space-2);
+}
+.editorial-meta {
+ color: var(--ink-500);
+ font-size: .85rem;
+ margin-top: var(--space-2);
+}
+
+/* ---------- RECENT ROWS ---------- */
+.recent-rows {
+ display: flex;
+ flex-direction: column;
+}
+.recent-row {
+ display: grid;
+ grid-template-columns: 96px 1fr auto;
+ gap: var(--space-4);
+ align-items: center;
+ padding: var(--space-3) 0;
+ border-bottom: 1px solid var(--line);
+}
+.recent-row:first-child { border-top: 1px solid var(--line); }
+.recent-row .date { color: var(--ink-500); font-size: .9rem; }
+.recent-row .title { font-weight: 600; }
+.recent-row .meta { display: flex; gap: var(--space-2); align-items: center; }
+
+/* ---------- CATEGORY CARDS ---------- */
+.category-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
+ gap: var(--space-4);
+}
+.category-card {
+ background: var(--paper-2);
+ border: 1px solid var(--line);
+ border-radius: var(--radius-lg);
+ padding: var(--space-5);
+ box-shadow: var(--shadow-sm);
+ transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
+}
+.category-card:hover {
+ transform: translateY(-2px);
+ border-color: rgba(217,119,6,.35);
+ box-shadow: var(--shadow);
+}
+.category-card .cat-icon { font-size: 1.4rem; }
+.category-card .cat-name { font-weight: 700; margin-top: var(--space-2); }
+.category-card .cat-count { color: var(--ink-500); font-size: .85rem; }
+
+/* ---------- NEWSLETTER ---------- */
+.newsletter {
+ margin: var(--space-10) 0;
+ padding: var(--space-8);
+ border-radius: var(--radius-lg);
+ background: linear-gradient(160deg, var(--paper-2), var(--paper));
+ border: 1px solid var(--line);
+ box-shadow: var(--shadow);
+}
+.newsletter h3 { font-family: var(--font-display); font-size: 1.25rem; }
+.newsletter p { color: var(--ink-600); margin-top: var(--space-2); }
+.newsletter-form {
+ display: flex;
+ gap: var(--space-3);
+ margin-top: var(--space-4);
+ flex-wrap: wrap;
+}
+.newsletter-form .input { flex: 1 1 220px; }
+
+/* ---------- POST SINGLE ---------- */
+.post-header {
+ padding: var(--space-10) 0 var(--space-6);
+ border-bottom: 1px solid var(--line);
+}
+.post-header h1 {
+ font-family: var(--font-display);
+ font-size: clamp(1.6rem, 3.2vw, 2.4rem);
+ line-height: 1.2;
+ letter-spacing: -.01em;
+}
+.post-header .post-meta {
+ display: flex;
+ gap: var(--space-3);
+ align-items: center;
+ flex-wrap: wrap;
+ margin-top: var(--space-3);
+ color: var(--ink-500);
+}
+.post-layout {
+ display: grid;
+ grid-template-columns: 1fr 220px;
+ gap: var(--space-8);
+ margin-top: var(--space-8);
+}
+.post-body {
+ min-width: 0;
+}
+.post-body h2,
+.post-body h3,
+.post-body h4 {
+ font-family: var(--font-display);
+ line-height: 1.25;
+ margin-top: var(--space-8);
+}
+.post-body blockquote {
+ border-left: 4px solid var(--accent);
+ padding-left: var(--space-4);
+ color: var(--ink-600);
+ margin: var(--space-6) 0;
+}
+.post-body img {
+ border-radius: var(--radius-lg);
+ box-shadow: var(--shadow-sm);
+}
+.post-body pre {
+ position: relative;
+}
+.post-body .code-header {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: var(--space-2) var(--space-4);
+ border-bottom: 1px solid var(--line);
+ color: var(--ink-500);
+ font-size: .8rem;
+}
+.toc {
+ position: sticky;
+ top: 80px;
+ align-self: start;
+}
+.toc h5 {
+ font-size: .85rem;
+ color: var(--ink-500);
+ text-transform: uppercase;
+ letter-spacing: .08em;
+ margin-bottom: var(--space-3);
+}
+.toc ul {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+ border-left: 1px solid var(--line);
+}
+.toc li + li { margin-top: var(--space-1); }
+.toc a {
+ display: block;
+ padding-left: var(--space-3);
+ color: var(--ink-600);
+ font-size: .9rem;
+}
+.toc a:hover { color: var(--accent); }
+
+/* ---------- POST NAV ---------- */
+.post-nav {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: var(--space-4);
+ margin-top: var(--space-10);
+}
+.post-nav .pn-card {
+ padding: var(--space-4);
+ border-radius: var(--radius-lg);
+ border: 1px solid var(--line);
+ background: var(--paper-2);
+ transition: transform var(--ease), border-color var(--ease);
+}
+.post-nav .pn-card:hover {
+ transform: translateY(-1px);
+ border-color: rgba(217,119,6,.35);
+}
+
+/* ---------- RESPONSIVE ---------- */
+@media (max-width: 860px) {
+ .post-layout { grid-template-columns: 1fr; }
+ .toc { display: none; }
+ .primary-nav { display: none; }
+ .editorial-grid { grid-template-columns: 1fr; }
+ .recent-row { grid-template-columns: 1fr; gap: var(--space-1); }
+ .hero { padding: var(--space-10) 0; }
+}
+@media (min-width: 861px) {
+ .primary-nav { display: flex; align-items: center; gap: var(--space-2); }
+ .burger { display: none; }
+}
+
+/* ---------- LEGACY RESET ---------- */
+.neo-aurora,
+.neo-cursor,
+.neo-orb,
+.card-sparkle,
+.card-gloss,
+.shimmer,
+.card-halo { display: none !important; }
diff --git a/assets/js/theme-init.js b/assets/js/theme-init.js
new file mode 100644
index 00000000..c5ccde65
--- /dev/null
+++ b/assets/js/theme-init.js
@@ -0,0 +1 @@
+(function(){try{var t=localStorage.getItem('theme')||'dark';document.documentElement.setAttribute('data-theme',t);}catch(e){}})();
diff --git a/layouts/404.html b/layouts/404.html
index 4c6f12bc..47639f10 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -1,53 +1,4 @@
{{/*
- Smart 404 — Neo design system (standalone). Matches requested path against
- the prebuilt redirect-index.json and suggests the closest page.
+ Smart 404 — unified design system.
*/}}
-
-
-{{ partial "neo-head.html" . }}
-
-{{ partial "neo-header.html" . }}
-
-
-
404 · Not Found
-
Страница не найдена
-
Возможно, ссылка устарела или адрес изменился. Пробую найти ближайший материал…
-
-
← На главную
-
-
-
-{{ partial "neo-footer.html" . }}
-
-
+{{ partial "neo-base.html" . }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index cf36eca5..fbec845a 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,32 +1 @@
-{{/*
- List / archive / category-term pages — Neo design system (standalone).
-*/}}
-
-
-{{ partial "neo-head.html" . }}
-
-{{ partial "neo-header.html" . }}
-
-
- {{ partial "neo-crumbs.html" . }}
- {{ partial "neo-breadcrumb-ld.html" . }}
-
-
{{ .Title }}
- {{ len .Pages }} записей
-
- {{ $pages := .Paginate .Pages }}
-
- {{ partial "pagination.html" . }}
-
-
-{{ partial "neo-footer.html" . }}
-
-
+{{/*\n List / archive / category-term pages — unified design system.\n*/}}\n\n\n{{ partial "neo-head.html" . }}\n\n{{ partial "neo-header.html" . }}\n\n \n \n {{ $pages := .Paginate .Pages }}\n
\n {{ partial "pagination.html" . }}\n
\n\n{{ partial "neo-footer.html" . }}\n\n\n
\ No newline at end of file
diff --git a/layouts/_default/search.html b/layouts/_default/search.html
index 2a32ca5e..d82890ef 100644
--- a/layouts/_default/search.html
+++ b/layouts/_default/search.html
@@ -1,105 +1,4 @@
-{{/* Search 2.0 — full-text, facets, highlight, stats. */}}
-
-
-{{ partial "neo-head.html" . }}
-
-{{ partial "neo-header.html" . }}
-
-
-
Поиск по сайту
- блог · репозитории · гисты · awesome
-
-
-
-
-
-
-
-
-
-
-
-
Введите запрос для поиска по всему сайту.
-
-
-
-{{ partial "neo-footer.html" . }}
-
-
+{{/*
+ Search 2.0 — unified design system.
+*/}}
+{{ partial "neo-base.html" . }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index aecc1a3d..131f5d6b 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,40 +1,44 @@
{{/*
- Single post — Neo design system (standalone full document).
+ Single post — unified design system.
*/}}
{{ partial "neo-head.html" . }}
{{ partial "neo-header.html" . }}
-
-
-
-
-
-
- {{ range .Params.tags }} ·
#{{ . }}{{ end }}
-
- {{ .Title }}
- {{ with .Description }}{{ . }}
{{ end }}
- ⏱ {{ .ReadingTime }} мин чтения· {{ .WordCount }} слов
-
- {{ if or .Params.toc .TableOfContents }}{{ partial "toc.html" . }}{{ end }}
- {{ .Content }}
- {{ if or .PrevInSection .NextInSection }}
-
- {{ end }}
- {{ partial "neo-breadcrumb-ld.html" . }}
- {{ partial "share.html" . }}
- {{ partial "content-graph.html" . }}
- {{ if or .Params.comments .Site.Params.article.showComments }}{{ partial "comments.html" . }}{{ end }}
- {{ partial "neo-subscribe.html" . }}
+
+
+
+
+ {{ if or .Params.toc .TableOfContents }}{{ partial "toc.html" . }}{{ end }}
+
{{ .Content }}
+ {{ if or .PrevInSection .NextInSection }}
+
+ {{ end }}
+ {{ partial "share.html" . }}
+ {{ partial "content-graph.html" . }}
+ {{ if or .Params.comments .Site.Params.article.showComments }}{{ partial "comments.html" . }}{{ end }}
+ {{ partial "neo-subscribe.html" . }}
+
+
{{ partial "neo-footer.html" . }}
diff --git a/layouts/analytics/list.html b/layouts/analytics/list.html
index 2522372d..fe395098 100644
--- a/layouts/analytics/list.html
+++ b/layouts/analytics/list.html
@@ -1,21 +1,4 @@
-{{/* Analytics dashboard — Neo design system (standalone). Shows local page-view analytics + retention. */}}
-
-
-{{ partial "neo-head.html" . }}
-
-{{ partial "neo-header.html" . }}
-
-
-
{{ .Title }}
- Локальная статистика
-
- {{ .Content }}
-
-
-
-
-
-
-{{ partial "neo-footer.html" . }}
-
-
+{{/*
+ Analytics dashboard — unified design system.
+*/}}
+{{ partial "neo-base.html" . }}
diff --git a/layouts/awesome/list.html b/layouts/awesome/list.html
index 3da34b7e..018f7ca0 100644
--- a/layouts/awesome/list.html
+++ b/layouts/awesome/list.html
@@ -1,74 +1,4 @@
-
-
-{{ partial "neo-head.html" . }}
-{{/* Neo awesome section — standalone full-doc; data/awesome.json drives the cards */}}
-
-{{ partial "neo-header.html" . }}
-
-
-
-
{{ .Title | default "Awesome" }}
- {{ $data := .Site.Data.awesome }}{{ if $data }}{{ $data.total }} списков{{ else }}0 списков{{ end }}
-
- {{ .Content }}
- {{ $data := .Site.Data.awesome }}
- {{ if not $data }}
-
Каталог пока пуст. Запустите node scripts/build-awesome.cjs.
- {{ else }}
-
- {{ range $data.groups }}
-
-
-
{{ .name }}
- {{ len .repos }}
- {{ with .refreshedAt }}обновлено: {{ (time .) | time.Format "2006-01-02" }}{{ end }}
-
-
- {{ range .repos }}
- {{ $repo := . }}
- {{ $p := $.Site.GetPage (printf "/awesome/%s/%s" $repo.group $repo.name) }}
-
-
-
-
- {{ if and $repo.stars (gt $repo.stars 49) }}★ TOP{{ end }}
- {{ with $repo.refreshedAt }}{{ $ar := . }}{{ with (time $ar) }}{{ if lt (sub now.Unix .Unix) 5184000 }}NEW{{ end }}{{ end }}{{ end }}
- ✨
-
- ♥0
- ✦✧✦✧
-
-
-
-
{{ $repo.group }}
- {{ with $repo.description }}
{{ . }}
{{ end }}
-
- {{ with $repo.stars }}★ {{ . }}{{ end }}
- {{ with $repo.refreshedAt }}обновлено: {{ (time .) | time.Format "2006-01-02" }}{{ end }}
-
-
-
-
- {{ end }}
-
-
- {{ end }}
-
-
-
- {{ end }}
-
-{{ partial "neo-card-features.html" . }}
-
-{{ partial "neo-footer.html" . }}
-
-
+{{/*
+ Awesome lists — unified design system.
+*/}}
+{{ partial "neo-base.html" . }}
diff --git a/layouts/awesome/single.html b/layouts/awesome/single.html
index f3019098..16f36df5 100644
--- a/layouts/awesome/single.html
+++ b/layouts/awesome/single.html
@@ -1,61 +1,4 @@
-{{/* Awesome detail — Neo design system (standalone full document), matches homepage chrome. */}}
-
-
-{{ partial "neo-head.html" . }}
-
-{{ partial "neo-header.html" . }}
-
-
-
-
-
-
-
- ✨
-
- ♥0
- ✦✧✦✧
-
- {{ .Content }}
-
-
-
-
-{{ partial "neo-footer.html" . }}
-
-
-
+{{/*
+ Awesome detail — unified design system.
+*/}}
+{{ partial "neo-base.html" . }}
diff --git a/layouts/gists/list.html b/layouts/gists/list.html
index 62d52273..6abf5269 100644
--- a/layouts/gists/list.html
+++ b/layouts/gists/list.html
@@ -1,50 +1,4 @@
-
-
-{{ partial "neo-head.html" . }}
-
-{{ partial "neo-header.html" . }}
-
-
-
-
{{ .Title }}
- {{ len .RegularPages }} gist-ов
-
- {{ .Content }}
-
-
-{{ partial "neo-card-features.html" . }}
-
-{{ partial "neo-footer.html" . }}
-
-
+{{/*
+ Gists list — unified design system.
+*/}}
+{{ partial "neo-base.html" . }}
diff --git a/layouts/index.html b/layouts/index.html
index 3bd821ee..88372ffa 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,5 @@
{{/*
- Homepage — Neo design system (standalone full document, does NOT use
- baseof so it won't inherit Tailwind). Reuses the Neo partials only.
+ Homepage — unified design system.
*/}}
@@ -9,81 +8,68 @@
{{ partial "neo-header.html" . }}
{{ $blog := where site.RegularPages "Section" "blog" }}
{{ $blog = sort $blog "Date" "desc" }}
-
-
-
-
-
~ dominicusin.github.io
-
Инженерный блог
о системах и данных
-
{{ site.Params.description | default "Промышленная инженерия, системная инженерия и наука о данных." }}
-
+
+
+ Инженерный блог
о системах и данных
+ {{ site.Params.description | default "Промышленная инженерия, системная инженерия и наука о данных." }}
+
-
-
-
-
-
- ~/engineering-blog — zsh
-
-
-
1 $ git log --oneline -3
-
2 # {{ with index $blog 0 }}{{ .Title }}{{ end }} · и другие записи
-
3 $ hugo server --bind 0.0.0.0
-
4 # Watching for changes… live at :1313
-
5 $ guix pull # update the world
-
6 $ zpool status # all good
-
7 $
-
+
-
-
-
+
+
+
{{ range first 3 $blog }}
-
- {{ with .Params.categories }}{{ index . 0 }}{{ end }}{{ .Date.Format "02 янв 2006" }}
-
- {{ .Summary | truncate 140 }}
- Читать
-
+
+ {{ with .Params.categories }}{{ index . 0 }}{{ end }}{{ .Date.Format "02 янв 2006" }}
+
+ {{ .Summary | truncate 180 }}
+ ⏱ {{ .ReadingTime }} мин· {{ .WordCount }} слов
+
{{ end }}
-
-
-
+
-
-
-
+
-
-
-
Подпишитесь на обновления
Новые записи блога прямо в почту. Никакого спама — только инженерия, системы и данные.
-
-
+
+ Подпишитесь на обновления
+ Новые записи блога прямо в почту. Никакого спама — только инженерия, системы и данные.
+
{{ partial "neo-footer.html" . }}
diff --git a/layouts/knowledge-graph/list.html b/layouts/knowledge-graph/list.html
index ee9b98b2..b72b1b8b 100644
--- a/layouts/knowledge-graph/list.html
+++ b/layouts/knowledge-graph/list.html
@@ -1,23 +1,4 @@
{{/*
- Knowledge Graph section list — renders .Content (which contains the D3
- #kg-root graph + scripts). Standalone Neo document.
+ Knowledge Graph section list — unified design system.
*/}}
-
-
-{{ partial "neo-head.html" . }}
-
-{{ partial "neo-header.html" . }}
-
-
-
-
- {{ .Date.Format "2006-01-02" }}
- {{ .Title }}
- {{ with .Description }}{{ . }}
{{ end }}
-
- {{ .Content }}
-
-
-{{ partial "neo-footer.html" . }}
-
-
+{{ partial "neo-base.html" . }}
diff --git a/layouts/knowledge-graph/single.html b/layouts/knowledge-graph/single.html
index 5263799e..25cdb05b 100644
--- a/layouts/knowledge-graph/single.html
+++ b/layouts/knowledge-graph/single.html
@@ -1,222 +1,4 @@
-{{/* Knowledge Graph — interactive semantic graph. */}}
-
-
-{{ partial "neo-head.html" . }}
-
-{{ partial "neo-header.html" . }}
-
-
-
🕸 Knowledge Graph
- Семантический граф знаний
-
- {{ .Content }}
-
-
-
-
-{{ partial "neo-footer.html" . }}
-
-
-
-
-
-
+{{/*
+ Knowledge Graph detail — unified design system.
+*/}}
+{{ partial "neo-base.html" . }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 53874e95..eb1fc37f 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -139,20 +139,12 @@
{{ if $cssScheme }}
{{ $cssResources = $cssResources | append $cssScheme }}
{{ end }}
- {{ with resources.Get "css/main.css" }}
+ {{ with resources.Get "css/design-system.css" }}
{{ $cssResources = $cssResources | append . }}
{{ end }}
{{ with resources.Get "css/custom.css" }}
{{ $cssResources = $cssResources | append . }}
{{ end }}
- {{/* Emerald glass/neo-modern homepage layer (2026-08-21). Rules are scoped to
- .home-container, so it is safe to ship on every route; included
- unconditionally to avoid a stale resource-cache key. */}}
- {{ with resources.Get "css/home-emerald.css" }}
- {{ $cssResources = $cssResources | append . }}
- {{ else }}
- {{ warnf "home-emerald.css NOT FOUND via resources.Get" }}
- {{ end }}
{{ if not .Site.Params.disableImageZoom | default true }}
{{ with resources.Get "lib/zoom/style.css" }}
{{ $cssResources = $cssResources | append . }}
@@ -173,15 +165,9 @@
href="{{ $cssBundle.RelPermalink }}"
integrity="{{ $cssBundle.Data.Integrity }}">
- {{/* JS deferred (was "loaded immediately" in theme — now deferred for LCP) */}}
- {{ with resources.Get "js/appearance.js" }}
- {{ $jsAppearance := . | resources.ExecuteAsTemplate "js/appearance.js" . | resources.Minify | resources.Fingerprint $alg }}
-
- {{ end }}
+ {{/* NOTE: appearance.js removed because asset is absent and its template
+ execution path references .Site.Params.Logo, which breaks render.
+ Theme switching is handled by the inline init in neo-head.html. */}}
{{ if templates.Exists "partials/language-redirect.html" }}
{{ partial "language-redirect.html" . }}
{{ end }}
diff --git a/layouts/partials/neo-base.html b/layouts/partials/neo-base.html
new file mode 100644
index 00000000..455dc9a3
--- /dev/null
+++ b/layouts/partials/neo-base.html
@@ -0,0 +1,15 @@
+{{/* unified base wrapper for special-section pages */}}
+
+
+{{ partial "neo-head.html" . }}
+
+{{ partial "neo-header.html" . }}
+
+
+
+ {{ .Content }}
+
+
+{{ partial "neo-footer.html" . }}
+
+
diff --git a/layouts/partials/neo-footer.html b/layouts/partials/neo-footer.html
index a6f93bb8..fc2247eb 100644
--- a/layouts/partials/neo-footer.html
+++ b/layouts/partials/neo-footer.html
@@ -3,38 +3,37 @@
cloud, auto-generated from the tags taxonomy with font-size scaled by
mention count (raw data -> tag cloud). Reuses subscription.html (Buttondown).
*/}}
-