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.

26 lines
1.2 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. <link rel="alternate" type="application/<%= config.feed.type %>+xml"
  15. title="<%= config.title %>" href="<%= url_for(config.feed.path) %>" />
  16. </head>
  17. <body>
  18. <%- partial('_partial/header') %>
  19. <%- body %>
  20. <footer>
  21. <% if(page.prev_link) { %><a href="<%= config.root + page.prev_link %>">&lt; Previous</a>
  22. <% } else if(!page.title && page.prev !== 0) { %><a href="<%= config.root %>">&lt; Previous</a><% } %>
  23. <% if(page.next_link) { %><a href="<%= config.root + page.next_link %>">Next &gt;</a><% } %>
  24. </footer>
  25. </body>
  26. </html>