Custom Ghost theme for my blog, based on Casper https://www.geber.ga
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.
 
 
 

78 lines
3.1 KiB

  1. <!DOCTYPE html>
  2. <html lang="{{lang}}">
  3. <head>
  4. {{!-- Document Settings --}}
  5. <meta charset="utf-8" />
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  7. {{!-- Base Meta --}}
  8. <title>{{meta_title}}</title>
  9. <meta name="HandheldFriendly" content="True" />
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  11. {{!-- Styles'n'Scripts --}}
  12. <link rel="stylesheet" type="text/css" href="{{asset "built/screen.css"}}" />
  13. <link rel="stylesheet" type="text/css" href="{{asset "built/custom.css"}}" />
  14. {{!-- This tag outputs SEO meta+structured data and other important settings --}}
  15. {{ghost_head}}
  16. </head>
  17. <body class="{{body_class}}">
  18. <div class="site-wrapper">
  19. {{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
  20. {{{body}}}
  21. {{!-- The footer at the very bottom of the screen --}}
  22. <footer class="site-footer outer">
  23. <div class="site-footer-content inner">
  24. <section class="copyright"><a href="{{@blog.url}}">{{@blog.title}}</a> &copy; {{date format="YYYY"}}</section>
  25. <nav class="site-footer-nav">
  26. <a href="{{@blog.url}}/about/">About</a>
  27. </nav>
  28. </div>
  29. </footer>
  30. </div>
  31. {{!-- The big email subscribe modal content --}}
  32. {{#if @labs.subscribers}}
  33. <div id="subscribe" class="subscribe-overlay">
  34. <a class="subscribe-overlay-close" href="#"></a>
  35. <div class="subscribe-overlay-content">
  36. {{#if @blog.logo}}
  37. <img class="subscribe-overlay-logo" src="{{@blog.logo}}" alt="{{@blog.title}}" />
  38. {{/if}}
  39. <h1 class="subscribe-overlay-title">Subscribe to {{@blog.title}}</h1>
  40. <p class="subscribe-overlay-description">Stay up to date! Get all the latest &amp; greatest posts delivered straight to your inbox</p>
  41. {{subscribe_form placeholder="youremail@example.com"}}
  42. </div>
  43. </div>
  44. {{/if}}
  45. {{!-- jQuery + Fitvids, which makes all video embeds responsive --}}
  46. <script src="{{asset "js/jquery-3.2.1.min.js"}}" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="></script>
  47. <script type="text/javascript" src="{{asset "js/jquery.fitvids.js"}}"></script>
  48. {{#if pagination.pages}}
  49. <script>
  50. // maxPages is a global variable that is needed to determine
  51. // if we need to load more pages for the infinitescroll, or if
  52. // we reached the last page already.
  53. var maxPages = parseInt('{{pagination.pages}}');
  54. </script>
  55. <script src="{{asset "js/infinitescroll.js"}}"></script>
  56. {{/if}}
  57. {{!-- The #block helper will pull in data from the #contentFor other template files. In this case, there's some JavaScript which we only want to use in post.hbs, but it needs to be included down here, after jQuery has already loaded. --}}
  58. {{{block "scripts"}}}
  59. {{!-- Ghost outputs important scripts and data with this tag - it should always be the very last thing before the closing body tag --}}
  60. {{ghost_foot}}
  61. </body>
  62. </html>