brand.swig 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <div class="site-brand-container">
  2. <div class="site-nav-toggle">
  3. <div class="toggle" aria-label="{{ __('accessibility.nav_toggle') }}">
  4. <span class="toggle-line toggle-line-first"></span>
  5. <span class="toggle-line toggle-line-middle"></span>
  6. <span class="toggle-line toggle-line-last"></span>
  7. </div>
  8. </div>
  9. <div class="site-meta{%- if theme.custom_logo %} custom-logo{%- endif %}">
  10. {%- if theme.custom_logo and theme.scheme === 'Muse' %}
  11. <div class="site-meta-headline">
  12. <a>
  13. <img class="custom-logo-image" src="{{ theme.custom_logo }}" alt="{{ title }}">
  14. </a>
  15. </div>
  16. {%- endif %}
  17. <a href="{{ config.root }}" class="brand" rel="start">
  18. <span class="logo-line-before"><i></i></span>
  19. <h1 class="site-title">{{ title }}</h1>
  20. <span class="logo-line-after"><i></i></span>
  21. </a>
  22. {%- if subtitle %}
  23. <p class="site-subtitle" itemprop="description">{{ subtitle }}</p>
  24. {%- endif %}
  25. {%- if theme.custom_logo and (theme.scheme === 'Gemini' or theme.scheme === 'Pisces') %}
  26. <a>
  27. <img class="custom-logo-image" src="{{ theme.custom_logo }}" alt="{{ title }}">
  28. </a>
  29. {%- endif %}
  30. </div>
  31. <div class="site-nav-right">
  32. <div class="toggle popup-trigger">
  33. {%- if theme.algolia_search.enable or theme.local_search.enable %}
  34. <i class="fa fa-search fa-fw fa-lg"></i>
  35. {%- endif %}
  36. </div>
  37. </div>
  38. </div>