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.
 
 
 

24 lines
1.1 KiB

  1. <div class="floating-header">
  2. <div class="floating-header-logo">
  3. <a href="{{@blog.url}}">
  4. {{#if @blog.icon}}
  5. <img src="{{@blog.icon}}" alt="{{@blog.title}} icon" />
  6. {{/if}}
  7. <span>{{@blog.title}}</span>
  8. </a>
  9. </div>
  10. <span class="floating-header-divider">&mdash;</span>
  11. <div class="floating-header-title">{{title}}</div>
  12. <div class="floating-header-share">
  13. <div class="floating-header-share-label">Share this {{> "icons/point"}}</div>
  14. <a class="floating-header-share-tw" href="https://twitter.com/share?text={{encode title}}&amp;url={{url absolute="true"}}"
  15. onclick="window.open(this.href, 'share-twitter', 'width=550,height=235');return false;">
  16. {{> "icons/twitter"}}
  17. </a>
  18. <a class="floating-header-share-fb" href="https://www.facebook.com/sharer/sharer.php?u={{url absolute="true"}}"
  19. onclick="window.open(this.href, 'share-facebook','width=580,height=296');return false;">
  20. {{> "icons/facebook"}}
  21. </a>
  22. </div>
  23. </div>