blog-maintenance

command module
v0.0.0-...-197ea7c Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 3 Imported by: 0

README

blog-maintenance tool

ta2mo's blog Generate static html tool .

Development

build
$ go build 
run blog in local
$ ./blog-maintenance convert
$ cd nuxt-template
$ npm install
$ npm run dev

# open browser http://localhost:13000/

blog maintenance command

create new post
$ ./blog-maintenance new # or n
Please input post information
post title       : test
post categories  : programming, golang
generete success : ./post/2006-01-02-new.md

# edit post
$ vim ./post/2006-01-02-new.md
convert from markdown files to html
$ ./blog-maintenance convert # or c
generate and update search index
$ ALGOLIA_API_KEY=1234abcd ./blog-maintenance index # or i

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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