Typica is a free program for professional coffee roasters. https://typica.us
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

template.m4 1.1KB

1234567891011121314151617181920212223242526272829
  1. define(`__PageStart', `<html><head>
  2. <title>Typica - Data for Coffee Roasters</title>
  3. <link rel="stylesheet" type="text/css" href="style.css">
  4. </head><body><div id="page"><div id="topmatter">
  5. __SiteBanner
  6. __NavigationMenu
  7. </div>
  8. <div id="maintext">
  9. ')
  10. define(`__PageEnd', `</div></div></body></html>')
  11. define(`__SiteBanner', `<div id="topbanner">
  12. <img src="logo96.png" height="96px" width="96px" alt="Typica logo" />
  13. <h1>Typica</h1><h2>Data for Coffee Roasters</h2></div>
  14. ')
  15. define(`__NavigationMenu', `<div id="menu">
  16. <a class="tab ifelse(__PageType, `Main', active", " href="index.html")>Typica</a>
  17. <a class="tab ifelse(__PageType, `Downloads', active", " href="downloads.html")>Downloads</a>
  18. <a class="tab ifelse(__PageType, `Documentation', active", " href="documentation.html")>Documentation</a>
  19. <a class="tab ifelse(__PageType, `Media', active", " href="media.html")>Photos and Videos</a>
  20. <a class="tab" href="http://appliedcoffeetechnology.tumblr.com/tagged/Typica">Blog</a>
  21. </div>
  22. ')
  23. define(`__DownloadPage', `define(`__DownloadUrl', $1)
  24. include(`src/pages/fragments/downloadfragment.m4')
  25. ')