hyde - Static website generator =============================== Introduction ------------ Hyde is a simple tool to generate static websites. Its strength lies in its ease of use. The wheel is not invented again; hyde is written in Ruby and uses ERB templates. Hyde works with a master page that defines a layout and multiple files are used as content. In this way is possible to split down UI and content. Guide ----- Let's create a website with only two pages. First, let's create a `master.rhtml` file used as template. ```
Content of page one.
Page 2 > ``` `page2.rhtml` ```Content of page 2.
< Page 1 ``` `page1.rhtml.config`: ``` title: Page 1 ``` `page2.rhtml.config`: ``` title: Page 2 ``` After creating the files, you'll see this: ``` $ ls -1 master.rhtml page1.rhtml page1.rhtml.config page2.rhtml page2.rhtml.config ``` At this point, let's execute the following commands: ``` hyde -f page1.rhtml > page1.html hyde -f page2.rhtml > page2.html ``` Open the two HTML files (page1.html and page2.html) on your browser.