pagesally Generator

The pagesally Generator builds a static web site by enriching the .page files with the content of a frame.html and a menu.html. Different topics can be handled in folders. Every folder has its own menu.html, while the frame.html is in the root folder.

Example frame.html <!DOCTYPE html> <html lang="en"> <head> <title>{v:title default="The Site"}</title> <t:> <meta name="description" content="{v:description}" /> </t:> <style> header { display: flex; align-items: flex-end; } header * { margin: 5mm 0; flex-grow: 1; } header h2 { text-align: right; flex-grow: 1; } main { display: flex; } aside { display: flex; flex-direction: column; } article { flex-grow: 1; margin-left: 5mm;} </style> </head> <body> <header> <h1>The Site</h1> <a href="dir1">Topic 1</a> <a href="dir2">Topic 2</a> <h2>{v:topic}</h2> </header> {v:menu} </body> </html>
Example menu.html <main> <aside> <a href="thing.html">The thing</a> <a href="other.html">The other thing</a> </aside> <article> {v:content} </article> </main>

<groupId>org.jproggy.pagesally</groupId> <artifactId>pagesally-generator</artifactId> <version>1.0.0-SNAPSHOT</version>
Bernd Ebertz Head, Founder and chief technology evangelist of