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

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