Custom Ghost theme for my blog, based on Casper https://www.geber.ga
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

86 líneas
3.4KB

  1. <!DOCTYPE html>
  2. <html lang="{{@site.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>Sauf indication contraire, le contenu de ce site est placé sous les termes de la licence CC-BY-SA</a href='https://creativecommons.org/licenses/by-sa/4.0/'></section>
  25. <nav class="site-footer-nav">
  26. <a href="{{@site.url}}/about/">À propos</a>
  27. <a href="{{@site.url}}/politique-de-confidentialité/">Confidentialité</a>
  28. <a href="{{@site.url}}/contact/">Contact</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 @site.logo}}
  39. <img class="subscribe-overlay-logo" src="{{@site.logo}}" alt="{{@site.title}}" />
  40. {{/if}}
  41. <h1 class="subscribe-overlay-title">S'abonnez à {{@site.title}}</h1>
  42. <p class="subscribe-overlay-description">Restez au courant ! Recevez toutes les dernières nouveautés &amp; meilleures publications délivrées directement dans votre boîte de réception.</p>
  43. {{subscribe_form placeholder="youremail@example.com"}}
  44. </div>
  45. </div>
  46. {{/if}}
  47. <script>
  48. var images = document.querySelectorAll('.kg-gallery-image img');
  49. images.forEach(function (image) {
  50. var container = image.closest('.kg-gallery-image');
  51. var width = image.attributes.width.value;
  52. var height = image.attributes.height.value;
  53. var ratio = width / height;
  54. container.style.flex = ratio + ' 1 0%';
  55. })
  56. </script>
  57. {{!-- jQuery + Fitvids, which makes all video embeds responsive --}}
  58. <script src="{{asset "js/jquery-3.2.1.min.js"}}"></script>
  59. <script type="text/javascript" src="{{asset "built/jquery.fitvids.js"}}"></script>
  60. {{#if pagination.pages}}
  61. <script src="{{asset "built/infinitescroll.js"}}"></script>
  62. {{/if}}
  63. {{!-- 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. --}}
  64. {{{block "scripts"}}}
  65. {{!-- Ghost outputs important scripts and data with this tag - it should always be the very last thing before the closing body tag --}}
  66. {{ghost_foot}}
  67. </body>
  68. </html>