To generate the HTML files for a blog
cd to the blog's directory and use the
$ litepub build Generating: index.html Generating: tags/reference.html Generating: tags/tutorial.html Generating: tags/advanced.html Generating: tags/docs.html Generating: tags/basics.html Generating: overview.html Generating: quick-start.html Generating: installation.html Generating: creating-a-blog.html Generating: creating-posts.html Generating: generating-html-files-for-a-blog-aka-building-a-blog.html Generating: serving-a-blog.html Generating: templates.html Generating: getting-help.html
The draft posts are ignored when building a blog.
LitePub takes the
*.tmpl files from the
templates directory, applies them to posts stored in the
posts directory and generates the HTML files to the
www directory. It also copies all accompanying files (and directories) from the
templates directory to the
The generated HTML file names are created by slugifying the post title (or the tag name when generating tag pages) and adding the
Usage: litepub build [<dir>] [-q, --quiet] Arguments: <dir> The directory to create the blog in or look for; it will be created if it doesn't exist (only when creating a blog) [default: .] Options: -q, --quiet Show only errors
Next: Serving a Blog
Hi, i'm and this is my place.
This is my picture:
I'm a web developer. I like Ruby the most but i'm fine with other technology also. After all, it's just technology.
One of my side projects is DameData.cz. It's a web app which helps you to easily connect your business with accounting(czech market only right now). Check it out:
Have a good oneFollow