mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-21 17:47:10 +00:00
protocol agnostic url
This commit is contained in:
parent
7f75f13e6f
commit
987f541013
2 changed files with 18 additions and 20 deletions
29
_config.yml
29
_config.yml
|
@ -1,9 +1,10 @@
|
||||||
title: Site Title
|
title: Site Title
|
||||||
description: Describe your website here.
|
description: Describe your website here.
|
||||||
logo: site-logo.png
|
logo: site-logo.png
|
||||||
disqus_shortname:
|
disqus_shortname:
|
||||||
search: true
|
search: true
|
||||||
# Change url to your domain. Leave localhost server or blank when working locally.
|
# Change url to your domain. Leave localhost server or blank when working locally.
|
||||||
|
# You don't need to specify the protocol if you want it available on http and https. Example: //localhost:4000
|
||||||
url: http://localhost:4000
|
url: http://localhost:4000
|
||||||
|
|
||||||
# Owner/author information
|
# Owner/author information
|
||||||
|
@ -12,22 +13,22 @@ owner:
|
||||||
avatar: bio-photo.jpg
|
avatar: bio-photo.jpg
|
||||||
email: you@email.com
|
email: you@email.com
|
||||||
# Social networking links used in footer. Update and remove as you like.
|
# Social networking links used in footer. Update and remove as you like.
|
||||||
twitter:
|
twitter:
|
||||||
facebook:
|
facebook:
|
||||||
github:
|
github:
|
||||||
stackexchange:
|
stackexchange:
|
||||||
linkedin:
|
linkedin:
|
||||||
instagram:
|
instagram:
|
||||||
flickr:
|
flickr:
|
||||||
tumblr:
|
tumblr:
|
||||||
# For Google Authorship https://plus.google.com/authorship
|
# For Google Authorship https://plus.google.com/authorship
|
||||||
google_plus:
|
google_plus:
|
||||||
|
|
||||||
# Analytics and webmaster tools stuff goes here
|
# Analytics and webmaster tools stuff goes here
|
||||||
google_analytics:
|
google_analytics:
|
||||||
google_verify:
|
google_verify:
|
||||||
# https://ssl.bing.com/webmaster/configure/verify/ownership Option 2 content= goes here
|
# https://ssl.bing.com/webmaster/configure/verify/ownership Option 2 content= goes here
|
||||||
bing_verify:
|
bing_verify:
|
||||||
|
|
||||||
# Links to include in top navigation
|
# Links to include in top navigation
|
||||||
# For external links add external: true
|
# For external links add external: true
|
||||||
|
@ -59,7 +60,7 @@ kramdown:
|
||||||
use_coderay: false
|
use_coderay: false
|
||||||
|
|
||||||
coderay:
|
coderay:
|
||||||
coderay_line_numbers:
|
coderay_line_numbers:
|
||||||
coderay_line_numbers_start: 1
|
coderay_line_numbers_start: 1
|
||||||
coderay_tab_width: 4
|
coderay_tab_width: 4
|
||||||
coderay_bold_every: 10
|
coderay_bold_every: 10
|
||||||
|
|
9
feed.xml
9
feed.xml
|
@ -3,15 +3,12 @@ layout: none
|
||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
|
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
|
||||||
{% if site.url != '' and
|
{% if site.url != '' and site.url | split: '/' | first != 'http:' and site.url | split: '/' | first != 'https:' %}
|
||||||
site.url | split: '/' | first != 'http:' and
|
|
||||||
site.url | split: '/' | first != 'https:'
|
|
||||||
%}
|
|
||||||
{% assign site_url = site.url | prepend: 'http:' %}
|
{% assign site_url = site.url | prepend: 'http:' %}
|
||||||
{% post_content = post.content | xml_escape | replace: site.url, url %}
|
{% assign post_content = post.content | xml_escape | replace: site.url, url %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign site_url = site.url %}
|
{% assign site_url = site.url %}
|
||||||
{% post_content = post.content | xml_escape %}
|
{% assign post_content = post.content | xml_escape %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<title type="text">{{ site.title }}</title>
|
<title type="text">{{ site.title }}</title>
|
||||||
<generator uri="https://github.com/mojombo/jekyll">Jekyll</generator>
|
<generator uri="https://github.com/mojombo/jekyll">Jekyll</generator>
|
||||||
|
|
Loading…
Reference in a new issue