Pi66

pi66.xyz
My personal website.
git clone https://git.pi66.xyz/pi66.xyz

← back to log

migrate plugins to directory-based system

author: pi66
date: 2026-07-21 07:46
hash: 47501605e5f8c254bfdaa3d738e96a4962718a74

Diffstat:

M

build/{plugins.py => plugins/main.py}
0

M

config.toml
10 +++++++++++++++++++++---------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
diff --git a/build/plugins.py b/build/plugins/main.py
similarity index 100%
rename from build/plugins.py
rename to build/plugins/main.py
diff --git a/config.toml b/config.toml
index 4911b1e..39f37a3 100644
--- a/config.toml
+++ b/config.toml
@@ -1,6 +1,6 @@
 [project]
 name        = "pi66.xyz"
-version     = "0.1.0"
+version     = "0.2.0"
 description = "my main website"

 [tree]
@@ -10,14 +10,18 @@ static    = "static"
 dest      = "/srv/www/pi66.xyz/public/html"

 templates = "build/templates"
-plugins   = "build/plugins.py"
+plugins   = "build/plugins"


 [webview]
 host  = "localhost"
-dev_tools = true
+port = 7999
+dev_tools = false
 html_path   = "/"
 static_path = "/static"

 [extras]
 highlight = "monokai"
+
+[cache]
+hash=".hash.cache"