summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2026-04-21 20:46:33 +0300
committer2026-04-21 20:46:33 +0300
commit001e5887bc7b8831dc1da4dbe42ee5cccf0225de (patch)
tree002cf15f5a7557b398a957a1b7a6bc3eb8f5cc5b
parentобновления (diff)
downloadblog-001e5887bc7b8831dc1da4dbe42ee5cccf0225de.tar.gz
blog-001e5887bc7b8831dc1da4dbe42ee5cccf0225de.tar.bz2
blog-001e5887bc7b8831dc1da4dbe42ee5cccf0225de.tar.xz
blog-001e5887bc7b8831dc1da4dbe42ee5cccf0225de.zip
21.04.2026HEADmaster
-rw-r--r--content/_index.md2
-rw-r--r--content/posts/2026-04-15-days/days.pngbin0 -> 162340 bytes
-rw-r--r--content/posts/2026-04-15-days/index.md19
-rw-r--r--content/posts/2026-04-16-linux-baikal/index.md22
-rw-r--r--content/posts/2026-04-21-keep-calm/index.md21
-rw-r--r--content/projects/pwa/index.md8
-rw-r--r--go.mod5
-rw-r--r--go.sum2
-rw-r--r--hugo.yaml197
-rw-r--r--themes/neonxp/archetypes/default.md8
-rw-r--r--themes/neonxp/assets/css/atom.css234
-rw-r--r--themes/neonxp/assets/css/main.css185
-rw-r--r--themes/neonxp/assets/css/paper.css184
-rw-r--r--themes/neonxp/go.mod3
-rw-r--r--themes/neonxp/hugo.yaml18
-rw-r--r--themes/neonxp/layouts/_default/section.atom.xml24
-rw-r--r--themes/neonxp/layouts/_default/section.feed.json31
-rw-r--r--themes/neonxp/layouts/_default/taxonomy.html20
-rw-r--r--themes/neonxp/layouts/_default/terms.html17
-rw-r--r--themes/neonxp/layouts/_partials/footer.html1
-rw-r--r--themes/neonxp/layouts/_partials/head.html12
-rw-r--r--themes/neonxp/layouts/_partials/head/css.html27
-rw-r--r--themes/neonxp/layouts/_partials/head/js.html16
-rw-r--r--themes/neonxp/layouts/_partials/header.html2
-rw-r--r--themes/neonxp/layouts/_partials/menu.html50
-rw-r--r--themes/neonxp/layouts/_partials/terms.html29
-rw-r--r--themes/neonxp/layouts/baseof.html17
-rw-r--r--themes/neonxp/layouts/home.html16
-rw-r--r--themes/neonxp/layouts/page.html50
-rw-r--r--themes/neonxp/layouts/pages/section.html23
-rw-r--r--themes/neonxp/layouts/projects/section.html23
-rw-r--r--themes/neonxp/layouts/section.html26
-rw-r--r--themes/neonxp/layouts/shortcodes/img.html21
-rw-r--r--themes/neonxp/layouts/taxonomy.html11
-rw-r--r--themes/neonxp/layouts/term.html7
-rw-r--r--themes/neonxp/static/favicon.icobin0 -> 8772 bytes
36 files changed, 1222 insertions, 109 deletions
diff --git a/content/_index.md b/content/_index.md
index 422ba18..ff74139 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -2,7 +2,7 @@
title: Добро пожаловать!
---
-<img src="/files/logo512.webp" align="right" width="256" />
+<img src="/files/logo512.webp" align="right" class="no-mobile" width="256" />
Добро пожаловать на мой личный сервер.
diff --git a/content/posts/2026-04-15-days/days.png b/content/posts/2026-04-15-days/days.png
new file mode 100644
index 0000000..d51cac9
--- /dev/null
+++ b/content/posts/2026-04-15-days/days.png
Binary files differ
diff --git a/content/posts/2026-04-15-days/index.md b/content/posts/2026-04-15-days/index.md
new file mode 100644
index 0000000..32d5524
--- /dev/null
+++ b/content/posts/2026-04-15-days/index.md
@@ -0,0 +1,19 @@
+---
+title: Счётчик дней
+date: 2026-04-15T21:48:04+03:00
+tags: ["Моё"]
+category:
+ - Мои проекты
+---
+
+Сделал такое PWA. Позволяет отсчитывать дни от или до даты.
+
+https://days.neonxp.ru/
+
+![](/posts/2026-04-15-days/days.png)
+
+Внутри просто JS + CSS + alpine.js (годная библиотека, рекомендую, если не охото особо заниматься фронтендом).
+
+100% вайбкода, 0% органического кода.
+
+[Исходники](https://gitverse.ru/neonxp/days)
diff --git a/content/posts/2026-04-16-linux-baikal/index.md b/content/posts/2026-04-16-linux-baikal/index.md
new file mode 100644
index 0000000..ae690d6
--- /dev/null
+++ b/content/posts/2026-04-16-linux-baikal/index.md
@@ -0,0 +1,22 @@
+---
+title: В ядре Linux 7.1 начали удаление поддержки процессоров Baikal
+date: 2026-04-16T17:29:30+03:00
+tags: ["linux"]
+category:
+ - Без категории
+---
+
+https://www.opennet.ru/opennews/art.shtml?num=65222
+
+Загнивает. А жаль. Видимо, и правда придётся или ждать хардфорка ядра в Альт
+или переезжать на *BSD. Последнего бы не очень хотелось, ведь хоть и ОС по
+отзывам и очень годная, но всё же целиком делают не наши. Да и нынче связана с
+нежелательной организацией. А это всё риски и намекает, что не стоит делать на
+неё ставку. Хотя и считаю что это уже чушь какая-то. Но «маемо шо маемо».
+
+А для меня, в свете событий последних лет, страна производства стало чуть ли не
+главнейшим критерием. И подобные новости только лишний раз убеждают в
+правильности такой позиции.
+
+Так что, да, буду надеяться, что ребята из Альта перейдут на поддерживаемый в РФ
+форк ядра (который ещё должен появиться!) в один прекрасный день.
diff --git a/content/posts/2026-04-21-keep-calm/index.md b/content/posts/2026-04-21-keep-calm/index.md
new file mode 100644
index 0000000..76f9545
--- /dev/null
+++ b/content/posts/2026-04-21-keep-calm/index.md
@@ -0,0 +1,21 @@
+---
+title: Помощник по дыханию
+date: 2026-04-21T20:36:36+03:00
+tags: ["моё"]
+category:
+ - Проекты
+---
+
+Сделал очередное мелкое PWA. В этот раз — помощник по правильным дыхательным
+техникам.
+
+https://calm.neonxp.ru/
+
+Получилось очень красиво, поэтому не буду прикладывать скриншота, дабы не
+портить впечатление ;)
+
+Всё так же как и в [прошлый раз](https://neonxp.ru/posts/2026-04-15-days/),
+100% вайбкода, 0% органического кода. Времени — минут 20-30 наверное.
+
+P.S. Завёл раздел для таких мелких PWA проектов:
+https://neonxp.ru/projects/pwa/ ведь на одном я явно не остановлюсь :)
diff --git a/content/projects/pwa/index.md b/content/projects/pwa/index.md
new file mode 100644
index 0000000..21286ae
--- /dev/null
+++ b/content/projects/pwa/index.md
@@ -0,0 +1,8 @@
+---
+title: "Мелкие PWA"
+---
+
+Мои маленькие навайбкоженные PWA (Progressive Web Applications).
+
+- https://days.neonxp.ru/ - счётчик дней от даты или до даты
+- https://calm.neonxp.ru/ - помощник по техникам дыхания \ No newline at end of file
diff --git a/go.mod b/go.mod
deleted file mode 100644
index 1b2ff9a..0000000
--- a/go.mod
+++ /dev/null
@@ -1,5 +0,0 @@
-module neonxp.ru
-
-go 1.26
-
-require go.neonxp.ru/hugo/base v0.0.0-20260318094644-cd5341dff333 // indirect
diff --git a/go.sum b/go.sum
deleted file mode 100644
index 52b5c51..0000000
--- a/go.sum
+++ /dev/null
@@ -1,2 +0,0 @@
-go.neonxp.ru/hugo/base v0.0.0-20260318094644-cd5341dff333 h1:/Ev0KDJzYYYeZVCEjNGNxsBwgRMPTA3FWWTizsyG9uM=
-go.neonxp.ru/hugo/base v0.0.0-20260318094644-cd5341dff333/go.mod h1:+ASMSuFQ1wCIE/RDkjBKt/jxXWyuXfrbUDXmeVd8tzM=
diff --git a/hugo.yaml b/hugo.yaml
index 60c75d5..0e02619 100644
--- a/hugo.yaml
+++ b/hugo.yaml
@@ -2,119 +2,114 @@ baseURL: https://neonxp.ru/
languageCode: ru-ru
defaultContentLanguage: ru
title: ~/NeonXP.log
-theme: go.neonxp.ru/hugo/base
+theme: neonxp
enableEmoji: true
params:
- author: Александр Кирюхин
+ author: Александр Кирюхин
menus:
- main:
- - name: Главная
- pageRef: /
- pre: <img src="/img/home.svg" class="menu-icon" />
- weight: 10
- - name: Блог
- pageRef: /posts
- pre: <img src="/img/notebook.svg" class="menu-icon" />
- weight: 20
- - name: Теги
- pageRef: /tags
- pre: <img src="/img/tag.svg" class="menu-icon" />
- weight: 25
- - name: Категории
- pageRef: /categories
- pre: <img src="/img/star.svg" class="menu-icon" />
- weight: 26
- - name: Проекты
- pageRef: /projects
- pre: <img src="/img/project.svg" class="menu-icon" />
- weight: 30
- - name: Разное
- pageRef: /pages
- pre: <img src="/img/other.svg" class="menu-icon" />
- weight: 40
- - name: Git
- url: https://git.neonxp.ru/
- pre: <img src="/img/git.svg" class="menu-icon" />
- weight: 50
- - name: Go
- url: https://go.neonxp.ru/
- pre: <img src="/img/golang.svg" class="menu-icon" />
- weight: 55
- - name: Я
- pageRef: /me
- pre: <img src="/img/logo.svg" class="menu-icon" />
- weight: 60
- - name: Atom
- url: /feed/
- pre: <img src="/img/atom.svg" class="menu-icon" />
- weight: 70
+ main:
+ - name: Главная
+ pageRef: /
+ pre: <img src="/img/home.svg" class="menu-icon" />
+ weight: 10
+ - name: Блог
+ pageRef: /posts
+ pre: <img src="/img/notebook.svg" class="menu-icon" />
+ weight: 20
+ - name: Теги
+ pageRef: /tags
+ pre: <img src="/img/tag.svg" class="menu-icon" />
+ weight: 25
+ - name: Категории
+ pageRef: /categories
+ pre: <img src="/img/star.svg" class="menu-icon" />
+ weight: 26
+ - name: Проекты
+ pageRef: /projects
+ pre: <img src="/img/project.svg" class="menu-icon" />
+ weight: 30
+ - name: Разное
+ pageRef: /pages
+ pre: <img src="/img/other.svg" class="menu-icon" />
+ weight: 40
+ - name: Git
+ url: https://git.neonxp.ru/
+ pre: <img src="/img/git.svg" class="menu-icon" />
+ weight: 50
+ - name: Go
+ url: https://go.neonxp.ru/
+ pre: <img src="/img/golang.svg" class="menu-icon" />
+ weight: 55
+ - name: Я
+ pageRef: /me
+ pre: <img src="/img/logo.svg" class="menu-icon" />
+ weight: 60
+ - name: Atom
+ url: /feed/
+ pre: <img src="/img/atom.svg" class="menu-icon" />
+ weight: 70
taxonomies:
- tag: tags
- category: categories
-module:
- hugoVersion:
- extended: true
- min: 0.146.0
- imports:
- - path: go.neonxp.ru/hugo/base
+ tag: tags
+ category: categories
+
markup:
- goldmark:
- renderer:
- unsafe: true
- extensions:
- definitionList: true
- footnote: true
- linkify: true
- linkifyProtocol: https
- strikethrough: true
- table: true
- taskList: true
- parser:
- attribute:
- block: true
+ goldmark:
+ renderer:
+ unsafe: true
+ extensions:
+ definitionList: true
+ footnote: true
+ linkify: true
+ linkifyProtocol: https
+ strikethrough: true
+ table: true
+ taskList: true
+ parser:
+ attribute:
+ block: true
outputs:
- home:
- - html
- section:
- - html
- - atom
- - feed
- page:
- - html
- taxonomy:
- - html
- term:
- - html
+ home:
+ - html
+ section:
+ - html
+ - atom
+ - feed
+ page:
+ - html
+ taxonomy:
+ - html
+ term:
+ - html
outputFormats:
- atom:
- mediaType: "application/atom+xml"
- baseName: "atom"
- isHTML: false
- isPlainText: false
- noUgly: true
- rel: "alternate"
- feed:
- mediaType: "application/json"
- baseName: "feed"
- isHTML: false
- isPlainText: false
- noUgly: true
- rel: "alternate"
+ atom:
+ mediaType: "application/atom+xml"
+ baseName: "atom"
+ isHTML: false
+ isPlainText: false
+ noUgly: true
+ rel: "alternate"
+ feed:
+ mediaType: "application/json"
+ baseName: "feed"
+ isHTML: false
+ isPlainText: false
+ noUgly: true
+ rel: "alternate"
mediaTypes:
- application/atom+xml:
- suffixes:
- - xml
- application/json:
- suffixes:
- - json
+ application/atom+xml:
+ suffixes:
+ - xml
+ application/json:
+ suffixes:
+ - json
enableRobotsTXT: true
imaging:
- resampleFilter: Box
- quality: 75
- hint: photo
- anchor: Smart
+ resampleFilter: Box
+ quality: 75
+ hint: photo
+ anchor: Smart
diff --git a/themes/neonxp/archetypes/default.md b/themes/neonxp/archetypes/default.md
new file mode 100644
index 0000000..57e3501
--- /dev/null
+++ b/themes/neonxp/archetypes/default.md
@@ -0,0 +1,8 @@
+---
+title:
+date: "{{ .Date }}"
+tags:
+ -
+categories:
+ - Без категории
+---
diff --git a/themes/neonxp/assets/css/atom.css b/themes/neonxp/assets/css/atom.css
new file mode 100644
index 0000000..53b8503
--- /dev/null
+++ b/themes/neonxp/assets/css/atom.css
@@ -0,0 +1,234 @@
+/* Базовое отображение XML-элементов как блоков */
+feed,
+entry,
+title,
+link,
+updated,
+published,
+summary,
+content,
+author,
+name,
+email,
+uri,
+id {
+ display: block;
+}
+
+/* Скрываем служебные элементы */
+feed>id,
+feed>link[rel="self"],
+entry>id,
+entry>author,
+entry>link:not([rel="alternate"]) {
+ display: none;
+}
+
+/* Основной контейнер */
+feed {
+ max-width: 800px;
+ margin: 0 auto;
+ padding: 2rem 1rem;
+ font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
+ background-color: var(--bg, #101010);
+ color: var(--text, #a0a0a0);
+ line-height: 1.5;
+}
+
+/* Заголовок блога */
+feed>title {
+ font-size: 2.5rem;
+ font-weight: bold;
+ margin-bottom: 0.5rem;
+ color: var(--link-color, #a73afd);
+ border-bottom: 2px solid var(--border, #909090);
+ padding-bottom: 0.5rem;
+}
+
+/* Информация об авторе (только в корне) */
+feed>author {
+ display: flex;
+ gap: 1rem;
+ margin-bottom: 2rem;
+ color: var(--text-secondary, #909090);
+ font-size: 0.95rem;
+}
+
+feed>author>name {
+ font-weight: 600;
+}
+
+feed>author>email,
+feed>author>uri {
+ display: inline-block;
+}
+
+feed>author>uri {
+ word-break: break-all;
+}
+
+/* Дата обновления ленты */
+feed>updated {
+ margin-bottom: 2rem;
+ font-style: italic;
+ color: var(--text-secondary, #909090);
+}
+
+feed>updated::before {
+ content: "Обновлено: ";
+ font-style: normal;
+}
+
+/* Карточка записи */
+entry {
+ margin-bottom: 2.5rem;
+ padding: 1.5rem;
+ background-color: var(--surface, #010101);
+ border-radius: 8px;
+ box-shadow: var(--shadow, 0 2px 8px rgba(0, 0, 0, 0.2));
+ border: 1px solid var(--border, #909090);
+}
+
+/* Заголовок записи */
+entry>title {
+ font-size: 1.8rem;
+ font-weight: 600;
+ margin-bottom: 0.75rem;
+ color: var(--link-color, #a73afd);
+ line-height: 1.3;
+}
+
+/* Ссылка на полный пост */
+entry>link[rel="alternate"] {
+ display: inline-block;
+ margin-bottom: 1rem;
+ font-size: 0.9rem;
+}
+
+entry>link[rel="alternate"]::before {
+ content: "🔗 Читать полностью: ";
+ color: var(--text-secondary, #909090);
+}
+
+entry>link[rel="alternate"]::after {
+ content: attr(href);
+ display: inline-block;
+ margin-left: 0.25rem;
+ color: var(--link-color, #a73afd);
+ text-decoration: underline;
+ text-underline-offset: 2px;
+ word-break: break-all;
+}
+
+/* Даты */
+entry>published,
+entry>updated {
+ display: inline-block;
+ margin-right: 1.5rem;
+ margin-bottom: 1rem;
+ font-size: 0.9rem;
+ color: var(--text-secondary, #909090);
+}
+
+entry>published::before {
+ content: "📅 Опубликовано: ";
+}
+
+entry>updated::before {
+ content: "🔄 Обновлено: ";
+}
+
+/* Краткое содержание */
+entry>summary {
+ margin: 1rem 0;
+ padding: 1rem;
+ background-color: rgba(255, 255, 255, 0.03);
+ border-left: 3px solid var(--link-color, #a73afd);
+ border-radius: 0 4px 4px 0;
+ font-size: 1rem;
+ white-space: pre-wrap;
+ word-break: break-word;
+}
+
+entry>summary::before {
+ content: "📋 Аннотация";
+ display: block;
+ font-weight: bold;
+ margin-bottom: 0.75rem;
+ color: var(--text-secondary, #909090);
+ text-transform: uppercase;
+ letter-spacing: 1px;
+ font-size: 0.8rem;
+}
+
+/* Полное содержание */
+entry>content {
+ margin-top: 1.5rem;
+ padding-top: 1rem;
+ border-top: 1px dashed var(--border, #909090);
+ white-space: pre-wrap;
+ word-break: break-word;
+}
+
+entry>content::before {
+ content: "📄 Полный текст";
+ display: block;
+ font-weight: bold;
+ margin-bottom: 1rem;
+ color: var(--text-secondary, #909090);
+ text-transform: uppercase;
+ letter-spacing: 1px;
+ font-size: 0.8rem;
+}
+
+/* Адаптивность */
+@media (max-width: 600px) {
+ feed {
+ padding: 1rem 0.75rem;
+ }
+
+ feed>title {
+ font-size: 2rem;
+ }
+
+ entry {
+ padding: 1rem;
+ }
+
+ entry>title {
+ font-size: 1.5rem;
+ }
+}
+
+/* Цветовые переменные */
+:root {
+ --bg: #101010;
+ --surface: #010101;
+ --border: #909090;
+ --text: #a0a0a0;
+ --text-secondary: #909090;
+ --shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
+ --link-color: #a73afd;
+}
+
+/* Печатная версия */
+@media print {
+ feed {
+ background: white;
+ color: black;
+ }
+
+ entry {
+ box-shadow: none;
+ border: 1px solid #ccc;
+ background: white;
+ }
+
+ entry>title {
+ color: black;
+ }
+
+ entry>link[rel="alternate"]::after {
+ color: black;
+ }
+} \ No newline at end of file
diff --git a/themes/neonxp/assets/css/main.css b/themes/neonxp/assets/css/main.css
new file mode 100644
index 0000000..6c0d4e1
--- /dev/null
+++ b/themes/neonxp/assets/css/main.css
@@ -0,0 +1,185 @@
+:root {
+ --border-radius: 4px;
+ --shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
+}
+
+@media (prefers-color-scheme: dark) {
+ :root {
+ --shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
+ }
+}
+
+h1 {
+ line-height: 2.5rem;
+}
+
+h1 a,
+h2 a,
+h3 a,
+h4 a,
+h5 a,
+h6 a {
+ text-decoration: none;
+}
+
+nav {
+ margin-top: 1rem;
+}
+
+nav ul {
+ padding: 0;
+ margin: 0;
+ display: flex;
+ justify-content: space-between;
+}
+
+nav ul li {
+ list-style: none;
+ display: inline-block;
+ border: 0.1px solid var(--link-color);
+ border-radius: var(--border-radius);
+}
+
+nav ul li a {
+ padding: 0.5rem 1rem;
+ text-decoration: none;
+ display: inline-block;
+ width: auto;
+ line-height: 1.5rem;
+}
+
+nav ul li a:hover {
+ background-color: color-mix(in srgb, var(--link-color) 10%, transparent);
+}
+
+nav ul li a.active {
+ background-color: color-mix(in srgb, var(--link-color) 10%, transparent);
+}
+
+@media (max-width: 900px) {
+ nav ul {
+ display: block;
+ }
+
+ nav ul li {
+ display: block;
+ border-radius: 0;
+ }
+
+ nav ul:first-child {
+ border-radius: var(--border-radius)
+ }
+
+ nav ul li a {
+ display: block;
+ }
+}
+
+ul.taxonomy {
+ display: block;
+ padding: 0;
+ margin: 0.5rem 0;
+}
+
+ul.taxonomy li {
+ list-style: none;
+ display: inline;
+}
+
+ul.taxonomy li::after {
+ content: " | ";
+}
+
+ul.taxonomy li:last-child::after {
+ content: "";
+}
+
+ul.terms {
+ display: block;
+ padding: 0;
+ margin: 0.5rem 0;
+}
+
+ul.terms li {
+ list-style: none;
+ display: inline;
+}
+
+ul.terms li::after {
+ content: " | ";
+}
+
+ul.terms li:last-child::after {
+ content: "";
+}
+
+ul.pagination {
+ display: block;
+ padding: 0;
+ margin: 0.5rem 0;
+}
+
+ul.pagination li {
+ display: inline;
+ list-style: none;
+}
+
+ul.pagination li.active a {
+ background-color: color-mix(in srgb, var(--link-color) 10%, transparent);
+}
+
+ul.pagination li a {
+ padding: 0.5rem 1rem;
+ border: 0.1px solid var(--link-color);
+ border-radius: var(--border-radius);
+ text-decoration: none;
+ line-height: 3rem;
+}
+
+ul.pagination li a:hover {
+ background-color: color-mix(in srgb, var(--link-color) 10%, transparent);
+}
+
+ul.pagination li:first-child a {
+ margin-left: 0;
+}
+
+pre {
+ border-radius: var(--border-radius);
+ border: 0.1px solid var(--border);
+ padding: 0.5rem;
+}
+
+time {
+ width: 100%;
+ text-align: right;
+ color: #a0a0a0;
+ font-size: 10pt;
+ border-top: 1px dotted var(--border);
+ margin-top: 5px;
+ display: block;
+}
+
+img {
+ border-radius: var(--border-radius);
+}
+
+.menu-icon {
+ height: 24px;
+ width: 24px;
+ border-radius: 0;
+ margin-bottom: -0.5rem;
+}
+
+a.btn-primary {
+ display: inline-block;
+ padding: 0.5rem 1rem;
+ margin: 1rem 0;
+ border: 0.1px solid var(--link-color);
+ border-radius: var(--border-radius);
+ text-decoration: none;
+}
+
+a.btn-primary:hover {
+ background-color: color-mix(in srgb, var(--link-color) 10%, transparent);
+} \ No newline at end of file
diff --git a/themes/neonxp/assets/css/paper.css b/themes/neonxp/assets/css/paper.css
new file mode 100644
index 0000000..07089d0
--- /dev/null
+++ b/themes/neonxp/assets/css/paper.css
@@ -0,0 +1,184 @@
+html,
+body {
+ padding: 0px;
+ margin: 0px;
+ border: none;
+}
+
+*,
+*::before,
+*::after {
+ box-sizing: border-box;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ margin: 0;
+ /* line-height: 1; */
+}
+
+:root {
+ --bg: #ffffff;
+ --surface: #f8f9fa;
+ --border: #e3e3e3;
+ --text: #2e2e2e;
+ --text-secondary: #6c757d;
+ --link-color: #a73afd;
+}
+
+@media (prefers-color-scheme: dark) {
+ :root {
+ --bg: #101010;
+ --surface: #010101;
+ --border: #909090;
+ --text: #a0a0a0;
+ --text-secondary: #909090;
+ --shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
+ --link-color: #a73afd;
+ }
+}
+
+@media print {
+
+ *,
+ *:before,
+ *:after,
+ *:first-letter,
+ p:first-line,
+ div:first-line,
+ blockquote:first-line,
+ li:first-line {
+ background: transparent !important;
+ color: #000 !important;
+ box-shadow: none !important;
+ text-shadow: none !important;
+ }
+
+ :root {
+ --main-color: #000;
+ --background-color: #fff;
+ --main-background-color: #fff;
+ }
+
+ main {
+ font-size: 12pt !important;
+ line-height: 1.4 !important;
+ --background-color: #fff !important;
+ }
+
+ header {
+ display: none;
+ }
+
+ footer {
+ display: none;
+ }
+
+ article {
+ page-break-after: always;
+ border: 0 !important;
+ padding: 0 !important;
+ }
+
+ a[href] {
+ color: #000;
+ }
+}
+
+html {
+ background-color: var(--surface);
+ display: flex;
+ justify-content: center;
+ flex-direction: row;
+}
+
+body {
+ color: var(--text);
+ font-family: Arial, Helvetica, sans-serif;
+ line-height: 1.5;
+ width: 100%;
+ max-width: 1200px;
+}
+
+a {
+ color: var(--link-color);
+}
+
+header,
+footer {
+ padding: 0 2rem;
+}
+
+main {
+ padding: 0 2rem;
+}
+
+article {
+ background-color: var(--bg);
+ padding: 1.5em 2em;
+ margin: 1em 0;
+ border: 0.1px solid var(--border);
+ word-break: break-word;
+}
+
+article p {
+ orphans: 3;
+ widows: 4;
+ text-align: justify;
+}
+
+figure {
+ max-width: 800px;
+}
+
+img {
+ max-width: 100%;
+}
+
+@media (max-width: 900px) {
+ main {
+ font-size: 15px;
+ line-height: 1.5;
+ padding: 0 0.5em;
+ }
+
+ header,
+ footer {
+ padding: 0 0.5rem;
+ }
+
+ article {
+ padding: 0.5em;
+ }
+
+ .no-mobile {
+ display: none;
+ }
+}
+
+@media (max-width: 480px) {
+ main {
+ font-size: 14px;
+ line-height: 1.4;
+ padding: 0 0.1em;
+ }
+
+ header,
+ footer {
+ padding: 0 0.1rem;
+ }
+
+ article {
+ padding: 0.5em 0.5em;
+ }
+}
+
+pre,
+code {
+ max-width: 100%;
+ overflow-x: scroll;
+} \ No newline at end of file
diff --git a/themes/neonxp/go.mod b/themes/neonxp/go.mod
new file mode 100644
index 0000000..ccf3fc8
--- /dev/null
+++ b/themes/neonxp/go.mod
@@ -0,0 +1,3 @@
+module go.neonxp.ru/hugo/base
+
+go 1.25.7
diff --git a/themes/neonxp/hugo.yaml b/themes/neonxp/hugo.yaml
new file mode 100644
index 0000000..4177323
--- /dev/null
+++ b/themes/neonxp/hugo.yaml
@@ -0,0 +1,18 @@
+baseURL: https://example.org/
+languageCode: en-US
+title: My New Hugo Site
+menus:
+ main:
+ - name: Home
+ pageRef: /
+ weight: 10
+ - name: Posts
+ pageRef: /posts
+ weight: 20
+ - name: Tags
+ pageRef: /tags
+ weight: 30
+module:
+ hugoVersion:
+ extended: false
+ min: 0.146.0
diff --git a/themes/neonxp/layouts/_default/section.atom.xml b/themes/neonxp/layouts/_default/section.atom.xml
new file mode 100644
index 0000000..58ef568
--- /dev/null
+++ b/themes/neonxp/layouts/_default/section.atom.xml
@@ -0,0 +1,24 @@
+{{ print "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>"| safeHTML }}
+{{ print "<?xml-stylesheet type=\"text/css\" href=\"/css/atom.css\" ?>"| safeHTML }}
+<feed xmlns="http://www.w3.org/2005/Atom">
+ <title>{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}</title>
+ <link rel="self" href="{{ .Permalink }}"/>
+ <updated>{{ .Date.Format "2006-01-02T15:04:05-0700" | safeHTML }}</updated>
+ <author>
+ <name>Alexander NeonXP Kiryukhin</name>
+ <email>i@neonxp.ru</email>
+ <uri>https://neonxp.ru/</uri>
+ </author>
+ <id>{{ .Permalink }}</id>
+ {{ range first 15 .Data.Pages }}
+ <entry>
+ <title>{{ .Title }}</title>
+ <link rel="alternate" href="{{ .Permalink }}"/>
+ <id>{{ .Permalink }}</id>
+ <published>{{ .Date.Format "2006-01-02T15:04:05-0700" | safeHTML }}</published>
+ <updated>{{ .Lastmod.Format "2006-01-02T15:04:05-0700" | safeHTML }}</updated>
+ <summary type="html">{{ .Summary | html }}</summary>
+ <content type="html">{{ .Content | html }}</content>
+ </entry>
+ {{ end }}
+</feed>
diff --git a/themes/neonxp/layouts/_default/section.feed.json b/themes/neonxp/layouts/_default/section.feed.json
new file mode 100644
index 0000000..d7d70d0
--- /dev/null
+++ b/themes/neonxp/layouts/_default/section.feed.json
@@ -0,0 +1,31 @@
+{
+ "version": "https://jsonfeed.org/version/1",
+ "title": {{ .Site.Title | jsonify }},
+ "home_page_url": {{ .Permalink | jsonify }},
+ {{ with .OutputFormats.Get "json" -}}
+ "feed_url": {{ .Permalink | jsonify }},
+ {{- end }}
+ {{- if .Site.Params.author -}}
+ "author": {
+ "name": {{ .Site.Params.author | jsonify }}
+ },
+ {{ end -}}
+ {{- if .Data.Pages -}}
+ "items": [
+ {{ range $index, $element := first 10 .Data.Pages -}}
+ {{ if $index }},{{end}} {
+ "title": {{ $element.Title | jsonify }},
+ "id": {{ $element.Permalink | jsonify }},
+ "url": {{ $element.Permalink | jsonify }},
+ "summary": {{ $element.Summary | jsonify }},
+ {{- if eq $element.Type "link" -}}
+ "external_url": {{ $element.Params.link | jsonify }},
+ {{- end -}}
+ "content_html": {{ $element.Content | jsonify }},
+ "content_text": {{ $element.Plain | jsonify }},
+ "date_published": {{ $element.Date.Format "2006-02-01T15:04:05-0700" | jsonify }}
+ }
+ {{- end }}
+ ]
+ {{ end -}}
+} \ No newline at end of file
diff --git a/themes/neonxp/layouts/_default/taxonomy.html b/themes/neonxp/layouts/_default/taxonomy.html
new file mode 100644
index 0000000..ac5fc7d
--- /dev/null
+++ b/themes/neonxp/layouts/_default/taxonomy.html
@@ -0,0 +1,20 @@
+{{ define "main" }}
+<article>
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+</article>
+{{ range .Data.Pages }}
+<article class="h-entry">
+ <h2 class="p-name"><a class="u-url" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
+ {{if .Date }}
+ {{ $dateMachine := .Date | time.Format "2006-01-02 15:04:05-07:00" }}
+ {{ $dateHuman := .Date | time.Format ":date_long" }}
+ <time class="dt-published" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
+ {{end}}
+ <div class="p-summary">
+ {{ .Summary }}
+ </div>
+ <a class="btn-primary" href="{{ .RelPermalink }}">Читать дальше...</a>
+</article>
+{{ end }}
+{{ end }} \ No newline at end of file
diff --git a/themes/neonxp/layouts/_default/terms.html b/themes/neonxp/layouts/_default/terms.html
new file mode 100644
index 0000000..49d993f
--- /dev/null
+++ b/themes/neonxp/layouts/_default/terms.html
@@ -0,0 +1,17 @@
+{{ define "main" }}
+<article>
+ <h1>{{ i18n .Title }}</h1>
+ {{ .Content }}
+</article>
+<article>
+ <ul class="terms">
+ {{ range $key, $value := .Data.Terms }}
+ {{ $postCount := len $value.Pages -}}
+
+ <li><a href="
+ /{{ $.Data.Plural | urlize }}/{{ $key | urlize }}">{{ $key
+ }}</a>&nbsp;({{$postCount}})</li>
+ {{ end }}
+ </ul>
+</article>
+{{ end }} \ No newline at end of file
diff --git a/themes/neonxp/layouts/_partials/footer.html b/themes/neonxp/layouts/_partials/footer.html
new file mode 100644
index 0000000..2c30eaa
--- /dev/null
+++ b/themes/neonxp/layouts/_partials/footer.html
@@ -0,0 +1 @@
+<p>&copy; 2007 — {{ now.Year }} Александр NeonXP Кирюхин. <a href="mailto:i@neonxp.ru">i@neonxp.ru</a></p> \ No newline at end of file
diff --git a/themes/neonxp/layouts/_partials/head.html b/themes/neonxp/layouts/_partials/head.html
new file mode 100644
index 0000000..7826e2a
--- /dev/null
+++ b/themes/neonxp/layouts/_partials/head.html
@@ -0,0 +1,12 @@
+<meta charset="utf-8" />
+<meta name="viewport" content="width=device-width, initial-scale=1" />
+<link rel="icon" href="/favicon.ico" type="image/x-icon">
+{{ partial "opengraph.html" . }}
+<title>
+ {{ if .IsHome }}
+ {{ site.Title }}
+ {{ else }}
+ {{ printf "%s | %s" .Title site.Title }}
+ {{ end }}
+</title>
+{{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} \ No newline at end of file
diff --git a/themes/neonxp/layouts/_partials/head/css.html b/themes/neonxp/layouts/_partials/head/css.html
new file mode 100644
index 0000000..9324758
--- /dev/null
+++ b/themes/neonxp/layouts/_partials/head/css.html
@@ -0,0 +1,27 @@
+{{- with resources.Get "css/reset.css" }}
+{{- if hugo.IsDevelopment }}
+<link rel="stylesheet" href="{{ .RelPermalink }}">
+{{- else }}
+{{- with . | minify | fingerprint }}
+<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
+{{- end }}
+{{- end }}
+{{- end }}
+{{- with resources.Get "css/paper.css" }}
+{{- if hugo.IsDevelopment }}
+<link rel="stylesheet" href="{{ .RelPermalink }}">
+{{- else }}
+{{- with . | minify | fingerprint }}
+<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
+{{- end }}
+{{- end }}
+{{- end }}
+{{- with resources.Get "css/main.css" }}
+{{- if hugo.IsDevelopment }}
+<link rel="stylesheet" href="{{ .RelPermalink }}">
+{{- else }}
+{{- with . | minify | fingerprint }}
+<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
+{{- end }}
+{{- end }}
+{{- end }} \ No newline at end of file
diff --git a/themes/neonxp/layouts/_partials/head/js.html b/themes/neonxp/layouts/_partials/head/js.html
new file mode 100644
index 0000000..1b7c18e
--- /dev/null
+++ b/themes/neonxp/layouts/_partials/head/js.html
@@ -0,0 +1,16 @@
+<!-- {{- with resources.Get "js/main.js" }}
+ {{- $opts := dict
+ "minify" (not hugo.IsDevelopment)
+ "sourceMap" (cond hugo.IsDevelopment "external" "")
+ "targetPath" "js/main.js"
+ }}
+ {{- with . | js.Build $opts }}
+ {{- if hugo.IsDevelopment }}
+ <script src="{{ .RelPermalink }}"></script>
+ {{- else }}
+ {{- with . | fingerprint }}
+ <script src="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"></script>
+ {{- end }}
+ {{- end }}
+ {{- end }}
+{{- end }} --> \ No newline at end of file
diff --git a/themes/neonxp/layouts/_partials/header.html b/themes/neonxp/layouts/_partials/header.html
new file mode 100644
index 0000000..7980a00
--- /dev/null
+++ b/themes/neonxp/layouts/_partials/header.html
@@ -0,0 +1,2 @@
+<h1>{{ site.Title }}</h1>
+{{ partial "menu.html" (dict "menuID" "main" "page" .) }}
diff --git a/themes/neonxp/layouts/_partials/menu.html b/themes/neonxp/layouts/_partials/menu.html
new file mode 100644
index 0000000..ebad53f
--- /dev/null
+++ b/themes/neonxp/layouts/_partials/menu.html
@@ -0,0 +1,50 @@
+{{- /*
+Renders a menu for the given menu ID.
+
+@context {page} page The current page.
+@context {string} menuID The menu ID.
+
+@example: {{ partial "menu.html" (dict "menuID" "main" "page" .) }}
+*/}}
+
+{{- $page := .page }}
+{{- $menuID := .menuID }}
+
+{{- with index site.Menus $menuID }}
+<nav>
+ <ul>
+ {{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }}
+ </ul>
+</nav>
+{{- end }}
+
+{{- define "_partials/inline/menu/walk.html" }}
+{{- $page := .page }}
+{{- range .menuEntries }}
+{{- $attrs := dict "href" .URL }}
+{{- if $page.IsMenuCurrent .Menu . }}
+{{- $attrs = merge $attrs (dict "class" "active" "aria-current" "page") }}
+{{- else if $page.HasMenuCurrent .Menu .}}
+{{- $attrs = merge $attrs (dict "class" "ancestor" "aria-current" "true") }}
+{{- end }}
+{{- $name := .Name }}
+{{- with .Identifier }}
+{{- with T . }}
+{{- $name = . }}
+{{- end }}
+{{- end }}
+<li>
+ <a {{- range $k, $v :=$attrs }} {{- with $v }} {{- printf " %s=%q" $k $v | safeHTMLAttr }} {{- end }} {{- end -}}>
+ {{if .Pre}}
+ {{.Pre}}
+ {{end}}
+ {{ $name }}
+ </a>
+ {{- with .Children }}
+ <ul>
+ {{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }}
+ </ul>
+ {{- end }}
+</li>
+{{- end }}
+{{- end }} \ No newline at end of file
diff --git a/themes/neonxp/layouts/_partials/terms.html b/themes/neonxp/layouts/_partials/terms.html
new file mode 100644
index 0000000..b666922
--- /dev/null
+++ b/themes/neonxp/layouts/_partials/terms.html
@@ -0,0 +1,29 @@
+{{- $page := .page }}
+
+{{- with $page.GetTerms "categories" }}
+{{- if . }}
+{{- $label := (index . 0).Parent.LinkTitle }}
+<div>
+ <h3>{{ i18n $label }}:</h3>
+ <ul class="taxonomy">
+ {{- range . }}
+ <li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
+ {{- end }}
+ </ul>
+</div>
+{{- end }}
+{{- end }}
+
+{{- with $page.GetTerms "tags" }}
+{{- if . }}
+{{- $label := (index . 0).Parent.LinkTitle }}
+<div>
+ <h3>{{ i18n $label }}:</h3>
+ <ul class="taxonomy">
+ {{- range . }}
+ <li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
+ {{- end }}
+ </ul>
+</div>
+{{- end }}
+{{- end }} \ No newline at end of file
diff --git a/themes/neonxp/layouts/baseof.html b/themes/neonxp/layouts/baseof.html
new file mode 100644
index 0000000..39dcbec
--- /dev/null
+++ b/themes/neonxp/layouts/baseof.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html lang="{{ site.Language.LanguageCode }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
+<head>
+ {{ partial "head.html" . }}
+</head>
+<body>
+ <header>
+ {{ partial "header.html" . }}
+ </header>
+ <main>
+ {{ block "main" . }}{{ end }}
+ </main>
+ <footer>
+ {{ partial "footer.html" . }}
+ </footer>
+</body>
+</html>
diff --git a/themes/neonxp/layouts/home.html b/themes/neonxp/layouts/home.html
new file mode 100644
index 0000000..c643012
--- /dev/null
+++ b/themes/neonxp/layouts/home.html
@@ -0,0 +1,16 @@
+{{ define "main" }}
+<article>
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+</article>
+<div class="h-feed">
+ {{ range .Pages }}
+ <article class="h-entry">
+ <h2 class="p-name"><a class="u-url" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
+ <div class="p-summary">
+ {{ .Summary }}
+ </div>
+ </article>
+ {{ end }}
+</div>
+{{ end }} \ No newline at end of file
diff --git a/themes/neonxp/layouts/page.html b/themes/neonxp/layouts/page.html
new file mode 100644
index 0000000..c28ab39
--- /dev/null
+++ b/themes/neonxp/layouts/page.html
@@ -0,0 +1,50 @@
+{{ define "main" }}
+<article class="h-entry">
+ <h1 class="p-name">{{ .Title }}</h1>
+ {{if .Date }}
+ {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
+ {{ $dateHuman := .Date | time.Format ":date_long" }}
+ <time class="dt-published" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
+ {{end}}
+ <div class="e-content">
+ {{ .Content }}
+ </div>
+</article>
+<article>
+ {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
+</article>
+{{if .Param "comments"}}
+<h2>Комментарии</h2>
+{{ range $key, $comment := where .Site.Data.comments "subject" "eq" .Page.Permalink }}
+<article>
+ <b>{{$comment.from_name}}:</b>
+ <p>
+ {{if $comment.date }}
+ {{ $dateMachine := $comment.date | time.Format "2006-01-02T15:04:05-07:00" }}
+ {{ $dateHuman := $comment.date | time.Format ":date_long" }}
+ <time class="dt-published" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
+ {{end}}
+ </p>
+ <p>{{$comment.body | safeHTML}}</p>
+ {{if $comment.body_signature}}
+ <details>
+ <summary>Подпись</summary>
+ <pre>{{$comment.body_signature| safeHTML}}</pre>
+ </details>
+ {{end}}
+</article>
+{{ else }}
+<article>Комментариев пока нет.</article>
+{{ end }}
+
+<article>
+ {{ $comment := (print "mailto:blog@neonxp.ru?subject=" .Page.Permalink | safeHTML) }}
+ Для отправки комментария достаточно отправить e-mail со своим комментарием
+ на адрес
+ <a href={{$comment}}>blog@neonxp.ru</a>, в теме нужно указать ссылку на
+ пост.<br />
+ Или просто нажать кнопку ниже. Всё очень просто :)<br />
+ <a class="btn-primary" href={{$comment}}>Написать комментарий</a>
+</article>
+{{end}}
+{{ end }} \ No newline at end of file
diff --git a/themes/neonxp/layouts/pages/section.html b/themes/neonxp/layouts/pages/section.html
new file mode 100644
index 0000000..cc60509
--- /dev/null
+++ b/themes/neonxp/layouts/pages/section.html
@@ -0,0 +1,23 @@
+{{ define "main" }}
+<article>
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+</article>
+<div class="h-feed">
+
+ {{ range .Pages }}
+ <article class="h-entry">
+ <h2 class="p-name"><a class="u-url" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
+ {{if .Date }}
+ {{ $dateMachine := .Date | time.Format "2006-01-02 15:04:05-07:00" }}
+ {{ $dateHuman := .Date | time.Format ":date_long" }}
+ <time class="dt-published" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
+ {{end}}
+ <div class="p-summary">
+ {{ .Summary }}
+ </div>
+ <a class="btn-primary" href="{{ .RelPermalink }}">Читать дальше...</a>
+ </article>
+ {{ end }}
+</div>
+{{ end }} \ No newline at end of file
diff --git a/themes/neonxp/layouts/projects/section.html b/themes/neonxp/layouts/projects/section.html
new file mode 100644
index 0000000..cc60509
--- /dev/null
+++ b/themes/neonxp/layouts/projects/section.html
@@ -0,0 +1,23 @@
+{{ define "main" }}
+<article>
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+</article>
+<div class="h-feed">
+
+ {{ range .Pages }}
+ <article class="h-entry">
+ <h2 class="p-name"><a class="u-url" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
+ {{if .Date }}
+ {{ $dateMachine := .Date | time.Format "2006-01-02 15:04:05-07:00" }}
+ {{ $dateHuman := .Date | time.Format ":date_long" }}
+ <time class="dt-published" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
+ {{end}}
+ <div class="p-summary">
+ {{ .Summary }}
+ </div>
+ <a class="btn-primary" href="{{ .RelPermalink }}">Читать дальше...</a>
+ </article>
+ {{ end }}
+</div>
+{{ end }} \ No newline at end of file
diff --git a/themes/neonxp/layouts/section.html b/themes/neonxp/layouts/section.html
new file mode 100644
index 0000000..5d3a4ba
--- /dev/null
+++ b/themes/neonxp/layouts/section.html
@@ -0,0 +1,26 @@
+{{ define "main" }}
+<article>
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+</article>
+<div class="h-feed">
+
+ {{ range .Paginator.Pages }}
+ <article class="h-entry">
+ <h2 class="p-name"><a class="u-url" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
+ {{if .Date }}
+ {{ $dateMachine := .Date | time.Format "2006-01-02 15:04:05-07:00" }}
+ {{ $dateHuman := .Date | time.Format ":date_long" }}
+ <time class="dt-published" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
+ {{end}}
+ <div class="p-summary">
+ {{ .Summary }}
+ </div>
+ <a class="btn-primary" href="{{ .RelPermalink }}">Читать дальше...</a>
+ </article>
+ {{ end }}
+ <article>
+ {{ template "_internal/pagination.html" . }}
+ </article>
+</div>
+{{ end }} \ No newline at end of file
diff --git a/themes/neonxp/layouts/shortcodes/img.html b/themes/neonxp/layouts/shortcodes/img.html
new file mode 100644
index 0000000..994e30f
--- /dev/null
+++ b/themes/neonxp/layouts/shortcodes/img.html
@@ -0,0 +1,21 @@
+{{- $alt := .Get "alt" -}}
+{{- $res := .Page.Resources.Get (.Get "src") -}}
+
+{{- $ws := slice 480 800 -}}
+{{- $srcset := slice -}}
+{{- range $ws -}}
+{{- if (le . $res.Width) -}}
+{{- $w := printf "%dx" . -}}
+{{- $url := ($res.Resize $w).RelPermalink | safeURL -}}
+{{- $fmt := printf "%s %dw" $url . -}}
+{{- $srcset = $srcset | append $fmt -}}
+{{- end -}}
+{{- end -}}
+
+{{- $set := delimit $srcset "," -}}
+
+<figure>
+ <img srcset="{{ $set }}" sizes="(max-width: 480px) 480px, 100vw" src="{{ $res.RelPermalink }}" alt="{{ $alt }}"
+ height="auto" />
+ <figcaption>{{ $alt }}</figcaption>
+</figure> \ No newline at end of file
diff --git a/themes/neonxp/layouts/taxonomy.html b/themes/neonxp/layouts/taxonomy.html
new file mode 100644
index 0000000..ff8e552
--- /dev/null
+++ b/themes/neonxp/layouts/taxonomy.html
@@ -0,0 +1,11 @@
+{{ define "main" }}
+<article>
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+</article>
+<article>
+ {{ range .Pages }}
+ <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
+ {{ end }}
+</article>
+{{ end }} \ No newline at end of file
diff --git a/themes/neonxp/layouts/term.html b/themes/neonxp/layouts/term.html
new file mode 100644
index 0000000..c2e7875
--- /dev/null
+++ b/themes/neonxp/layouts/term.html
@@ -0,0 +1,7 @@
+{{ define "main" }}
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+ {{ range .Pages }}
+ <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
+ {{ end }}
+{{ end }}
diff --git a/themes/neonxp/static/favicon.ico b/themes/neonxp/static/favicon.ico
new file mode 100644
index 0000000..da16cb8
--- /dev/null
+++ b/themes/neonxp/static/favicon.ico
Binary files differ