2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-27 14:46:01 +03:00

Use https, fix broken links and unneeded redirects.

This commit is contained in:
XhmikosR
2018-09-18 22:27:46 +03:00
parent cf6f867190
commit e105d15642
80 changed files with 168 additions and 178 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ module Jekyll
upstream_map.each do |key, data|
url = data.is_a?(Array) ? data[0] : data
label = data.is_a?(Array) ? "#{data[1]} " : ""
input = input.gsub(/#{key}#(\d+)/, "<a href=\"#{url}\\1\">#{label}#\\1</a>")
input = input.gsub(/#{key}#(\d+)/, "<a href=\"#{url}\\1#{key === 'Edge' ? '/' : ''}\">#{label}#\\1</a>")
end
return input