bliper

static html page generation in perl
git clone git://git.2f30.org/bliper
Log | Files | Refs | README | LICENSE

commit 9d3d17f3b70137f3e6cf9bd8c1ac5639ca815547
parent 96c7679b082fc9e15019b715c22bf4db4e29d312
Author: cipher <haris@2f30.org>
Date:   Tue,  3 Dec 2013 14:50:49 +0200

include Makefile in README and demo article

Diffstat:
MREADME | 14++++++++++----
Mmain-articles/2013-11-27-readme | 9++++++++-
2 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/README b/README @@ -24,6 +24,7 @@ Files included are: |-- main-articles | |-- 2013-11-07-readme | `-- 2013-11-10-markdown-notes +|-- Makefile |-- output | |-- images | | `-- puffytron.jpg @@ -63,6 +64,9 @@ bin/bliper-menu-creation.sh main-articles is the directory which serves as the place to create all posts in markdown. +Makefile + just type 'make' to generate your site. It calls bin/bliper-generate.pl and bin/bliper-menu-creation.sh. When you edit your bin/bliper-deploy.sh, you can deploy your site with 'make deploy' + output is the directory which all generated pages are placed. Edit the style.css file according to your needs. @@ -81,10 +85,12 @@ template page-bottom is a generic template for the bottom section of any post page. footer is just the footer appended in all pages. -I've included a demo file in input/markdown-notes. Just run -`bliper-generate.pl' in your main directory, `bliper-menu-creation.sh' and -`$BROWSER output/index.html' to see the demo. There is also the option to rsync -the generated files to your server with `bliper-deploy.sh'. +To view the demo, run `make` in your main bliper directory. This calls +bin/bliper-generate.pl and bin/bliper-menu-creation.sh. If you need to view the +results, just run `$BROWSER output/index.html` + +When your site is ready, edit `bin/bliper-deploy.sh` accordingly and just `make +deploy` on your main bliper directory. There is also support for disqus individualy for pages and articles. Just uncomment the disqus section on template/article-bottom and/or diff --git a/main-articles/2013-11-27-readme b/main-articles/2013-11-27-readme @@ -62,6 +62,9 @@ _bin/bliper-menu-creation.sh_ _main-articles_ is the directory which serves as the place to create all posts in markdown. +_Makefile_ + just type 'make' to generate your site. It calls bin/bliper-generate.pl and bin/bliper-menu-creation.sh. When you edit your bin/bliper-deploy.sh, you can deploy your site with 'make deploy' + _output_ is the directory which all generated pages are placed. Edit the style.css file according to your needs. @@ -80,6 +83,10 @@ _template_ page-bottom is a generic template for the bottom section of any post page. footer is just the footer appended in all pages. -I've included a demo file in input/markdown-notes. Just run `bliper-generate.pl` in your main directory, `bliper-menu-creation.sh` and `$BROWSER output/index.html` to see the demo. There is also the option to rsync the files to your server with `bliper-deploy.sh` +To view the demo, run `make` in your main bliper directory. This calls bin/bliper-generate.pl and bin/bliper-menu-creation.sh. If you need to view the results, just run `$BROWSER output/index.html` + +When your site is ready, edit `bin/bliper-deploy.sh` accordingly and just `make deploy` on your main bliper directory. + +There is also support for disqus individualy for pages and articles. Just uncomment the disqus section on template/article-bottom and/or template/pate-bottom to enable disqus on articles and/or pages. [This](readme-again.html) is a test to a page that came from pages-b.