jekyll-theme-neysa 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/{LICENSE.txt → LICENSE} +5 -5
- data/README.md +0 -36
- data/_config.yml +1 -30
- data/_includes/footer.html +88 -19
- data/_includes/head.html +6 -22
- data/_includes/header.html +28 -0
- data/_includes/mathjax.html +11 -13
- data/_layouts/default.html +27 -10
- data/_layouts/notebook.html +28 -26
- data/_layouts/project.html +28 -26
- data/_sass/header-footer.scss +220 -0
- data/_sass/jekyll-theme-neysa.scss +223 -674
- data/assets/css/style.scss +12 -12
- data/assets/images/favicon.ico +0 -0
- data/assets/js/bootstrap.min.js +6 -0
- metadata +7 -13
- data/_includes/baidu-analysis.html +0 -9
- data/_includes/google-analytics.html +0 -16
- data/_sass/neysa.scss +0 -4
- data/assets/images/bg_hr.png +0 -0
- data/assets/js/toc.js +0 -99
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f05073d4c36295502d4739b38590ec3f6295f159fdccd2931860371f3bb832d
|
|
4
|
+
data.tar.gz: e0e99223e5ab573e9a2160be4b1a2409e699c6fb3d2179277b09b1b64742bd72
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8a619e897ff80e03ff1f9693b5771fb8da03c249eb37b7a04e4764d12873fec3514d70c10fbbbbf9bbd6b16e02ba7c7440bf45b040b49fe1c5ab788267d57e1d
|
|
7
|
+
data.tar.gz: 1748e774b69ca06bf92b5115a38437305af2c06a6d0f0e1fb6093f93693e6b7cbf6c36e2d708cfdb17ee639f91cd62a227739bbab3b819d25434a15f475fe863
|
data/{LICENSE.txt → LICENSE}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
MIT License
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2023 Ni Chen
|
|
4
4
|
|
|
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
9
9
|
copies of the Software, and to permit persons to whom the Software is
|
|
10
10
|
furnished to do so, subject to the following conditions:
|
|
11
11
|
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
15
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
|
@@ -1,41 +1,5 @@
|
|
|
1
1
|
# jekyll-theme-neysa
|
|
2
2
|
|
|
3
|
-
Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
|
|
4
|
-
|
|
5
|
-
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
|
6
|
-
|
|
7
|
-
TODO: Delete this and the text above, and describe your gem
|
|
8
|
-
|
|
9
|
-
## Installation
|
|
10
|
-
|
|
11
|
-
Add this line to your Jekyll site's `Gemfile`:
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
gem "jekyll-theme-neysa"
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
And add this line to your Jekyll site's `_config.yml`:
|
|
18
|
-
|
|
19
|
-
```yaml
|
|
20
|
-
theme: jekyll-theme-neysa
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
And then execute:
|
|
24
|
-
|
|
25
|
-
$ bundle
|
|
26
|
-
|
|
27
|
-
Or install it yourself as:
|
|
28
|
-
|
|
29
|
-
$ gem install jekyll-theme-neysa
|
|
30
|
-
|
|
31
|
-
## Usage
|
|
32
|
-
|
|
33
|
-
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
|
34
|
-
|
|
35
|
-
## Contributing
|
|
36
|
-
|
|
37
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/jekyll-theme-neysa. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
|
|
38
|
-
|
|
39
3
|
## Development
|
|
40
4
|
|
|
41
5
|
To set up your environment to develop this theme, run `bundle install`.
|
data/_config.yml
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
name: " "
|
|
3
3
|
title: null
|
|
4
4
|
description:
|
|
5
|
-
|
|
6
|
-
theme: jekyll-theme-neysa
|
|
5
|
+
# theme: jekyll-theme-neysa
|
|
7
6
|
|
|
8
7
|
# Build settings
|
|
9
8
|
|
|
@@ -19,37 +18,9 @@ kramdown:
|
|
|
19
18
|
enable_coderay: false
|
|
20
19
|
parse_block_html: true # default for kramdown is false. This will enable using Markdown links
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
toc:
|
|
24
|
-
min_level: 2
|
|
25
|
-
max_level: 6
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
## => Markdown Enhancements
|
|
31
|
-
## Mathjax
|
|
32
|
-
mathjax: true # false (default), true
|
|
33
|
-
mathjax_autoNumber: true # false (default), true
|
|
34
|
-
|
|
35
|
-
parse:
|
|
36
|
-
myst_enable_extensions:
|
|
37
|
-
# don't forget to list any other extensions you want enabled,
|
|
38
|
-
# including those that are enabled by default!
|
|
39
|
-
- amsmath
|
|
40
|
-
|
|
41
21
|
sass:
|
|
42
22
|
sass_dir: _sass
|
|
43
23
|
|
|
44
24
|
|
|
45
25
|
exclude:
|
|
46
26
|
- script
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
# -----------------------------------------------------------------------------
|
|
50
|
-
# 统计
|
|
51
|
-
# -----------------------------------------------------------------------------
|
|
52
|
-
google_analytics: UA—56515654-4
|
|
53
|
-
|
|
54
|
-
# 百度统计[https://tongji.baidu.com/](https://tongji.baidu.com/)申请自己的网站ID并在此处替换
|
|
55
|
-
baidu: 0662740a0d2368cc5cfaa508dd843362
|
data/_includes/footer.html
CHANGED
|
@@ -1,23 +1,92 @@
|
|
|
1
|
-
<footer class="
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
<footer class="{% if site.footer_fixed %}fixed-bottom{% else %}sticky-bottom mt-5{% endif %}">
|
|
2
|
+
<div class="container text-center">
|
|
3
|
+
{% assign author_name = site.first_name | append: ' ' | append: site.last_name | strip %}
|
|
4
|
+
{% if author_name == '' %}{% assign author_name = 'Ni Chen' %}{% endif %}
|
|
5
|
+
© Copyright {{ site.time | date: '%Y' }}, {{ author_name }}
|
|
6
|
+
{% if site.footer_text %}<br>{{ site.footer_text }}{% endif %}
|
|
7
|
+
</div>
|
|
8
|
+
</footer>
|
|
9
|
+
|
|
10
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
|
|
11
|
+
<script src="{{ site.url }}{{ site.baseurl }}/assets/js/bootstrap.min.js"></script>
|
|
12
|
+
<script>
|
|
13
|
+
(function() {
|
|
14
|
+
if (window.jQuery) {
|
|
15
|
+
jQuery(function($) {
|
|
16
|
+
var $car = $('#carousel');
|
|
17
|
+
if ($car.length) {
|
|
18
|
+
$car.carousel({ interval: 5000, pause: 'hover' });
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
})();
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
<script>
|
|
26
|
+
// Mark native lazy media as loaded to trigger CSS fade-in.
|
|
27
|
+
// load/error do not bubble, so listen in the capture phase; this also covers media added later.
|
|
28
|
+
(function() {
|
|
29
|
+
function isLazy(el) {
|
|
30
|
+
return el && (el.tagName === 'IMG' || el.tagName === 'IFRAME') && el.getAttribute('loading') === 'lazy';
|
|
31
|
+
}
|
|
32
|
+
function onDone(e) {
|
|
33
|
+
if (isLazy(e.target)) e.target.classList.add('is-loaded');
|
|
34
|
+
}
|
|
35
|
+
document.addEventListener('load', onDone, true);
|
|
36
|
+
document.addEventListener('error', onDone, true);
|
|
37
|
+
[].forEach.call(document.querySelectorAll('img[loading="lazy"]'), function(img) {
|
|
38
|
+
if (img.complete) img.classList.add('is-loaded');
|
|
39
|
+
});
|
|
40
|
+
})();
|
|
41
|
+
</script>
|
|
42
|
+
|
|
43
|
+
{% if content contains 'li-embed' %}
|
|
44
|
+
<script>
|
|
45
|
+
// Auto-resize LinkedIn embed iframes when they post height messages
|
|
46
|
+
(function () {
|
|
47
|
+
function extractHeight(msg) {
|
|
48
|
+
var data = msg;
|
|
49
|
+
if (typeof data === 'string') {
|
|
50
|
+
try { data = JSON.parse(data); } catch (e) { /* not JSON */ }
|
|
51
|
+
}
|
|
52
|
+
var candidates = [];
|
|
53
|
+
if (data && typeof data === 'object') {
|
|
54
|
+
if (typeof data.height === 'number') candidates.push(data.height);
|
|
55
|
+
if (data.data && typeof data.data.height === 'number') candidates.push(data.data.height);
|
|
56
|
+
if (data.msg && typeof data.msg.height === 'number') candidates.push(data.msg.height);
|
|
57
|
+
}
|
|
58
|
+
for (var j = 0; j < candidates.length; j++) {
|
|
59
|
+
var h = candidates[j];
|
|
60
|
+
if (h >= 150 && h <= 2000) return h;
|
|
10
61
|
}
|
|
62
|
+
return null;
|
|
11
63
|
}
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
<!-- Foot note -->
|
|
15
|
-
{% if site.github.is_project_page %}
|
|
16
|
-
<p class="copyright">{{ site.title | default: site.github.repository_name }} maintained by <a href="https://ni-chen.github.io">Ni Chen</a> | Last updated: {{ "now" | date: '%B %d, %Y' }} </p>
|
|
17
|
-
{% else %}
|
|
18
|
-
<p> © Copyright {{ site.time | date: '%Y' }} <a href="https://ni-chen.github.io">Ni Chen</a> | Last updated: {{ "now" | date: '%B %d, %Y' }} </p>
|
|
19
|
-
{% endif %}
|
|
20
64
|
|
|
21
|
-
|
|
22
|
-
|
|
65
|
+
function isLinkedIn(origin) {
|
|
66
|
+
try {
|
|
67
|
+
return (new URL(origin).hostname || '').endsWith('linkedin.com');
|
|
68
|
+
} catch (e) {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
function findIframe(source) {
|
|
74
|
+
var iframes = document.querySelectorAll('iframe.li-embed, iframe[src*="linkedin.com/embed"]');
|
|
75
|
+
for (var i = 0; i < iframes.length; i++) {
|
|
76
|
+
if (iframes[i].contentWindow === source) return iframes[i];
|
|
77
|
+
}
|
|
78
|
+
return null;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
window.addEventListener('message', function (event) {
|
|
82
|
+
if (!isLinkedIn(event.origin)) return;
|
|
83
|
+
var newH = extractHeight(event.data);
|
|
84
|
+
if (!newH) return;
|
|
85
|
+
var iframe = findIframe(event.source);
|
|
86
|
+
if (iframe) iframe.style.height = Math.round(newH) + 'px';
|
|
87
|
+
}, false);
|
|
88
|
+
})();
|
|
89
|
+
</script>
|
|
90
|
+
{% endif %}
|
|
91
|
+
|
|
23
92
|
|
data/_includes/head.html
CHANGED
|
@@ -1,29 +1,13 @@
|
|
|
1
1
|
<!-- start custom head snippets, customize with your own _includes/head-custom.html file -->
|
|
2
|
-
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
3
|
-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-56515654-4"></script>
|
|
4
|
-
<script>
|
|
5
|
-
window.dataLayer = window.dataLayer || [];
|
|
6
|
-
function gtag(){dataLayer.push(arguments);}
|
|
7
|
-
gtag('js', new Date());
|
|
8
2
|
|
|
9
|
-
|
|
3
|
+
<script type="text/javascript">
|
|
4
|
+
(function(c,l,a,r,i,t,y){
|
|
5
|
+
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
|
|
6
|
+
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
|
|
7
|
+
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
|
|
8
|
+
})(window, document, "clarity", "script", "l0fyrfksvt");
|
|
10
9
|
</script>
|
|
11
10
|
|
|
12
|
-
<!-- Baidu Analytics -->
|
|
13
|
-
<script>
|
|
14
|
-
var _hmt = _hmt || [];
|
|
15
|
-
(function() {
|
|
16
|
-
var hm = document.createElement("script");
|
|
17
|
-
hm.src = "https://hm.baidu.com/hm.js?0662740a0d2368cc5cfaa508dd843362";
|
|
18
|
-
var s = document.getElementsByTagName("script")[0];
|
|
19
|
-
s.parentNode.insertBefore(hm, s);
|
|
20
|
-
})();
|
|
21
|
-
</script>
|
|
22
|
-
|
|
23
|
-
<!-- Setup Google Analytics -->
|
|
24
|
-
{% include google-analytics.html %}
|
|
25
|
-
{% include baidu-analysis.html %}
|
|
26
|
-
|
|
27
11
|
<!-- You can set your favicon here -->
|
|
28
12
|
<!-- link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}" -->
|
|
29
13
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{% comment %} Links always go to the personal homepage, also from project pages served under /<repo>/ {% endcomment %}
|
|
2
|
+
{% assign home = site.homepage_url | default: 'https://ni-chen.github.io' %}
|
|
3
|
+
{% assign brand = site.first_name | append: ' ' | append: site.last_name | strip %}
|
|
4
|
+
{% if brand == '' %}{% assign brand = 'Ni Chen, Ph.D.' %}{% elsif site.degree %}{% assign brand = brand | append: ', ' | append: site.degree %}{% endif %}
|
|
5
|
+
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
6
|
+
<div class="container-fluid">
|
|
7
|
+
<div class="navbar-header">
|
|
8
|
+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
|
|
9
|
+
data-target="#navbar-collapse-1" aria-expanded="false">
|
|
10
|
+
<span class="sr-only">Toggle navigation</span>
|
|
11
|
+
<span class="icon-bar"></span>
|
|
12
|
+
<span class="icon-bar"></span>
|
|
13
|
+
<span class="icon-bar"></span>
|
|
14
|
+
</button>
|
|
15
|
+
<a class="navbar-brand" href="{{ home }}/">{{ brand }}</a>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="collapse navbar-collapse" id="navbar-collapse-1">
|
|
18
|
+
<ul class="nav navbar-nav navbar-right">
|
|
19
|
+
<li><a href="{{ home }}/index">Home</a></li>
|
|
20
|
+
<li><a href="{{ home }}/bio">Bio</a></li>
|
|
21
|
+
<li><a href="{{ home }}/publications">Publications</a></li>
|
|
22
|
+
<li><a href="{{ home }}/research">Research</a></li>
|
|
23
|
+
<li><a href="{{ home }}/tools">Tools</a></li>
|
|
24
|
+
<li><a href="{{ home }}/posts">Posts</a></li>
|
|
25
|
+
</ul>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
data/_includes/mathjax.html
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
<script
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
|
|
13
|
-
<script type="text/x-mathjax-config"> MathJax.Hub.Config({ TeX: { equationNumbers: { autoNumber: "AMS" } } }); </script>
|
|
1
|
+
<script>
|
|
2
|
+
window.MathJax = {
|
|
3
|
+
tex: {
|
|
4
|
+
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
|
5
|
+
displayMath: [['$$', '$$'], ['\\[', '\\]']],
|
|
6
|
+
processEscapes: true,
|
|
7
|
+
tags: 'ams'
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
</script>
|
|
11
|
+
<script src="https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-mml-chtml.js" async></script>
|
data/_layouts/default.html
CHANGED
|
@@ -2,25 +2,42 @@
|
|
|
2
2
|
<html lang="{{ site.lang | default: "en-US" }}">
|
|
3
3
|
|
|
4
4
|
<head>
|
|
5
|
-
<meta charset=
|
|
5
|
+
<meta charset="utf-8">
|
|
6
6
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
7
|
-
<meta name="viewport" content="width=device-width,
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
|
+
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
|
|
8
9
|
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
|
9
10
|
|
|
10
11
|
{% include head.html %}
|
|
11
12
|
</head>
|
|
12
13
|
|
|
13
|
-
<body>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
<body text-align="justify">
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
{% include header.html %}
|
|
18
|
+
|
|
19
|
+
<div class="container-fluid">
|
|
20
|
+
<div class="row">
|
|
17
21
|
{{ content }}
|
|
18
|
-
|
|
22
|
+
|
|
23
|
+
<script type="text/javascript">
|
|
24
|
+
// revert publication list number
|
|
25
|
+
var olists = document.getElementsByTagName('ol');
|
|
26
|
+
for (var i = 0; i < olists.length; i++) {
|
|
27
|
+
// if (!olists[i].className.match(/\breversed\b/))
|
|
28
|
+
// continue;
|
|
29
|
+
var items = olists[i].getElementsByTagName('li');
|
|
30
|
+
for(var j = 0; j < items.length; j++) {
|
|
31
|
+
items[j].setAttribute("value", items.length - j);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
</script>
|
|
36
|
+
</div>
|
|
19
37
|
</div>
|
|
20
38
|
|
|
21
|
-
<!-- FOOTER -->
|
|
22
39
|
{% include footer.html %}
|
|
40
|
+
|
|
23
41
|
</body>
|
|
24
|
-
|
|
25
|
-
{% include mathjax.html %} <!--Need to be after the contents-->
|
|
42
|
+
|
|
26
43
|
</html>
|
data/_layouts/notebook.html
CHANGED
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="{{ site.lang | default: "en-US" }}">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset='utf-8'>
|
|
6
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
7
|
-
<meta name="viewport" content="width=device-width,maximum-scale=2">
|
|
8
|
-
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
|
9
|
-
|
|
10
|
-
{% include head.html %}
|
|
11
|
-
</head>
|
|
12
|
-
|
|
13
|
-
<body>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="{{ site.lang | default: "en-US" }}">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset='utf-8'>
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
7
|
+
<meta name="viewport" content="width=device-width,maximum-scale=2">
|
|
8
|
+
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
|
9
|
+
|
|
10
|
+
{% include head.html %}
|
|
11
|
+
</head>
|
|
12
|
+
|
|
13
|
+
<body>
|
|
14
|
+
{% include header.html %}
|
|
15
|
+
|
|
16
|
+
<!-- MAIN CONTENT -->
|
|
17
|
+
<div id="main_content_wrap" class="outer">
|
|
18
|
+
<section id="main_content" class="inner">
|
|
19
|
+
{{ content }}
|
|
20
|
+
</section>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<!-- FOOTER -->
|
|
24
|
+
{% include footer.html %}
|
|
25
|
+
</body>
|
|
26
|
+
|
|
27
|
+
{% include mathjax.html %} <!--Need to be after the contents-->
|
|
28
|
+
</html>
|
data/_layouts/project.html
CHANGED
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="{{ site.lang | default: "en-US" }}">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset='utf-8'>
|
|
6
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
7
|
-
<meta name="viewport" content="width=device-width,maximum-scale=2">
|
|
8
|
-
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
|
9
|
-
|
|
10
|
-
{% include head.html %}
|
|
11
|
-
</head>
|
|
12
|
-
|
|
13
|
-
<body>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="{{ site.lang | default: "en-US" }}">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset='utf-8'>
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
7
|
+
<meta name="viewport" content="width=device-width,maximum-scale=2">
|
|
8
|
+
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
|
9
|
+
|
|
10
|
+
{% include head.html %}
|
|
11
|
+
</head>
|
|
12
|
+
|
|
13
|
+
<body>
|
|
14
|
+
{% include header.html %}
|
|
15
|
+
|
|
16
|
+
<!-- MAIN CONTENT -->
|
|
17
|
+
<div id="main_content_wrap" class="outer">
|
|
18
|
+
<section id="main_content" class="inner">
|
|
19
|
+
{{ content }}
|
|
20
|
+
</section>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<!-- FOOTER -->
|
|
24
|
+
{% include footer.html %}
|
|
25
|
+
</body>
|
|
26
|
+
|
|
27
|
+
{% include mathjax.html %} <!--Need to be after the contents-->
|
|
28
|
+
</html>
|