summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-12-01 16:09:45 +0800
committerEltrac <hi@guhub.cn>2025-12-01 16:09:45 +0800
commitf48c44cf176cc9ac61145cded892f817b4085319 (patch)
treee5b05e8179be46ad128df613e43d0002c24322e9
parente0b74a72eb93263a69b73a75842a87f6370e5cc9 (diff)
docs: new category "Coding"
Former-commit-id: b945cf79b48202f7e06bde000d968bd11075318f
-rw-r--r--content/essays/go-philosophy.md9
-rw-r--r--content/essays/libra-js-开发日志.md (renamed from content/posts/libra-js-开发日志.md)6
-rw-r--r--content/essays/零JavaScript的博客统计图表.md7
3 files changed, 12 insertions, 10 deletions
diff --git a/content/essays/go-philosophy.md b/content/essays/go-philosophy.md
index 6d0e0b18..5481655d 100644
--- a/content/essays/go-philosophy.md
+++ b/content/essays/go-philosophy.md
@@ -1,14 +1,15 @@
---
title: Go 语言的编程哲学
tags:
-- 编程
-- 计算机
-- 设计
+ - 编程
+ - 计算机
+ - 设计
date: 2025-11-25 23:49:00
draft: false
toc: true
aliases:
-- /posts/go-philosophy
+ - /posts/go-philosophy
+categories: Coding
---
diff --git a/content/posts/libra-js-开发日志.md b/content/essays/libra-js-开发日志.md
index 9c9b16bb..c20214d1 100644
--- a/content/posts/libra-js-开发日志.md
+++ b/content/essays/libra-js-开发日志.md
@@ -1,15 +1,15 @@
---
title: Libra.js 开发日志
tags:
-- Web
+ - Web
date: 2025-09-23 22:22:00
draft: false
toc: true
aliases:
-- /posts/libra-js-开发日志
+ - /posts/libra-js-开发日志
+categories: Coding
---
-
博客从去年十二月开始就一直在用 [Fancybox](https://fancyapps.com/fancybox/) 作为博客的图片灯箱插件,之前还在用 Typecho 搭建博客的时候就在用这个库。所谓灯箱,其实就是点击图片之后将图片放大并居中显示,就像现实世界中的广告灯牌一样。不过我其实一直很想要把 Fancybox 换掉,因为它太臃肿了,包含了很多我不需要的功能(比如 1:1 放大、镜像翻转、前后切换等等),体积接近 100 KB;不仅如此,Fancybox 实际上是一个商业库,并不是免费开源的。出于这些原因,我决定自己从零开始做一个灯箱插件。<!--more-->
## 原则和技术选型
diff --git a/content/essays/零JavaScript的博客统计图表.md b/content/essays/零JavaScript的博客统计图表.md
index 4333a59e..ba269322 100644
--- a/content/essays/零JavaScript的博客统计图表.md
+++ b/content/essays/零JavaScript的博客统计图表.md
@@ -1,14 +1,15 @@
---
title: 零 JavaScript 的博客统计图表
tags:
-- Web
-- Geek
+ - Web
+ - Geek
date: 2025-06-28 16:09:00
draft: false
toc: true
slug: zero-js-chart
aliases:
-- /posts/zero-js-chart
+ - /posts/zero-js-chart
+categories: Coding
---