mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-07 12:06:26 +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
|
||||
description: Describe your website here.
|
||||
logo: site-logo.png
|
||||
disqus_shortname:
|
||||
disqus_shortname:
|
||||
search: true
|
||||
# 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
|
||||
|
||||
# Owner/author information
|
||||
|
@ -12,22 +13,22 @@ owner:
|
|||
avatar: bio-photo.jpg
|
||||
email: you@email.com
|
||||
# Social networking links used in footer. Update and remove as you like.
|
||||
twitter:
|
||||
facebook:
|
||||
github:
|
||||
stackexchange:
|
||||
linkedin:
|
||||
instagram:
|
||||
flickr:
|
||||
tumblr:
|
||||
twitter:
|
||||
facebook:
|
||||
github:
|
||||
stackexchange:
|
||||
linkedin:
|
||||
instagram:
|
||||
flickr:
|
||||
tumblr:
|
||||
# For Google Authorship https://plus.google.com/authorship
|
||||
google_plus:
|
||||
google_plus:
|
||||
|
||||
# Analytics and webmaster tools stuff goes here
|
||||
google_analytics:
|
||||
google_verify:
|
||||
google_analytics:
|
||||
google_verify:
|
||||
# https://ssl.bing.com/webmaster/configure/verify/ownership Option 2 content= goes here
|
||||
bing_verify:
|
||||
bing_verify:
|
||||
|
||||
# Links to include in top navigation
|
||||
# For external links add external: true
|
||||
|
@ -59,7 +60,7 @@ kramdown:
|
|||
use_coderay: false
|
||||
|
||||
coderay:
|
||||
coderay_line_numbers:
|
||||
coderay_line_numbers:
|
||||
coderay_line_numbers_start: 1
|
||||
coderay_tab_width: 4
|
||||
coderay_bold_every: 10
|
||||
|
|
9
feed.xml
9
feed.xml
|
@ -3,15 +3,12 @@ layout: none
|
|||
---
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
|
||||
{% if site.url != '' and
|
||||
site.url | split: '/' | first != 'http:' and
|
||||
site.url | split: '/' | first != 'https:'
|
||||
%}
|
||||
{% if site.url != '' and site.url | split: '/' | first != 'http:' and site.url | split: '/' | first != 'https:' %}
|
||||
{% 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 %}
|
||||
{% assign site_url = site.url %}
|
||||
{% post_content = post.content | xml_escape %}
|
||||
{% assign post_content = post.content | xml_escape %}
|
||||
{% endif %}
|
||||
<title type="text">{{ site.title }}</title>
|
||||
<generator uri="https://github.com/mojombo/jekyll">Jekyll</generator>
|
||||
|
|
Loading…
Reference in a new issue