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.

28 lines
1.3 KiB

9 years ago
9 years ago
9 years ago
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title><%= title %></title>
  5. <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
  6. <% if(config.author) { %>
  7. <meta name="author" content="<%= config.author %>">
  8. <% } %>
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. <link rel="stylesheet" type="text/css" href="<%= config.root + 'css/tufte.css'%>">
  11. <link rel="stylesheet" type="text/css" href="<%= config.root + 'css/tufte_ext.css'%>">
  12. <link rel="stylesheet" type="text/css" href="<%= config.root + 'css/solarized_light.css'%>">
  13. <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  14. <% if(config.feed) { %>
  15. <link rel="alternate" type="application/<%= config.feed.type %>+xml"
  16. title="<%= config.title %>" href="<%= url_for(config.feed.path) %>" />
  17. <% } %>
  18. </head>
  19. <body>
  20. <%- partial('_partial/header') %>
  21. <%- body %>
  22. <footer>
  23. <% if(page.prev_link) { %><a href="<%= config.root + page.prev_link %>">&lt; Previous</a>
  24. <% } else if(!page.title && page.prev !== 0) { %><a href="<%= config.root %>">&lt; Previous</a><% } %>
  25. <% if(page.next_link) { %><a href="<%= config.root + page.next_link %>">Next &gt;</a><% } %>
  26. </footer>
  27. </body>
  28. </html>