diff options
-rw-r--r-- | _config.yml | 5 | ||||
-rw-r--r-- | _includes/common/bootstrap_css.html | 5 | ||||
-rw-r--r-- | _includes/common/bootstrap_js.html | 5 | ||||
-rw-r--r-- | _includes/common/footer.html | 25 | ||||
-rw-r--r-- | _includes/common/header.html | 20 | ||||
-rw-r--r-- | _includes/common/ie_compat.html | 11 | ||||
-rw-r--r-- | _includes/common/jquery.html | 5 | ||||
-rw-r--r-- | _layouts/default.html | 7 | ||||
-rw-r--r-- | css/common/footer.css | 30 | ||||
-rw-r--r-- | css/common/misc.css | 46 | ||||
-rw-r--r-- | index.html | 2 |
11 files changed, 6 insertions, 155 deletions
diff --git a/_config.yml b/_config.yml index 7bec135..28408ee 100644 --- a/_config.yml +++ b/_config.yml @@ -1,6 +1,7 @@ # Jekyll plugins: - jekyll-github-metadata + - jekyll-remote-theme exclude: - .travis.yml @@ -11,13 +12,17 @@ exclude: # jekyll-github-metadata repository: egor-tensin/egor-tensin.github.io +# jekyll-remote-theme +remote_theme: egor-tensin/jekyll-theme +# egor-tensin/jekyll-theme bootstrap_version: 3.3.7 jquery_version: 1.12.4 html5shiv_version: 3.7.3 respond_version: 1.4.2 minified_externals: true +hide_navbar: true personal_info: name: Egor Tensin diff --git a/_includes/common/bootstrap_css.html b/_includes/common/bootstrap_css.html deleted file mode 100644 index f47b856..0000000 --- a/_includes/common/bootstrap_css.html +++ /dev/null @@ -1,5 +0,0 @@ -{% if site.minified_externals %} - <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/{{ site.bootstrap_version }}/css/bootstrap.min.css"> -{% else %} - <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/{{ site.bootstrap_version }}/css/bootstrap.css"> -{% endif %} diff --git a/_includes/common/bootstrap_js.html b/_includes/common/bootstrap_js.html deleted file mode 100644 index e724257..0000000 --- a/_includes/common/bootstrap_js.html +++ /dev/null @@ -1,5 +0,0 @@ -{% if site.minified_externals %} - <script src="https://maxcdn.bootstrapcdn.com/bootstrap/{{ site.bootstrap_version }}/js/bootstrap.min.js"></script> -{% else %} - <script src="https://maxcdn.bootstrapcdn.com/bootstrap/{{ site.bootstrap_version }}/js/bootstrap.js"></script> -{% endif %} diff --git a/_includes/common/footer.html b/_includes/common/footer.html deleted file mode 100644 index 97d65b7..0000000 --- a/_includes/common/footer.html +++ /dev/null @@ -1,25 +0,0 @@ - </div> - </div> - <div class="footer-wrapper-collapse"> - <footer class="navbar-default"> - <div class="container"> - <div style="display: table; width: 100%;"> - <div style="display: table-row;"> - <div style="display: table-cell;"> - <div class="text-center text-muted"><small>This project is licensed under the terms of the MIT License. See <a href="{{ site.github.repository_url }}/blob/master/README.md#license">License</a> for details.</small></div> - </div> - </div> - <div style="display: table-row;"> - <div style="display: table-cell;"> - <div class="text-center text-muted"><small>This version of the page was generated on {{ site.time | date: '%-d %B %Y' }}.</small></div> - </div> - </div> - </div> - </div> - </footer> - </div> - </div> - {% include common/jquery.html %} - {% include common/bootstrap_js.html %} - </body> -</html> diff --git a/_includes/common/header.html b/_includes/common/header.html deleted file mode 100644 index 697d8f9..0000000 --- a/_includes/common/header.html +++ /dev/null @@ -1,20 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - <head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - - <title>{{ page.title }} - {{ site.personal_info.name }}</title> - - {% include common/bootstrap_css.html %} - - <link rel="stylesheet" href="/css/common/footer.css"> - <link rel="stylesheet" href="/css/common/misc.css"> - - {% include common/ie_compat.html %} - </head> - <body> - <div class="top-level-footer-wrapper"> - <div class="footer-wrapper-expand"> - <div class="container"> diff --git a/_includes/common/ie_compat.html b/_includes/common/ie_compat.html deleted file mode 100644 index 3cef67d..0000000 --- a/_includes/common/ie_compat.html +++ /dev/null @@ -1,11 +0,0 @@ -{% if site.minified_externals %} - <!--[if lt IE 9]> - <script src="https://oss.maxcdn.com/html5shiv/{{ site.html5shiv_version }}/html5shiv.min.js"></script> - <script src="https://oss.maxcdn.com/respond/{{ site.respond_version }}/respond.min.js"></script> - <![endif]--> -{% else %} - <!--[if lt IE 9]> - <script src="https://oss.maxcdn.com/html5shiv/{{ site.html5shiv_version }}/html5shiv.js"></script> - <script src="https://oss.maxcdn.com/respond/{{ site.respond_version }}/respond.js"></script> - <![endif]--> -{% endif %} diff --git a/_includes/common/jquery.html b/_includes/common/jquery.html deleted file mode 100644 index aa6d2fd..0000000 --- a/_includes/common/jquery.html +++ /dev/null @@ -1,5 +0,0 @@ -{% if site.minified_externals %} - <script src="https://code.jquery.com/jquery-{{ site.jquery_version }}.min.js"></script> -{% else %} - <script src="https://code.jquery.com/jquery-{{ site.jquery_version }}.js"></script> -{% endif %} diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index db09984..0000000 --- a/_layouts/default.html +++ /dev/null @@ -1,7 +0,0 @@ -{% include common/header.html %} -<div class="row"> - <div class="col-md-12"> - {{ content }} - </div> -</div> -{% include common/footer.html %} diff --git a/css/common/footer.css b/css/common/footer.css deleted file mode 100644 index 1e05c57..0000000 --- a/css/common/footer.css +++ /dev/null @@ -1,30 +0,0 @@ -html, body { - height: 100%; - width: 100%; -} -.top-level-footer-wrapper { - height: 100%; - width: 100%; - display: table; - - /* - * Without this property, scrollbars inside <pre> elements don't work if - * display's width is less than 750px. - * God, I hate CSS. - */ - table-layout: fixed; -} -.footer-wrapper-collapse { - display: table-row; - height: 1px; -} -.footer-wrapper-expand { - display: table-row; - height: auto; -} -footer { - margin-top: 20px; - padding: 15px 0 15px; - border-width: 1px 0; - border-style: solid; -} diff --git a/css/common/misc.css b/css/common/misc.css deleted file mode 100644 index edca6b0..0000000 --- a/css/common/misc.css +++ /dev/null @@ -1,46 +0,0 @@ -/* Utility classes to prevent blocks from expanding unreasonably. */ -.wide-enough { - max-width: 400px; -} -.wider { - max-width: 600px; -} -/* Links become blue inside of <hN> elements otherwise. */ -h1 a, -h2 a, -h3 a, -h4 a, -h5 a, -h6 a { - color: inherit; -} -/* Link captions might become too close to badges on the sidebar. */ -span.badge { - margin-left: .5em; -} -/* Add horizontal scrollbars to <pre>s and don't wrap the code inside. */ -pre { - overflow-x: auto; -} -pre code { - white-space: pre; - word-wrap: normal; -} -/* Lighter background for <pre> and <code> elements. */ -pre { - font-size: inherit; - background-color: #fbfbfb; -} -.highlight { - background-color: #fbfbfb !important; -} -code { - color: inherit; - background-color: #fbfbfb; - font-size: inherit; -} -/* Prevent <code> elements from standing out from alerts. */ -.alert code { - padding: 0; - background-color: inherit; -} @@ -1,6 +1,6 @@ --- title: Main page -layout: default +layout: plain --- <h1>{{ site.personal_info.name }}</h1> <hr/> |