Penguin

command module
v0.0.0-...-38f7526 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

README

Penguin

Release

 _______                                           __           
|       \                                         |  \          
| $$$$$$$\  ______   _______    ______   __    __  \$$ _______  
| $$__/ $$ /      \ |       \  /      \ |  \  |  \|  \|       \ 
| $$    $$|  $$$$$$\| $$$$$$$\|  $$$$$$\| $$  | $$| $$| $$$$$$$\
| $$$$$$$ | $$    $$| $$  | $$| $$  | $$| $$  | $$| $$| $$  | $$
| $$      | $$$$$$$$| $$  | $$| $$__| $$| $$__/ $$| $$| $$  | $$
| $$       \$$     \| $$  | $$ \$$    $$ \$$    $$| $$| $$  | $$
 \$$        \$$$$$$$ \$$   \$$ _\$$$$$$$  \$$$$$$  \$$ \$$   \$$
                              |  \__| $$                        
                               \$$    $$                        
                                \$$$$$$                         

Penguin 是一款小巧的 Markdown 静态博客生成器 它使用 Golang 开发

Install

从此处 releases 下载

Usage

Usage:

penguin command [args...]

	初始化博客文件夹
	penguin init

	新建 markdown 文件
	penguin new filename

	编译博客
	penguin build

	清理博客
	penguin clean

	打开本地服务器 [http://localhost:12345]
	penguin http

penguin init

penguin 会自动生成 source 和 public 文件夹 以及 config.yaml

# 站点信息
title: 网站名称
description: 自我描述
github: github 地址 可为空
weibo: weibo 地址 可为空
# Logo 与 头像 放置于 theme/asserts/images 文件目录下
# 其中 source 为 markdown博文源文件 public 为生成的页面

License

Apache License 2.0

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL