diff --git a/_includes/views/banner.html b/_includes/views/banner.html index b62181a..76e35a6 100644 --- a/_includes/views/banner.html +++ b/_includes/views/banner.html @@ -19,20 +19,9 @@ {% assign subheading = return %} {% if banner %} - - {% assign auto_banner = true %} - {% assign array = banner | split: '/' %} - {% assign protocol = array[0] %} - - {% if array.size > 1 and (protocol == '' or protocol == 'http:' or protocol == 'https:') %} - {% assign auto_banner = false %} - {% endif %} -
- {%- if auto_banner == false -%} -
- {%- endif -%} +
@@ -48,36 +37,14 @@

{{ heading | default: page.title | escape }}

-

+

{{ subheading | default: page.subtitle | escape }} -

+
{%- endif -%}
- - {%- if auto_banner -%} - - {%- assign selector = ".page-banner-img" -%} - - {%- if banner == "default" -%} - - {%- assign heading = page.heading | default: page.title | escape -%} - {%- assign subheading = page.subheading | default: page.subtitle | escape -%} - {%- assign seed = page.date | append: heading | append: subheading -%} - - {%- else -%} - - {%- assign seed = 'theme-' | append: banner -%} - - {%- endif -%} - - {%- assign zoom = 1.5 -%} - {%- include extensions/trianglify.html -%} - - {%- endif -%} - {%- endif -%}