Custom Ghost theme for my blog, based on Casper https://www.geber.ga
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

60 wiersze
2.3 KiB

  1. {{!< default}}
  2. {{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
  3. {{#author}}
  4. {{!-- Everything inside the #author tags pulls data from the author --}}
  5. <header class="site-archive-header">
  6. {{> site-header}}
  7. {{> header-background background=cover_image}} {{!--Special header-image.hbs partial to generate the background image--}}
  8. <div class="inner">
  9. <div class="site-header-content author-header">
  10. {{#if profile_image}}
  11. <img class="author-profile-image" src="{{profile_image}}" alt="{{name}}" />
  12. {{/if}}
  13. <div class="author-header-content">
  14. <h1 class="site-title">{{name}}</h1>
  15. {{#if bio}}
  16. <h2 class="author-bio">{{bio}}</h2>
  17. {{/if}}
  18. <div class="author-meta">
  19. {{#if location}}
  20. <div class="author-location">{{location}}</div>
  21. {{/if}}
  22. <div class="author-stats">
  23. {{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}}
  24. </div>
  25. {{#if website}}
  26. <span class="author-social-link"><a href="{{website}}" target="_blank" rel="noopener">Website</a></span>
  27. {{/if}}
  28. {{#if twitter}}
  29. <span class="author-social-link"><a href="{{twitter_url}}" target="_blank" rel="noopener">Twitter</a></span>
  30. {{/if}}
  31. {{#if facebook}}
  32. <span class="author-social-link"><a href="{{facebook_url}}" target="_blank" rel="noopener">Facebook</a></span>
  33. {{/if}}
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. </header>
  40. {{/author}}
  41. {{!-- The main content area --}}
  42. <main id="site-main" class="site-main outer">
  43. <div class="inner posts">
  44. <div class="post-feed">
  45. {{#foreach posts}}
  46. {{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
  47. {{> "post-card"}}
  48. {{/foreach}}
  49. </div>
  50. </div>
  51. </main>