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.
 
 
 

57 lines
1.9 KiB

  1. {{!--
  2. This error template is used for all 404 errors, which might occur on your site.
  3. It's a good idea to keep this template as minimal as possible in terms of both file size and complexity.
  4. --}}
  5. <!DOCTYPE html>
  6. <html>
  7. <head>
  8. <meta charset="utf-8" />
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  10. <title>{{meta_title}}</title>
  11. <meta name="HandheldFriendly" content="True" />
  12. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  13. <link rel="stylesheet" type="text/css" href="{{asset "built/screen.css"}}" />
  14. </head>
  15. <body class="error-template">
  16. <div class="site-wrapper">
  17. <header class="site-header outer {{#if feature_image}}" style="background-image: url({{feature_image}}){{else}}no-cover{{/if}}">
  18. <div class="inner">
  19. <nav class="site-nav-center">
  20. {{#if @blog.logo}}
  21. <a class="site-nav-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>
  22. {{else}}
  23. <a class="site-nav-logo" href="{{@blog.url}}">{{@blog.title}}</a>
  24. {{/if}}
  25. </nav>
  26. </div>
  27. </header>
  28. <main id="site-main" class="site-main outer">
  29. <div class="inner">
  30. <section class="error-message">
  31. <h1 class="error-code">{{code}}</h1>
  32. <p class="error-description">{{message}}</p>
  33. <a class="error-link" href="{{@blog.url}}">Go to the front page →</a>
  34. </section>
  35. </div>
  36. </main>
  37. {{#get "posts" limit="3"}}
  38. <aside class="outer">
  39. <div class="inner">
  40. <div class="post-feed">
  41. {{#foreach posts}}
  42. {{> "post-card"}}
  43. {{/foreach}}
  44. </div>
  45. </div>
  46. </aside>
  47. {{/get}}
  48. </div>
  49. </body>
  50. </html>