mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-12-22 16:46:02 +00:00
finally if statements works correctly
This commit is contained in:
parent
e23ff65532
commit
21aa8a4912
1 changed files with 2 additions and 1 deletions
3
feed.xml
3
feed.xml
|
@ -4,7 +4,8 @@ layout: none
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
|
||||
{% assign add_protocol = false %}
|
||||
{% if site.url != '' and site.url | split: '/' | first != 'http:' and site.url | split: '/' | first != 'https:' %}
|
||||
{% assign protocol = site.url | split: '/' | first %}
|
||||
{% if site.url != '' and protocol != 'http:' and protocol != 'https:' %}
|
||||
{% assign site_url = site.url | prepend: 'http:' %}
|
||||
{% assign add_protocol = true %}
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in a new issue