diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-05-07 02:46:49 +0000 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-05-07 02:46:49 +0000 |
commit | dc3b581f2b548d982bd40324e4a397e32ee16c14 (patch) | |
tree | 62568cd5d3fdc6a39d0a2135ea19fd3d00992247 /_includes/common | |
parent | Travis: check integrity using wget (diff) | |
download | sorting-algorithms-dc3b581f2b548d982bd40324e4a397e32ee16c14.tar.gz sorting-algorithms-dc3b581f2b548d982bd40324e4a397e32ee16c14.zip |
use "remote" Jekyll theme
I moved _includes/, _layouts/, css/ to egor-tensin/jekyll-theme.
Diffstat (limited to '_includes/common')
-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 | 29 | ||||
-rw-r--r-- | _includes/common/ie_compat.html | 11 | ||||
-rw-r--r-- | _includes/common/jquery.html | 5 | ||||
-rw-r--r-- | _includes/common/navbar.html | 32 |
7 files changed, 0 insertions, 112 deletions
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 c1d80e2..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/gh-pages/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 c21b442..0000000 --- a/_includes/common/header.html +++ /dev/null @@ -1,29 +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.project.name }} - {{ site.personal_info.name }}</title> - - {% include common/bootstrap_css.html %} - - <link rel="stylesheet" href="{{ site.baseurl }}/css/common/footer.css"> - <link rel="stylesheet" href="{{ site.baseurl }}/css/common/misc.css"> - - {% if page.custom_css %} - {% for css in page.custom_css %} - <link rel="stylesheet" href="{{ site.baseurl }}/css/{{ css }}"/> - {% endfor %} - {% endif %} - - {% include common/ie_compat.html %} - </head> - <body> - <div class="top-level-footer-wrapper"> - <div class="footer-wrapper-collapse"> - {% include common/navbar.html %} - </div> - <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/_includes/common/navbar.html b/_includes/common/navbar.html deleted file mode 100644 index d2f5ea3..0000000 --- a/_includes/common/navbar.html +++ /dev/null @@ -1,32 +0,0 @@ -<nav class="navbar navbar-default navbar-static-top"> - <div class="container"> - <div class="navbar-header"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> - <span class="sr-only">Toggle navigation</span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - <a class="navbar-brand" href="/">{{ site.personal_info.name }}</a> - </div> - <div class="navbar-collapse collapse"> - <ul class="nav navbar-nav"> - {% for node in site.pages %} - {% if node.root_page %} - {% if navbar_has_root_page %} - {% continue %} - {% endif %} - {% assign navbar_has_root_page = true %} - {% endif %} - {% if node.groups contains 'navbar' %} - {% if page.url == node.url %} - <li class="active"><a href="{{ site.baseurl }}{{ node.url }}" class="active">{{ node.navbar_link }}</a></li> - {% else %} - <li><a href="{{ site.baseurl }}{{ node.url }}">{{ node.navbar_link }}</a></li> - {% endif %} - {% endif %} - {% endfor %} - </ul> - </div> - </div> -</nav> |