Advertisement
Guest User

Untitled

a guest
Nov 4th, 2023
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.48 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="{{@site.locale}}"{{#match @custom.color_scheme "Dark"}} class="dark-mode"{{else match @custom.color_scheme "Auto"}} class="auto-color"{{/match}}>
  3. <head>
  4.  
  5. {{!-- Basic meta - advanced meta is output with {ghost_head} below --}}
  6. <title>{{meta_title}}</title>
  7. <meta charset="utf-8" />
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  9. <meta name="HandheldFriendly" content="True" />
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  11.  
  12. {{!-- Preload scripts --}}
  13. <link rel="preload" as="style" href="{{asset "built/screen.css"}}" />
  14. <link rel="preload" as="script" href="{{asset "built/casper.js"}}" />
  15.  
  16. {{!-- Theme assets - use the {asset} helper to reference styles & scripts,
  17. this will take care of caching and cache-busting automatically --}}
  18. <link rel="stylesheet" type="text/css" href="{{asset "built/screen.css"}}" />
  19. <link rel="stylesheet" href="{{asset "css/ghost-dropdown.css"}}">
  20.  
  21. {{!-- This tag outputs all your advanced SEO meta, structured data, and other important settings,
  22. it should always be the last tag before the closing head tag --}}
  23. {{ghost_head}}
  24.  
  25. </head>
  26. <body class="{{body_class}} is-head-{{#match @custom.navigation_layout "Logo on cover"}}left-logo{{else match @custom.navigation_layout "Logo in the middle"}}middle-logo{{else}}stacked{{/match}}{{#match @custom.title_font "=" "Elegant serif"}} has-serif-title{{/match}}{{#match @custom.body_font "=" "Modern sans-serif"}} has-sans-body{{/match}}{{#if @custom.show_publication_cover}} has-cover{{/if}}">
  27. <div class="viewport">
  28.  
  29. <header id="gh-head" class="gh-head outer{{#match @custom.header_style "Hidden"}} is-header-hidden{{/match}}">
  30. <div class="gh-head-inner inner">
  31. <div class="gh-head-brand">
  32. <a class="gh-head-logo{{#unless @site.logo}} no-image{{/unless}}" href="{{@site.url}}">
  33. {{#if @site.logo}}
  34. <img src="{{@site.logo}}" alt="{{@site.title}}">
  35. {{else}}
  36. {{@site.title}}
  37. {{/if}}
  38. </a>
  39. <button class="gh-search gh-icon-btn" aria-label="Search this site" data-ghost-search>{{> "icons/search"}}</button>
  40. <button class="gh-burger"></button>
  41. </div>
  42.  
  43. <nav class="gh-head-menu">
  44. {{navigation}}
  45. {{#unless @site.members_enabled}}
  46. {{#match @custom.navigation_layout "Stacked"}}
  47. <button class="gh-search gh-icon-btn" aria-label="Search this site" data-ghost-search>{{> "icons/search"}}</button>
  48. {{/match}}
  49. {{/unless}}
  50. </nav>
  51.  
  52. <div class="gh-head-actions">
  53. {{#unless @site.members_enabled}}
  54. {{^match @custom.navigation_layout "Stacked"}}
  55. <button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
  56. {{/match}}
  57. {{else}}
  58. <button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
  59. <div class="gh-head-members">
  60. {{#unless @member}}
  61. {{#unless @site.members_invite_only}}
  62. <a class="gh-head-link" href="#/portal/signin" data-portal="signin">Sign in</a>
  63. <a class="gh-head-button" href="#/portal/signup" data-portal="signup">Subscribe</a>
  64. {{else}}
  65. <a class="gh-head-button" href="#/portal/signin" data-portal="signin">Sign in</a>
  66. {{/unless}}
  67. {{else}}
  68. <a class="gh-head-button" href="#/portal/account" data-portal="account">Account</a>
  69. {{/unless}}
  70. </div>
  71. {{/unless}}
  72. </div>
  73. </div>
  74. </header>
  75.  
  76. <div class="site-content">
  77. {{!-- All other templates get inserted here, index.hbs, post.hbs, etc --}}
  78. {{{body}}}
  79. </div>
  80.  
  81. {{!-- The global footer at the very bottom of the screen --}}
  82. <footer class="site-footer outer">
  83. <div class="inner">
  84. <section class="copyright"><a href="{{@site.url}}">{{@site.title}}</a> &copy; {{date format="YYYY"}}</section>
  85. <nav class="site-footer-nav">
  86. {{navigation type="secondary"}}
  87. </nav>
  88. </div>
  89. </footer>
  90.  
  91. </div>
  92. {{!-- /.viewport --}}
  93.  
  94. {{#is "post, page"}}
  95. {{> "lightbox"}}
  96. {{/is}}
  97.  
  98. {{!-- Scripts - handle member signups, responsive videos, infinite scroll, floating headers, and galleries --}}
  99. <script
  100. src="https://code.jquery.com/jquery-3.5.1.min.js"
  101. integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
  102. crossorigin="anonymous">
  103. </script>
  104. <script src="{{asset "built/casper.js"}}"></script>
  105. <script src="{{asset "js/ghost-dropdown.js"}}"></script>
  106. <script>
  107. $(document).ready(function () {
  108. // Mobile Menu Trigger
  109. $('.gh-burger').click(function () {
  110. $('body').toggleClass('gh-head-open');
  111. });
  112. // FitVids - Makes video embeds responsive
  113. $(".gh-content").fitVids();
  114. });
  115. </script>
  116.  
  117. {{!-- Ghost outputs required functional scripts with this tag - it should always be the last thing before the closing body tag --}}
  118. {{ghost_foot}}
  119.  
  120. </body>
  121. </html>
  122.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement