Incme is a project mainly written in Ruby, it's free.
A tool to eliminate repetition of code in static HTML pages
INCME (Include Me) is a tool that eliminates the repetition of code when you have to create static HTML pages.
$ ruby simple-site-maker.rb --source-dir=<path-of-source-dir> --dest-dir=<path-to-dest-dir>
source-dir : The directory that contains the html pages and the include pages
dest-dir: The directory to be created with the generated pages
All the pages are parsed through for the [[inc:
include_file: the include file needs to be available at
Note: currently js, exe, gif, png, jpeg files are not parsed
|- _includes_
|- <remaining files>
- <remaining files>
_includes_ : This folder must contain all the include_files that can be accessed via [[inc:
source
|- _includes_
|- header
- footer
|- index.html
- logo.png
<html>
<head>
<title>Simple Site Maker</title>
<head>
<body>
</body>
</html>
[[inc: header]]
<img src="logo.png">
Hello World
[[inc: footer]]
$ ruby simple-site-maker.rb --source-dir=source --dest-dir=gen
#"gen" folder is created with "index.html" in it
<html>
<head>
<title>Simple Site Maker</title>
<head>
<body>
<img src="logo.png">
Hello World
</body>
</html>