feat: add admin publishing workflow and yar theme

Add Go/Postgres admin APIs, Angular admin UI, manual build flow, asset uploads, markdown import/export, configurable slug generation, and the Yar reading theme. Exclude local docs and generated development artifacts from version control.
This commit is contained in:
yarnom 2026-06-01 15:48:04 +08:00
parent b78f4b39c9
commit f0b50d13ea
121 changed files with 27139 additions and 550 deletions

View file

@ -3,8 +3,18 @@ database:
sqlite_path: ".osaet/osaet.db"
postgres_dsn: ""
slug:
provider: "deepseek" # deepseek | local
deepseek:
api_key: ""
api_key_env: "DEEPSEEK_API_KEY"
base_url: "https://api.deepseek.com"
model: "deepseek-v4-pro"
local_llm:
url: "http://127.0.0.1:11434/api/generate"
model: "qwen2.5:7b-instruct-q4_K_M"
temperature: 0.1
top_p: 0.8
num_predict: 32

View file

@ -4,11 +4,12 @@ meta:
updated_by: "cli"
site:
title: "Osaet"
description: "Personal blog"
title: "冯梦华的日常"
description: "Yarnom'Blog"
base_url: "http://localhost:4321"
language: "zh-CN"
timezone: "Asia/Shanghai"
theme: "yar"
content:
posts_dir: "content/posts"