fountain

command module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2025 License: MIT Imports: 19 Imported by: 0

README

Introduce

Fountain is an static blog generator developed by Golang.

Usage

./bin/fountain -h
fountain version: v0.6.1
Usage: fountain [-r root] [-s] [-p port] [-t theme] [-c] [-v]

Options:
  -c	清理旧输出
  -p uint
    	服务端口
  -r string
    	博客根目录
  -s	运行WEB服务
  -t string
    	皮肤主题
  -v	输出详情

./bin/fountain -s -p 8080 -r example/ -t night -c -v

Windows

使用下面的方法编译exe文件,复制exe文件到 examples 下双击运行,

生成 public 目录,可以直接用浏览器打开 index.html 查看网站

go build -ldflags "-s -w" -o fountain.exe main.go

浅色主题(默认)

Light theme

深色主题

Dark theme

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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