aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)4
-rw-r--r--_includes/common/header.html29
-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
-rw-r--r--_includes/header.html24
-rw-r--r--_includes/posts/comments.html (renamed from _includes/comments.html)0
11 files changed, 34 insertions, 29 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..9ff7838 100644
--- a/_includes/footer.html
+++ b/_includes/common/footer.html
@@ -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/common/header.html b/_includes/common/header.html
new file mode 100644
index 0000000..c21b442
--- /dev/null
+++ b/_includes/common/header.html
@@ -0,0 +1,29 @@
+<!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/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 d00fc7a..4637244 100644
--- a/_includes/sidebar.html
+++ b/_includes/common/sidebar.html
@@ -1,6 +1,6 @@
<h4>About the project</h4>
-<p>Personal C++ notes. 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>
@@ -8,7 +8,7 @@
{% 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 %}
diff --git a/_includes/header.html b/_includes/header.html
deleted file mode 100644
index 3794583..0000000
--- a/_includes/header.html
+++ /dev/null
@@ -1,24 +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 }} - C++ notes - {{ site.personal_info.name }}</title>
-
- {% include 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">
-
- {% include ie_compat.html %}
- </head>
- <body>
- <div class="top-level-footer-wrapper">
- <div class="footer-wrapper-collapse">
- {% include navbar.html %}
- </div>
- <div class="footer-wrapper-expand">
- <div class="container">
diff --git a/_includes/comments.html b/_includes/posts/comments.html
index f16a70c..f16a70c 100644
--- a/_includes/comments.html
+++ b/_includes/posts/comments.html