Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dev-chenxing/cat

🐈‍⬛ This is a cat website | 這是一個貓的網頁 | 哩個係一個貓嘅網頁 🐶
https://github.com/dev-chenxing/cat

cat pug

Last synced: about 1 month ago
JSON representation

🐈‍⬛ This is a cat website | 這是一個貓的網頁 | 哩個係一個貓嘅網頁 🐶

Awesome Lists containing this project

README

        

# 🐈‍⬛ Cat

This is a cat website | 這是一個貓的網頁 | 哩個係一個貓嘅網頁

## {} Less

安裝Less

```bash
npm install -g less
```

編譯`less`腳本成`css`

```bash
lessc less/cat.less site/css/style.css
```

## } JavaScript and Hjson

安裝Hjson包

```bash
npm install hjson
node src/main.js
```

## 🐶 Pug

安裝Pug-Cli包

```bash
npm install pug-cli -g
```

編譯`Pug`腳本成`html`

```bash
pug templates/index.pug --out site
```

## ⛩️ Jinja2

安裝Jinja2包

```bash
python -m venv venv
source venv/bin/activate
pip install jinja2
```

編譯`Python`腳本生成`Markdown`

```bash
python python/generate_cat.py
```