diff options
Diffstat (limited to '')
-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 | 30 | ||||
-rw-r--r-- | _includes/common/ie_compat.html | 11 | ||||
-rw-r--r-- | _includes/common/jquery.html | 5 | ||||
-rw-r--r-- | _includes/common/mathjax.html | 12 | ||||
-rw-r--r-- | _includes/common/mathjax_workaround.md | 1 | ||||
-rw-r--r-- | _includes/common/navbar.html | 33 | ||||
-rw-r--r-- | _includes/common/paginator.html | 23 | ||||
-rw-r--r-- | _includes/common/sidebar.html | 25 |
11 files changed, 0 insertions, 175 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 a17ea71..0000000 --- a/_includes/common/header.html +++ /dev/null @@ -1,30 +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 %} - {% include common/mathjax.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/mathjax.html b/_includes/common/mathjax.html deleted file mode 100644 index 7110f57..0000000 --- a/_includes/common/mathjax.html +++ /dev/null @@ -1,12 +0,0 @@ -{% if page.mathjax %} - <script> -// See the README.md for explanation: -MathJax = { - tex: { - inlineMath: [['$', '$']] - } -}; - </script> - <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> - <script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script> -{% endif %} diff --git a/_includes/common/mathjax_workaround.md b/_includes/common/mathjax_workaround.md deleted file mode 100644 index 9d0a77d..0000000 --- a/_includes/common/mathjax_workaround.md +++ /dev/null @@ -1 +0,0 @@ -{::options math_engine="+nil+" /} diff --git a/_includes/common/navbar.html b/_includes/common/navbar.html deleted file mode 100644 index 6cf0e74..0000000 --- a/_includes/common/navbar.html +++ /dev/null @@ -1,33 +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"> - {% assign page_list = site.pages | sort: "navbar_priority" %} - {% for node in page_list %} - {% 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> diff --git a/_includes/common/paginator.html b/_includes/common/paginator.html deleted file mode 100644 index aaad762..0000000 --- a/_includes/common/paginator.html +++ /dev/null @@ -1,23 +0,0 @@ -{% if site.posts.size != 0 %} -<ul class="pagination"> - {% if paginator.previous_page %} - <li><a href="{{ site.baseurl }}{{ paginator.previous_page_path }}"><span class="glyphicon glyphicon-chevron-left"></span> Prev</a></li> - {% else %} - <li class="disabled"><a href="#"><span class="glyphicon glyphicon-chevron-left"></span> Prev</a></li> - {% endif %} - {% for page_number in (1..paginator.total_pages) %} - {% if page_number == paginator.page %} - <li class="active"><a href="#">{{ page_number }}</a></li> - {% elsif page_number == 1 %} - <li><a href="{{ site.baseurl }}/">{{ page_number }}</a></li> - {% else %} - <li><a href="{{ site.baseurl }}{{ site.paginate_path | replace: ':num', page_number }}">{{ page_number }}</a></li> - {% endif %} - {% endfor %} - {% if paginator.next_page %} - <li><a href="{{ site.baseurl }}{{ paginator.next_page_path }}">Next <span class="glyphicon glyphicon-chevron-right"></span></a></li> - {% else %} - <li class="disabled"><a href="#">Next <span class="glyphicon glyphicon-chevron-right"></span></a></li> - {% endif %} -</ul> -{% endif %} diff --git a/_includes/common/sidebar.html b/_includes/common/sidebar.html deleted file mode 100644 index 76cced0..0000000 --- a/_includes/common/sidebar.html +++ /dev/null @@ -1,25 +0,0 @@ -<div class="row"> - <div class="col-xs-12 col-sm-6 col-md-12"> - <h2 class="h4">About</h2> - <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> GitHub repository</a> - <a class="list-group-item" href="mailto:{{ site.personal_info.email }}"><span class="glyphicon glyphicon-envelope"></span> {{ site.personal_info.email }}</a> - </div> - </div> - <div class="col-xs-12 col-sm-6 col-md-12"> - <h2 class="h4">Latest posts</h2> - {% if site.posts.size == 0 %} - <p>Sorry, there're no posts yet.</p> - {% else %} - <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> {{ post.date | date: '%-d %b %Y' }}</span> - <span class="glyphicon glyphicon-file"></span> {{ post.title }} - </a> - {% endfor %} - </div> - {% endif %} - </div> -</div> |