Skip to content

Commit

Permalink
[#147] Jekyll app prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
khusnetdinov committed Aug 2, 2019
1 parent 6e8b948 commit b1a75b2
Show file tree
Hide file tree
Showing 36 changed files with 170 additions and 52 deletions.
4 changes: 2 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: 404
layout: error
---

<style type="text/css" media="screen">
Expand All @@ -17,7 +17,7 @@
</style>

<div class="container">
<h1 class="post-tlte">404</h1>
<h1 class="post-title">404</h1>
<p>{% t pages.page404.title %}</p>
<p>{% t pages.page404.description %}</p>
</div>
22 changes: 22 additions & 0 deletions 500.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
layout: error
---

<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>

<div class="container">
<h1 class="post-title">500</h1>
<p>{% t pages.page500.title %}</p>
</div>
7 changes: 2 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@ source 'https://rubygems.org'

ruby '2.5.1'
gem 'jekyll', '>= 3.7.4'
gem "rack", ">= 1.6.11"
gem 'html-proofer'
gem 'rack', '>= 1.6.11'
gem 'rack-jekyll'
gem 'rake'
gem 'minima'

gem 'html-proofer'
gem 'scss_lint'

group :jekyll_plugins do
gem 'jekyll-multiple-languages-plugin'
gem 'jekyll-sitemap'
gem 'jekyll-gzip'
end
15 changes: 9 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,28 @@ GEM
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
safe_yaml (~> 1.0)
<<<<<<< HEAD
jekyll-feed (0.10.0)
jekyll (~> 3.3)
jekyll-gzip (2.1.1)
jekyll (~> 3.0)
=======
>>>>>>> [#147] Jekyll app prepare
jekyll-multiple-languages-plugin (1.6.0)
jekyll (>= 2.0, < 4.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
<<<<<<< HEAD
jekyll-seo-tag (2.5.0)
jekyll (~> 3.3)
jekyll-sitemap (1.3.1)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
=======
jekyll-sitemap (1.2.0)
jekyll (~> 3.3)
jekyll-watch (2.1.2)
>>>>>>> [#147] Jekyll app prepare
listen (~> 3.0)
kramdown (1.17.0)
liquid (4.0.3)
Expand All @@ -65,10 +74,6 @@ GEM
ruby_dep (~> 1.2)
mercenary (0.3.6)
mini_portile2 (2.4.0)
minima (2.5.0)
jekyll (~> 3.5)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.11.3)
nokogiri (1.10.3)
mini_portile2 (~> 2.4.0)
Expand Down Expand Up @@ -110,10 +115,8 @@ PLATFORMS
DEPENDENCIES
html-proofer
jekyll (>= 3.7.4)
jekyll-gzip
jekyll-multiple-languages-plugin
jekyll-sitemap
minima
rack (>= 1.6.11)
rack-jekyll
rake
Expand Down
19 changes: 17 additions & 2 deletions _config.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ encoding: utf-8
url: https://betterdocs.info

baseurl: /
format: ''

collections:
pages:
Expand Down Expand Up @@ -64,18 +65,32 @@ exclude_from_localizations: [
'CONTRIBUTING.md',
'Procfile',
'Rakefile',
'Vagrantfile',
'README.md',
'config.ru',
'favicon.ico',
'feed.xml',
'sitemap.xml',
'language.yml',
'package.json',
'static.json',
'npm-shrinkwrap.json',
'robots.txt',
'ubuntu-bionic-18.04-cloudimg-console.log',
'500.html'
]

allowed: [
'css',
'fonts',
'images',
'javascripts',
'favicon.ico',
'robots.txt',
'sitemap.xml',
]

markdown: kramdown
theme: minima
plugins:
- jekyll-multiple-languages-plugin
- jekyll-sitemap
- jekyll-gzip
19 changes: 17 additions & 2 deletions _config.staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ encoding: utf-8
url: https://betterdocs.herokuapp.com

baseurl: /
format: ''

collections:
pages:
Expand Down Expand Up @@ -64,18 +65,32 @@ exclude_from_localizations: [
'CONTRIBUTING.md',
'Procfile',
'Rakefile',
'Vagrantfile',
'README.md',
'config.ru',
'favicon.ico',
'feed.xml',
'sitemap.xml',
'language.yml',
'package.json',
'static.json',
'npm-shrinkwrap.json',
'robots.txt',
'ubuntu-bionic-18.04-cloudimg-console.log',
'500.html'
]

allowed: [
'css',
'fonts',
'images',
'javascripts',
'favicon.ico',
'robots.txt',
'sitemap.xml',
]

markdown: kramdown
theme: minima
plugins:
- jekyll-multiple-languages-plugin
- jekyll-sitemap
- jekyll-gzip
21 changes: 18 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
encoding: utf-8

url: localost:4000
url: http://localhost:4000

baseurl: /
format: ''

collections:
pages:
Expand Down Expand Up @@ -64,18 +65,32 @@ exclude_from_localizations: [
'CONTRIBUTING.md',
'Procfile',
'Rakefile',
'Vagrantfile',
'README.md',
'config.ru',
'favicon.ico',
'feed.xml',
'sitemap.xml',
'language.yml',
'package.json',
'static.json',
'npm-shrinkwrap.json',
'robots.txt',
'ubuntu-bionic-18.04-cloudimg-console.log',
'500.html'
]

allowed: [
'css',
'fonts',
'images',
'javascripts',
'favicon.ico',
'robots.txt',
'sitemap.xml',
]

markdown: kramdown
theme: minima
plugins:
- jekyll-multiple-languages-plugin
- jekyll-sitemap
- jekyll-gzip
2 changes: 2 additions & 0 deletions _i18n/bg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ pages:
page404:
title: Страницата не е намерена :(
description: Заявената страница не можа да бъде намерена.
page500:
title: "Something was going wrong :("
algorithms:
title: Алгоритми
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/bn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ pages:
page404:
title: পৃষ্ঠা খুঁজে পাওয়া যায়নি :(
description: অনুরোধ করা পৃষ্ঠা খুঁজে পাওয়া যাবে না।
page500:
title: "Something was going wrong :("
algorithms:
title: আলগোরিদিম
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/cn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ pages:
page404:
title: 网页未找到 :(
description: 所需的页面无法找到。
page500:
title: "Something was going wrong :("
algorithms:
title: 算法
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ pages:
page404:
title: Seite nicht gefunden :(
description: Die angeforderte Seite konnte nicht gefunden werden.
page500:
title: "Something was going wrong :("
algorithms:
title: Algorithmen
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/el.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ pages:
page404:
title: Η σελίδα δεν βρέθηκε :(
description: Η σελίδα που ζητήσατε δεν βρέθηκε.
page500:
title: "Something was going wrong :("
algorithms:
title: Αλγόριθμοι
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ pages:
page404:
title: "Page not found :("
description: "The requested page could not be found."
page500:
title: "Something was going wrong :("
algorithms:
title: "Algorithms"
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ pages:
page404:
title: Página no encontrada :(
description: La página solicitada no pudo ser encontrada.
page500:
title: "Something was going wrong :("
algorithms:
title: Algoritmos
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ pages:
page404:
title: Page non trouvée :(
description: La page demandée n&#39;a pu être trouvée.
page500:
title: "Something was going wrong :("
algorithms:
title: Algorithmes
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/hi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ pages:
page404:
title: पृष्ठ नहीं मिला :(
description: अनुरोध किया गया पेज़ नहीं मिल सका।
page500:
title: "Something was going wrong :("
algorithms:
title: एल्गोरिदम
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ pages:
page404:
title: Halaman tidak ditemukan :(
description: Halaman yang diminta tidak dapat ditemukan.
page500:
title: "Something was going wrong :("
algorithms:
title: Algoritma
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ pages:
page404:
title: Pagina non trovata :(
description: La pagina richiesta non è stata trovata.
page500:
title: "Something was going wrong :("
algorithms:
title: algoritmi
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ pages:
page404:
title: ページが見つかりません :(
description: 要求されたページが見つかりませんでした。
page500:
title: "Something was going wrong :("
algorithms:
title: アルゴリズム
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/ko.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ pages:
page404:
title: 페이지를 찾을 수 없음 :(
description: 요청하신 페이지를 찾을 수 없습니다.
page500:
title: "Something was going wrong :("
algorithms:
title: 알고리즘
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/ms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ pages:
page404:
title: Laman tidak dijumpai :(
description: Halaman yang diminta tidak dapat dijumpai.
page500:
title: "Something was going wrong :("
algorithms:
title: Algoritma
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/pl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ pages:
page404:
title: Strona nie znaleziona :(
description: Żądana strona nie została znaleziona.
page500:
title: "Something was going wrong :("
algorithms:
title: Algorytmy
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/pt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ pages:
page404:
title: Página não encontrada :(
description: A página solicitada não pôde ser encontrada.
page500:
title: "Something was going wrong :("
algorithms:
title: Algoritmos
complexity:
Expand Down
2 changes: 2 additions & 0 deletions _i18n/ro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ pages:
page404:
title: Pagina nu a fost gasita :(
description: Pagina solicitată nu a putut fi găsită.
page500:
title: "Something was going wrong :("
algorithms:
title: algoritmi
complexity:
Expand Down
Loading

0 comments on commit b1a75b2

Please sign in to comment.