An open API service indexing awesome lists of open source software.

https://github.com/o8x/camus


https://github.com/o8x/camus

Last synced: 3 months ago
JSON representation

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}}

```