Skip to content

Commit

Permalink
[#145] Rewrite url
Browse files Browse the repository at this point in the history
  • Loading branch information
khusnetdinov committed Feb 11, 2019
1 parent ecc3a14 commit dfd5e75
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .htaccess
@@ -0,0 +1,2 @@
RewriteCond %{HTTP_HOST} ^www\.betterdocs\.info$
RewriteRule ^/?$ "https\:\/\/betterdocs\.info\/" [R=301,L]
1 change: 0 additions & 1 deletion _config.production.yml
Expand Up @@ -76,7 +76,6 @@ exclude_from_localizations: [
markdown: kramdown
theme: minima
plugins:
- jekyll-feed
- jekyll-multiple-languages-plugin
- jekyll-sitemap
- jekyll-gzip
1 change: 0 additions & 1 deletion _config.staging.yml
Expand Up @@ -76,7 +76,6 @@ exclude_from_localizations: [
markdown: kramdown
theme: minima
plugins:
- jekyll-feed
- jekyll-multiple-languages-plugin
- jekyll-sitemap
- jekyll-gzip
1 change: 0 additions & 1 deletion _config.yml
Expand Up @@ -76,7 +76,6 @@ exclude_from_localizations: [
markdown: kramdown
theme: minima
plugins:
- jekyll-feed
- jekyll-multiple-languages-plugin
- jekyll-sitemap
- jekyll-gzip
2 changes: 1 addition & 1 deletion _includes/data_structure_complexity_header.html
@@ -1,4 +1,4 @@
<thead style="table complexity">
<thead class="table complexity">
<tr>
<td>Average Access</td>
<td>Average Search</td>
Expand Down
6 changes: 3 additions & 3 deletions _includes/head.html
Expand Up @@ -18,9 +18,6 @@
<meta name="author" content="Marat Khusnetdinow, HowToHireMe"/>
<meta name="robots" content="index, follow"/>

<!-- Favicons -->
<link rel="shortcut icon" type="image/png" href={{ "/favicon.ico" | prepend: site.url }}>

<!-- Locales -->
{% if jekyll.environment == "production" %}
{% for locale in site.locales %}
Expand All @@ -32,6 +29,9 @@
{% endfor %}
{% endif %}

<!-- Favicons -->
<link rel="shortcut icon" type="image/png" href={{ "/favicon.ico" | prepend: site.url }}>

<!-- Styles -->
<link rel="stylesheet" href={{ "/css/main.css" | prepend: site.url }}>

Expand Down
8 changes: 3 additions & 5 deletions _includes/locales.html
@@ -1,12 +1,10 @@
<div class="localizations">
<select id="localization" onchange="localizationFunction(this.form)">
{% for locale in site.locales %}
<option
value="{{ locale['locale'] }}"
<option value="{{ locale['locale'] }}"
{% if locale['locale'] == site.lang %}
selected
{% endif %}
style="background: url(https://cdn1.iconfinder.com/data/icons/famfamfam_flag_icons/{{ locale['flag'] }}.png);">
selected
{% endif %}>
{{ locale['name'] }}
</option>
{% endfor %}
Expand Down
1 change: 0 additions & 1 deletion _pages/index.html
@@ -1,7 +1,6 @@
---
layout: default
priority: 1
permalink: /
---

<div class="content">
Expand Down

0 comments on commit dfd5e75

Please sign in to comment.