Skip to content

coci/odin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

odin

Odin is static blog engine written with golang. Odin uses github pages to deploy your blog.

Requirements:

  • support Unix (linux, MacOs , ....)

Installation

go get github.com/coci/odin

Usage :

1- first you need initialize odin :

odin init

2- you need configure odin :

odin config

3- you need make post:

odin new "how to work with odin"

this command will generate post template for you in :

path-to-blog-dir/content

4- you need to build your blog :

odin build

5- you have to push your blog :

odin push

Consideration:

note : you need to run step 1 and 2 for once in lifetime.

note : you need to write your blog post in markdown format.

note : you can find post template ( file that you have to write your blog) in 'content' directory in root of blog.

note : everytime you change existing post or add new post you have to build and push again( step 4 and 5).

note : change CNAME file in root of project with your domain.

Releases

No releases published

Packages

No packages published