layout.haml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. !!!
  2. %html.no-js
  3. %head
  4. %meta( charset="utf-8" )
  5. %meta( http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" )
  6. %meta( name="description" content="D3 based reusable chart library" )
  7. %meta( name="author" content="c3js.org" )
  8. %meta( name="viewport" content="width=device-width" )
  9. %link( rel="icon" href="/img/favicon.png" )
  10. %title C3.js | D3-based reusable chart library
  11. -# Place favicon.ico and apple-touch-icon.png in the root directory
  12. -#= stylesheet_link_tag 'bootstrap.min'
  13. = stylesheet_link_tag 'normalize'
  14. = stylesheet_link_tag 'foundation.min'
  15. = stylesheet_link_tag 'tomorrow'
  16. = stylesheet_link_tag 'c3'
  17. = stylesheet_link_tag 'style'
  18. = stylesheet_link_tag get_css_name(current_page.path)
  19. :javascript
  20. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  21. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  22. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  23. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  24. ga('create', 'UA-42896059-3', 'c3js.org');
  25. ga('send', 'pageview');
  26. = javascript_include_tag 'vendor/modernizr-2.6.1.min.js'
  27. %body.antialiased
  28. .sticky
  29. %nav.top-bar( data-topbar data-options="sticky_on: large" )
  30. %ul.title-area
  31. %li.name
  32. %h1
  33. %a( href="/" ) C3.js | D3-based reusable chart library
  34. %li.toggle-topbar.menu-icon
  35. %a( href="#" )
  36. %span Menu
  37. %section.top-bar-section
  38. %ul.right
  39. %li.has-form
  40. %a.button( href="/gettingstarted.html" ) Getting Started
  41. %li.divider
  42. %li
  43. %a( href="/examples.html") Examples
  44. %li.divider
  45. %li
  46. %a( href="/reference.html") Reference
  47. %li.divider
  48. %li
  49. %a( href="https://groups.google.com/forum/#!forum/c3js" target="_blank") Forum
  50. %li.divider
  51. %li
  52. %a( href="https://github.com/c3js/c3" target="_blank") Source
  53. = yield