https://github.com/o8x/camus
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/o8x/camus
- Owner: o8x
- Created: 2025-03-16T13:07:39.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-16T13:24:37.000Z (3 months ago)
- Last Synced: 2025-03-16T14:25:09.440Z (3 months ago)
- Language: CMake
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Camus
=====由 C++ 开发的复古 blog 生成工具,markdown 解析工具采用 maddy,生成内容仅包含 ul li 等元素和基本边距美化,不含其他任何特效与美化。支持通过模板修改样式,默认安装 foundation CSS v6.9.0
## 用法
```shell
camus [./posts]
```## 参数
位于 markdown 头部
```yaml
---
short_path: 短链接名
display-name: 标题
date: 日期
ready: true
---
```## 模板
首页 (index_template.html)
```html
{{main-title}} - {{main-description}}{{main-script}}
{{main-style}}
{{main-title}}
{{main-description}}
Posts:
{{posts}}```
内页 (article_template.html)
```html
{{main-title}} - {{page-title}}
{{page-title}}
{{page-description}}
{{page-content}}
```