diff options
author | Sylvain Gauthier <s94.gauthier@laposte.net> | 2020-10-11 00:26:11 +0200 |
---|---|---|
committer | Sylvain Gauthier <s94.gauthier@laposte.net> | 2020-10-11 00:26:11 +0200 |
commit | 69a492af19a01838fffb20e1f18a4af5b2b0a88c (patch) | |
tree | fe037454d9a0f05ca3bb517956a0ea73f4e3df2c | |
parent | 70177251a25c859de453f43b650ffc63445f1904 (diff) |
rename blog -> blogit
-rwxr-xr-x | blogit (renamed from blog) | 2 | ||||
-rw-r--r-- | blogit.1 (renamed from blog.1) | 16 |
2 files changed, 9 insertions, 9 deletions
@@ -16,7 +16,7 @@ ARTICLES = $(shell git ls-tree HEAD --name-only -- articles/ 2>/dev/null) TAGFILES = $(patsubst articles/%,tags/%,$(ARTICLES)) help: - $(info blog init|build|deploy|clean) + $(info blogit init|build|deploy|clean) init: mkdir -p articles data templates @@ -1,18 +1,18 @@ -.TH BLOG 1 blog\-1.0 +.TH BLOG 1 blogit\-1.0 .SH NAME -blog \- a small static blog generator +blogit \- a small static blog generator .SH SYNOPSIS -.B blog +.B blogit .RB [ init | build | deploy | clean ] .SH DESCRIPTION -.B blog +.B blogit is a small static blog generator, using a markdown-like syntax and git capabilities. For example, first posted and last edited dates are extracted from git history. .SH GETTING STARTED -Run "blog init" and follow the interactive configuration. +Run "blogit init" and follow the interactive configuration. This will create the basic structure and initialize a git repository. .SH STRUCTURE @@ -30,13 +30,13 @@ directory and will be copied at the root of the website. .SH WORKFLOW The articles, templates and data can be created and edited offline. -To create a local version of the blog, run "blog build". +To create a local version of the blog, run "blogit build". It will be available in the .B blog directory, and the main page is index.html. Note that only articles known to git will be created (this is to prevent unfinished articles to be published). -When its ready for publication, commit the changes to the git repository, and build the blog using "blog build". -Then run "blog deploy" to publish the site with +When its ready for publication, commit the changes to the git repository, and build the blog using "blogit build". +Then run "blogit deploy" to publish the site with .BR rsync (1) to the remote configured at the beginning. |