Skip to content

ta2mo/blog-maintenance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published