aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-06-25 03:20:21 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-06-25 03:20:21 +0300
commit860ae3c81409ba0e49c224bc1431e1835d500196 (patch)
tree34d864b6e425e84b85c1c203d7d01f039b655a3e /_includes
parentREADME update (diff)
downloadsorting-algorithms-860ae3c81409ba0e49c224bc1431e1835d500196.tar.gz
sorting-algorithms-860ae3c81409ba0e49c224bc1431e1835d500196.zip
move common assets to common/, more info to config
Diffstat (limited to '_includes')
-rw-r--r--_includes/common/bootstrap_css.html (renamed from _includes/bootstrap_css.html)0
-rw-r--r--_includes/common/bootstrap_js.html (renamed from _includes/bootstrap_js.html)0
-rw-r--r--_includes/common/footer.html (renamed from _includes/footer.html)6
-rw-r--r--_includes/common/header.html (renamed from _includes/header.html)13
-rw-r--r--_includes/common/ie_compat.html (renamed from _includes/ie_compat.html)0
-rw-r--r--_includes/common/jquery.html (renamed from _includes/jquery.html)0
-rw-r--r--_includes/common/navbar.html (renamed from _includes/navbar.html)0
-rw-r--r--_includes/common/pagination.html (renamed from _includes/pagination.html)0
-rw-r--r--_includes/common/sidebar.html (renamed from _includes/sidebar.html)6
9 files changed, 12 insertions, 13 deletions
diff --git a/_includes/bootstrap_css.html b/_includes/common/bootstrap_css.html
index f47b856..f47b856 100644
--- a/_includes/bootstrap_css.html
+++ b/_includes/common/bootstrap_css.html
diff --git a/_includes/bootstrap_js.html b/_includes/common/bootstrap_js.html
index e724257..e724257 100644
--- a/_includes/bootstrap_js.html
+++ b/_includes/common/bootstrap_js.html
diff --git a/_includes/footer.html b/_includes/common/footer.html
index f3cbb38..0273971 100644
--- a/_includes/footer.html
+++ b/_includes/common/footer.html
@@ -6,7 +6,7 @@
<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 }}#license">License</a> for details.</small></div>
+ <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;">
@@ -19,7 +19,7 @@
</footer>
</div>
</div>
- {% include jquery.html %}
- {% include bootstrap_js.html %}
+ {% include common/jquery.html %}
+ {% include common/bootstrap_js.html %}
</body>
</html>
diff --git a/_includes/header.html b/_includes/common/header.html
index 29a2729..c21b442 100644
--- a/_includes/header.html
+++ b/_includes/common/header.html
@@ -5,13 +5,12 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <title>{{ page.title }} - Sorting algorithms - {{ site.personal_info.name }}</title>
+ <title>{{ page.title }} - {{ site.project.name }} - {{ site.personal_info.name }}</title>
- {% include bootstrap_css.html %}
+ {% include common/bootstrap_css.html %}
- <link rel="stylesheet" href="{{ site.baseurl }}/css/footer.css">
- <link rel="stylesheet" href="{{ site.baseurl }}/css/misc.css">
- <link rel="stylesheet" href="{{ site.baseurl }}/css/syntax.css">
+ <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 %}
@@ -19,12 +18,12 @@
{% endfor %}
{% endif %}
- {% include ie_compat.html %}
+ {% include common/ie_compat.html %}
</head>
<body>
<div class="top-level-footer-wrapper">
<div class="footer-wrapper-collapse">
- {% include navbar.html %}
+ {% include common/navbar.html %}
</div>
<div class="footer-wrapper-expand">
<div class="container">
diff --git a/_includes/ie_compat.html b/_includes/common/ie_compat.html
index 3cef67d..3cef67d 100644
--- a/_includes/ie_compat.html
+++ b/_includes/common/ie_compat.html
diff --git a/_includes/jquery.html b/_includes/common/jquery.html
index aa6d2fd..aa6d2fd 100644
--- a/_includes/jquery.html
+++ b/_includes/common/jquery.html
diff --git a/_includes/navbar.html b/_includes/common/navbar.html
index af4a1c5..af4a1c5 100644
--- a/_includes/navbar.html
+++ b/_includes/common/navbar.html
diff --git a/_includes/pagination.html b/_includes/common/pagination.html
index aa2f034..aa2f034 100644
--- a/_includes/pagination.html
+++ b/_includes/common/pagination.html
diff --git a/_includes/sidebar.html b/_includes/common/sidebar.html
index b318997..e6041c3 100644
--- a/_includes/sidebar.html
+++ b/_includes/common/sidebar.html
@@ -1,6 +1,6 @@
<h4>About the project</h4>
-<p>Getting the hang out of the sorting algorithms. Feel free to contribute or contact me.</p>
-<div class="list-group reasonable-width">
+<p>{{ site.project.description }}. Feel free to contribute or contact me.</p>
+<div class="list-group wide-enough">
<a class="list-group-item" href="{{ site.github.repository_url }}"><span class="glyphicon glyphicon-home"></span>&nbsp;GitHub repository</a>
<a class="list-group-item" href="mailto:{{ site.personal_info.email }}"><span class="glyphicon glyphicon-envelope"></span>&nbsp;{{ site.personal_info.email }}</a>
</div>
@@ -10,7 +10,7 @@ You can examine the plots <a href="{{ site.baseurl }}/plots.html">here</a>.</p>
{% if site.posts.size == 0 %}
<p>Sorry, there're no posts yet.</p>
{% else %}
- <div class="list-group reasonable-width">
+ <div class="list-group wide-enough">
{% for post in site.posts limit: 5 %}
<a class="list-group-item" href="{{ site.baseurl }}{{ post.url }}"><span class="badge"><span class="glyphicon glyphicon-time"></span>&nbsp;{{ post.date | date_to_string }}</span><span class="glyphicon glyphicon-file"></span>&nbsp;{{ post.title }}</a>
{% endfor %}