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.
 
 
 

81 lines
3.2 KiB

  1. <!DOCTYPE html>
  2. <html>
  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. {{!-- This tag outputs SEO meta+structured data and other important settings --}}
  14. {{ghost_head}}
  15. </head>
  16. <body class="{{body_class}}">
  17. <div class="site-wrapper">
  18. {{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
  19. {{{body}}}
  20. {{!-- The footer at the very bottom of the screen --}}
  21. <footer class="site-footer outer">
  22. <div class="site-footer-content inner">
  23. <section class="copyright"><a href="{{@blog.url}}">{{@blog.title}}</a> &copy; {{date format="YYYY"}}</section>
  24. <nav class="site-footer-nav">
  25. <a href="{{@blog.url}}">Latest Posts</a>
  26. {{#if @blog.facebook}}<a href="{{facebook_url @blog.facebook}}" target="_blank" rel="noopener">Facebook</a>{{/if}}
  27. {{#if @blog.twitter}}<a href="{{twitter_url @blog.twitter}}" target="_blank" rel="noopener">Twitter</a>{{/if}}
  28. <a href="https://ghost.org" target="_blank" rel="noopener">Ghost</a>
  29. </nav>
  30. </div>
  31. </footer>
  32. </div>
  33. {{!-- The big email subscribe modal content --}}
  34. {{#if @labs.subscribers}}
  35. <div id="subscribe" class="subscribe-overlay">
  36. <a class="subscribe-overlay-close" href="#"></a>
  37. <div class="subscribe-overlay-content">
  38. {{#if @blog.logo}}
  39. <img class="subscribe-overlay-logo" src="{{@blog.logo}}" alt="{{@blog.title}}" />
  40. {{/if}}
  41. <h1 class="subscribe-overlay-title">Subscribe to {{@blog.title}}</h1>
  42. <p class="subscribe-overlay-description">Stay up to date! Get all the latest &amp; greatest posts delivered straight to your inbox</p>
  43. {{subscribe_form placeholder="youremail@example.com"}}
  44. </div>
  45. </div>
  46. {{/if}}
  47. {{!-- jQuery + Fitvids, which makes all video embeds responsive --}}
  48. <script
  49. src="https://code.jquery.com/jquery-3.2.1.min.js"
  50. integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
  51. crossorigin="anonymous">
  52. </script>
  53. <script type="text/javascript" src="{{asset "js/jquery.fitvids.js"}}"></script>
  54. {{#if pagination.pages}}
  55. <script>
  56. var maxPages = parseInt('{{pagination.pages}}');
  57. </script>
  58. <script src="{{asset "js/infinitescroll.js"}}"></script>
  59. {{/if}}
  60. {{!-- 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. --}}
  61. {{{block "scripts"}}}
  62. {{!-- Ghost outputs important scripts and data with this tag - it should always be the very last thing before the closing body tag --}}
  63. {{ghost_foot}}
  64. </body>
  65. </html>