Sha256: b2c648e650bf0feb5927e91f91605c197ec208b776931ac1dd5dee67ec7da008

Contents?: true

Size: 776 Bytes

Versions: 17

Compression:

Stored size: 776 Bytes

Contents

{% assign image       = include.image       %}
{% assign color       = include.color       %}
{% assign theme_color = include.theme_color %}

{% if image.background %}
  {% capture bg_style %}background:{{ image.background }}{% endcapture %}
  {% capture bg_class %}sidebar-bg {% if image.overlay %}sidebar-overlay{% endif %}{% endcapture %}
{% else %}
  {% assign bg_color = theme_color | default:site.theme_color | default:color %}
  {% capture bg_style %}background-color:{{ bg_color }};{% if image != 'none' %}background-image:url({% include_cached smart-url url=image %}){% endif %}{% endcapture %}
  {% capture bg_class %}sidebar-bg {% if image != 'none' %}sidebar-overlay{% endif %}{% endcapture %}
{% endif %}
<div class="{{ bg_class }}" style="{{ bg_style }}"></div>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
jekyll-theme-hydejack-9.2.1 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.2.0 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.1.9 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.1.8 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.1.7 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.1.6 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.1.5 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.1.4 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.1.3 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.1.2 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.1.1 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.1.0 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.0.4 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.0.3 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.0.2 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.0.1 _includes/body/sidebar-bg.html
jekyll-theme-hydejack-9.0.0 _includes/body/sidebar-bg.html