How to use Giblog😁
How to use Giblog.
Create web site
Create web site by new command.
giblog new mysite
Other prototypes is also available.
giblog new_website mysite giblog new_blog mysite
After creating web site, change directory to mysite
cd mysite
Add new entry
Add new entry by add command.
giblog add
Build
Build web site.
giblog build
If you want to customize build process, you open lib/Giblog/Command/Build.pm and edit run subroutine.
Serve
You can serve your web site by morbo command if you have Mojolicious.
morbo serve.pl
build command is automatically executed after editting files in templates directory.
Examples
Some examples.
This is a quote.
Hello
Sub header
<><><>
1 > 2; 1 < 3; 1 & 4;
- Item1
- Item2
- Item3
Head1 | Head2 |
---|---|
Item1 | Item2 |