jekyll-academic 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +21 -21
- data/README.md +108 -88
- data/_config.yml +46 -46
- data/_includes/footer.html +9 -9
- data/_includes/head.html +54 -54
- data/_includes/licenses.html +40 -40
- data/_includes/nav.html +20 -20
- data/_includes/socials.html +27 -27
- data/_layouts/blog.html +59 -59
- data/_layouts/default.html +12 -12
- data/_layouts/post.html +32 -32
- data/_layouts/projects.html +39 -39
- data/_layouts/tag.html +16 -16
- data/_sass/main.scss +225 -225
- data/assets/css/main.scss +4 -4
- metadata +6 -6
data/_includes/licenses.html
CHANGED
@@ -1,40 +1,40 @@
|
|
1
|
-
{% if site.jekyllacademic.contentlicense == "MIT" %}
|
2
|
-
<a href="https://opensource.org/licenses/MIT" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
3
|
-
MIT
|
4
|
-
</a>
|
5
|
-
{% endif %}
|
6
|
-
{% if site.jekyllacademic.contentlicense == "Commons Clause" %}
|
7
|
-
<a href="http://commonsclause.com" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
8
|
-
Commons Clause
|
9
|
-
</a>
|
10
|
-
{% endif %}
|
11
|
-
{% if site.jekyllacademic.contentlicense == "CC BY 4.0" %}
|
12
|
-
<a href="http://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
13
|
-
CC BY 4.0
|
14
|
-
</a>
|
15
|
-
{% endif %}
|
16
|
-
{% if site.jekyllacademic.contentlicense == "CC BY-NC 4.0" %}
|
17
|
-
<a href="http://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
18
|
-
CC BY-NC 4.0
|
19
|
-
</a>
|
20
|
-
{% endif %}
|
21
|
-
{% if site.jekyllacademic.contentlicense == "CC BY-ND 4.0" %}
|
22
|
-
<a href="http://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
23
|
-
CC BY-ND 4.0
|
24
|
-
</a>
|
25
|
-
{% endif %}
|
26
|
-
{% if site.jekyllacademic.contentlicense == "CC BY-NC-ND 4.0" %}
|
27
|
-
<a href="http://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
28
|
-
CC BY-NC-ND 4.0
|
29
|
-
</a>
|
30
|
-
{% endif %}
|
31
|
-
{% if site.jekyllacademic.contentlicense == "CC BY-NC-SA 4.0" %}
|
32
|
-
<a href="http://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
33
|
-
CC BY-NC-SA 4.0
|
34
|
-
</a>
|
35
|
-
{% endif %}
|
36
|
-
{% if site.jekyllacademic.contentlicense == "CC BY-SA 4.0" %}
|
37
|
-
<a href="http://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
38
|
-
CC BY-SA 4.0
|
39
|
-
</a>
|
40
|
-
{% endif %}
|
1
|
+
{% if site.jekyllacademic.contentlicense == "MIT" %}
|
2
|
+
<a href="https://opensource.org/licenses/MIT" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
3
|
+
MIT
|
4
|
+
</a>
|
5
|
+
{% endif %}
|
6
|
+
{% if site.jekyllacademic.contentlicense == "Commons Clause" %}
|
7
|
+
<a href="http://commonsclause.com" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
8
|
+
Commons Clause
|
9
|
+
</a>
|
10
|
+
{% endif %}
|
11
|
+
{% if site.jekyllacademic.contentlicense == "CC BY 4.0" %}
|
12
|
+
<a href="http://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
13
|
+
CC BY 4.0
|
14
|
+
</a>
|
15
|
+
{% endif %}
|
16
|
+
{% if site.jekyllacademic.contentlicense == "CC BY-NC 4.0" %}
|
17
|
+
<a href="http://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
18
|
+
CC BY-NC 4.0
|
19
|
+
</a>
|
20
|
+
{% endif %}
|
21
|
+
{% if site.jekyllacademic.contentlicense == "CC BY-ND 4.0" %}
|
22
|
+
<a href="http://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
23
|
+
CC BY-ND 4.0
|
24
|
+
</a>
|
25
|
+
{% endif %}
|
26
|
+
{% if site.jekyllacademic.contentlicense == "CC BY-NC-ND 4.0" %}
|
27
|
+
<a href="http://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
28
|
+
CC BY-NC-ND 4.0
|
29
|
+
</a>
|
30
|
+
{% endif %}
|
31
|
+
{% if site.jekyllacademic.contentlicense == "CC BY-NC-SA 4.0" %}
|
32
|
+
<a href="http://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
33
|
+
CC BY-NC-SA 4.0
|
34
|
+
</a>
|
35
|
+
{% endif %}
|
36
|
+
{% if site.jekyllacademic.contentlicense == "CC BY-SA 4.0" %}
|
37
|
+
<a href="http://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">
|
38
|
+
CC BY-SA 4.0
|
39
|
+
</a>
|
40
|
+
{% endif %}
|
data/_includes/nav.html
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
<nav>
|
2
|
-
<ul>
|
3
|
-
<li>
|
4
|
-
<a class="text-muted" href="/">
|
5
|
-
{% if site.navbar_title %}
|
6
|
-
{{ site.navbar_title | replace: ' ', " " | replace: "-", " "}}
|
7
|
-
{% else %}
|
8
|
-
{{ site.title | replace: ' ', " "}}
|
9
|
-
{% endif %}
|
10
|
-
</a>
|
11
|
-
</li>
|
12
|
-
<br />
|
13
|
-
{% for item in site.data.nav.links %}
|
14
|
-
<li>
|
15
|
-
<a href="{{ item.url }}" {% if item.url == page.url %} class="active" {% endif %}>
|
16
|
-
{{ item.title }}
|
17
|
-
</a>
|
18
|
-
</li>
|
19
|
-
{% endfor %}
|
20
|
-
</ul>
|
1
|
+
<nav>
|
2
|
+
<ul>
|
3
|
+
<li>
|
4
|
+
<a class="text-muted" href="/">
|
5
|
+
{% if site.navbar_title %}
|
6
|
+
{{ site.navbar_title | replace: ' ', " " | replace: "-", " "}}
|
7
|
+
{% else %}
|
8
|
+
{{ site.title | replace: ' ', " "}}
|
9
|
+
{% endif %}
|
10
|
+
</a>
|
11
|
+
</li>
|
12
|
+
<br />
|
13
|
+
{% for item in site.data.nav.links %}
|
14
|
+
<li>
|
15
|
+
<a href="{{ item.url }}" {% if item.url == page.url %} class="active" {% endif %}>
|
16
|
+
{{ item.title }}
|
17
|
+
</a>
|
18
|
+
</li>
|
19
|
+
{% endfor %}
|
20
|
+
</ul>
|
21
21
|
</nav>
|
data/_includes/socials.html
CHANGED
@@ -1,27 +1,27 @@
|
|
1
|
-
{% assign socials = site.jekyllacademic.socials %}
|
2
|
-
|
3
|
-
{% if socials.twitter %}
|
4
|
-
<a href="https://twitter.com/{{ socials.twitter | cgi_escape | escape }}" target="_blank" style="color: #1da1f2">
|
5
|
-
<span class="bi bi-twitter"></span>
|
6
|
-
</a>
|
7
|
-
{% endif %}
|
8
|
-
{% if socials.github %}
|
9
|
-
<a href="https://github.com/{{ socials.github }}" target="_blank" style="color: #000;">
|
10
|
-
<span class="bi bi-github"></span>
|
11
|
-
</a>
|
12
|
-
{% endif %}
|
13
|
-
{% if socials.linkedin %}
|
14
|
-
<a href="https://www.linkedin.com/in/{{ socials.linkedin | cgi_escape | escape }}" target="_blank" style="color: #0077b5;">
|
15
|
-
<span class="bi bi-linkedin"></span>
|
16
|
-
</a>
|
17
|
-
{% endif %}
|
18
|
-
{% if site.author.email %}
|
19
|
-
<a href="mailto:{{ site.email }}" target="_blank" style="color: #666">
|
20
|
-
<span class="bi bi-envelope-open-fill"></span>
|
21
|
-
</a>
|
22
|
-
{% endif %}
|
23
|
-
{% if socials.keybase %}
|
24
|
-
<a href="https://keybase.io/{{ socials.keybase | cgi_escape | escape}}" target="_blank" style="color: #FFA500">
|
25
|
-
<span class="fa fa-keybase"></span>
|
26
|
-
</a>
|
27
|
-
{% endif %}
|
1
|
+
{% assign socials = site.jekyllacademic.socials %}
|
2
|
+
|
3
|
+
{% if socials.twitter %}
|
4
|
+
<a href="https://twitter.com/{{ socials.twitter | cgi_escape | escape }}" target="_blank" style="color: #1da1f2">
|
5
|
+
<span class="bi bi-twitter"></span>
|
6
|
+
</a>
|
7
|
+
{% endif %}
|
8
|
+
{% if socials.github %}
|
9
|
+
<a href="https://github.com/{{ socials.github }}" target="_blank" style="color: #000;">
|
10
|
+
<span class="bi bi-github"></span>
|
11
|
+
</a>
|
12
|
+
{% endif %}
|
13
|
+
{% if socials.linkedin %}
|
14
|
+
<a href="https://www.linkedin.com/in/{{ socials.linkedin | cgi_escape | escape }}" target="_blank" style="color: #0077b5;">
|
15
|
+
<span class="bi bi-linkedin"></span>
|
16
|
+
</a>
|
17
|
+
{% endif %}
|
18
|
+
{% if site.author.email %}
|
19
|
+
<a href="mailto:{{ site.email }}" target="_blank" style="color: #666">
|
20
|
+
<span class="bi bi-envelope-open-fill"></span>
|
21
|
+
</a>
|
22
|
+
{% endif %}
|
23
|
+
{% if socials.keybase %}
|
24
|
+
<a href="https://keybase.io/{{ socials.keybase | cgi_escape | escape}}" target="_blank" style="color: #FFA500">
|
25
|
+
<span class="fa fa-keybase"></span>
|
26
|
+
</a>
|
27
|
+
{% endif %}
|
data/_layouts/blog.html
CHANGED
@@ -1,60 +1,60 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
<style>
|
5
|
-
#search-container {
|
6
|
-
max-width: 100%;
|
7
|
-
}
|
8
|
-
|
9
|
-
input[type=text] {
|
10
|
-
font-size: normal;
|
11
|
-
outline: none;
|
12
|
-
padding: 0.7rem;
|
13
|
-
width: 100%;
|
14
|
-
-webkit-appearance: none;
|
15
|
-
font-family: inherit;
|
16
|
-
font-size: 100%;
|
17
|
-
border: none;
|
18
|
-
border-bottom: 1px solid gray;
|
19
|
-
}
|
20
|
-
#results-container {
|
21
|
-
margin: 1rem 0;
|
22
|
-
background-color: #f9f9f9;
|
23
|
-
}
|
24
|
-
</style>
|
25
|
-
<section class="posts">
|
26
|
-
<h1 style="color: #cc0000">Example Blog</h1>
|
27
|
-
<div id="search-container">
|
28
|
-
<input type="text" id="search-input" placeholder="Search for a tag or post...">
|
29
|
-
<ol id="results-container"></ol>
|
30
|
-
</div>
|
31
|
-
<h2 style="color: #cc0000">Feed</h2>
|
32
|
-
<a href="{{ site.baseurl }}/atom.xml" class="rss">RSS <span class="fa fa-rss" style="color: #ee802f"></span></a>
|
33
|
-
<a href="{{ site.baseurl }}/feed.json" class="rss">JSON <span class="fa fa-rss" style="color: #ee802f"></span></a>
|
34
|
-
<h2 style="color: #cc0000">Tags</h2>
|
35
|
-
{% assign tags = site.tags | sort %}
|
36
|
-
<p>
|
37
|
-
{% for tag in tags %}
|
38
|
-
<a href="/tag/{{ tag | first | replace: ' ', '%20'}}">{{ tag[0] | replace:'-', ' ' }} ({{ tag | last | size }}){% unless forloop.last %}, {% endunless %}</a>
|
39
|
-
{% endfor %}
|
40
|
-
</p>
|
41
|
-
<h2 style="color: #cc0000">Posts</h2>
|
42
|
-
<ul>
|
43
|
-
{% for post in site.posts %}
|
44
|
-
<li><a style="color: black;" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%m-%d-%Y" }}</time></li>
|
45
|
-
{% endfor %}
|
46
|
-
</ul>
|
47
|
-
</section>
|
48
|
-
<script src="/search.js" type="text/javascript"></script>
|
49
|
-
<script type="text/javascript">
|
50
|
-
SimpleJekyllSearch({
|
51
|
-
searchInput: document.getElementById('search-input'),
|
52
|
-
resultsContainer: document.getElementById('results-container'),
|
53
|
-
json: '/search.json',
|
54
|
-
searchResultTemplate: '<li><a href="{url}" style="color: #000;" title="{desc}">{title}</a></li>',
|
55
|
-
noResultsText: 'No results found',
|
56
|
-
limit: 10,
|
57
|
-
fuzzy: false,
|
58
|
-
exclude: ['Welcome']
|
59
|
-
})
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<style>
|
5
|
+
#search-container {
|
6
|
+
max-width: 100%;
|
7
|
+
}
|
8
|
+
|
9
|
+
input[type=text] {
|
10
|
+
font-size: normal;
|
11
|
+
outline: none;
|
12
|
+
padding: 0.7rem;
|
13
|
+
width: 100%;
|
14
|
+
-webkit-appearance: none;
|
15
|
+
font-family: inherit;
|
16
|
+
font-size: 100%;
|
17
|
+
border: none;
|
18
|
+
border-bottom: 1px solid gray;
|
19
|
+
}
|
20
|
+
#results-container {
|
21
|
+
margin: 1rem 0;
|
22
|
+
background-color: #f9f9f9;
|
23
|
+
}
|
24
|
+
</style>
|
25
|
+
<section class="posts">
|
26
|
+
<h1 style="color: #cc0000">Example Blog</h1>
|
27
|
+
<div id="search-container">
|
28
|
+
<input type="text" id="search-input" placeholder="Search for a tag or post...">
|
29
|
+
<ol id="results-container"></ol>
|
30
|
+
</div>
|
31
|
+
<h2 style="color: #cc0000">Feed</h2>
|
32
|
+
<a href="{{ site.baseurl }}/atom.xml" class="rss">RSS <span class="fa fa-rss" style="color: #ee802f"></span></a>
|
33
|
+
<a href="{{ site.baseurl }}/feed.json" class="rss">JSON <span class="fa fa-rss" style="color: #ee802f"></span></a>
|
34
|
+
<h2 style="color: #cc0000">Tags</h2>
|
35
|
+
{% assign tags = site.tags | sort %}
|
36
|
+
<p>
|
37
|
+
{% for tag in tags %}
|
38
|
+
<a href="/tag/{{ tag | first | replace: ' ', '%20'}}">{{ tag[0] | replace:'-', ' ' }} ({{ tag | last | size }}){% unless forloop.last %}, {% endunless %}</a>
|
39
|
+
{% endfor %}
|
40
|
+
</p>
|
41
|
+
<h2 style="color: #cc0000">Posts</h2>
|
42
|
+
<ul>
|
43
|
+
{% for post in site.posts %}
|
44
|
+
<li><a style="color: black;" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%m-%d-%Y" }}</time></li>
|
45
|
+
{% endfor %}
|
46
|
+
</ul>
|
47
|
+
</section>
|
48
|
+
<script src="/search.js" type="text/javascript"></script>
|
49
|
+
<script type="text/javascript">
|
50
|
+
SimpleJekyllSearch({
|
51
|
+
searchInput: document.getElementById('search-input'),
|
52
|
+
resultsContainer: document.getElementById('results-container'),
|
53
|
+
json: '/search.json',
|
54
|
+
searchResultTemplate: '<li><a href="{url}" style="color: #000;" title="{desc}">{title}</a></li>',
|
55
|
+
noResultsText: 'No results found',
|
56
|
+
limit: 10,
|
57
|
+
fuzzy: false,
|
58
|
+
exclude: ['Welcome']
|
59
|
+
})
|
60
60
|
</script>
|
data/_layouts/default.html
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en" name="top">
|
3
|
-
{% include head.html %}
|
4
|
-
<body>
|
5
|
-
<main>
|
6
|
-
<header>{% include nav.html %}</header>
|
7
|
-
<section>
|
8
|
-
{{ content }}
|
9
|
-
</section>
|
10
|
-
</main>
|
11
|
-
{% include footer.html %}
|
12
|
-
</body>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en" name="top">
|
3
|
+
{% include head.html %}
|
4
|
+
<body>
|
5
|
+
<main>
|
6
|
+
<header>{% include nav.html %}</header>
|
7
|
+
<section>
|
8
|
+
{{ content }}
|
9
|
+
</section>
|
10
|
+
</main>
|
11
|
+
{% include footer.html %}
|
12
|
+
</body>
|
13
13
|
</html>
|
data/_layouts/post.html
CHANGED
@@ -1,33 +1,33 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
<div>
|
5
|
-
<h1 style="color: #cc0000;">{{ page.title }}</h1>
|
6
|
-
<span>
|
7
|
-
Tags:
|
8
|
-
{% for tag in page.tags %}
|
9
|
-
<a href="/tag/{{ tag }}">{{ tag }}</a>{% unless forloop.last %}, {% endunless %}
|
10
|
-
{% endfor %}
|
11
|
-
</span>
|
12
|
-
<br />
|
13
|
-
<br />
|
14
|
-
{{ content }}
|
15
|
-
<hr>
|
16
|
-
<a href="#top">Back to top</a>
|
17
|
-
{% if page.comments %}
|
18
|
-
<div id="disqus_thread"></div>
|
19
|
-
<script>
|
20
|
-
var disqus_config = function () {
|
21
|
-
this.page.url = '{{ page.url | absolute_url }}'; // Replace PAGE_URL with your page's canonical URL variable
|
22
|
-
this.page.identifier = '{{ page.url | absolute_url }}'; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
23
|
-
};
|
24
|
-
(function() {
|
25
|
-
var d = document, s = d.createElement('script');
|
26
|
-
s.src = 'https://{{ site.jekyllacademic.disqusname }}.disqus.com/embed.js';
|
27
|
-
s.setAttribute('data-timestamp', +new Date());
|
28
|
-
(d.head || d.body).appendChild(s);
|
29
|
-
})();
|
30
|
-
</script>
|
31
|
-
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
32
|
-
{% endif %}
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<div>
|
5
|
+
<h1 style="color: #cc0000;">{{ page.title }}</h1>
|
6
|
+
<span>
|
7
|
+
Tags:
|
8
|
+
{% for tag in page.tags %}
|
9
|
+
<a href="/tag/{{ tag }}">{{ tag }}</a>{% unless forloop.last %}, {% endunless %}
|
10
|
+
{% endfor %}
|
11
|
+
</span>
|
12
|
+
<br />
|
13
|
+
<br />
|
14
|
+
{{ content }}
|
15
|
+
<hr>
|
16
|
+
<a href="#top">Back to top</a>
|
17
|
+
{% if page.comments %}
|
18
|
+
<div id="disqus_thread"></div>
|
19
|
+
<script>
|
20
|
+
var disqus_config = function () {
|
21
|
+
this.page.url = '{{ page.url | absolute_url }}'; // Replace PAGE_URL with your page's canonical URL variable
|
22
|
+
this.page.identifier = '{{ page.url | absolute_url }}'; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
23
|
+
};
|
24
|
+
(function() {
|
25
|
+
var d = document, s = d.createElement('script');
|
26
|
+
s.src = 'https://{{ site.jekyllacademic.disqusname }}.disqus.com/embed.js';
|
27
|
+
s.setAttribute('data-timestamp', +new Date());
|
28
|
+
(d.head || d.body).appendChild(s);
|
29
|
+
})();
|
30
|
+
</script>
|
31
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
32
|
+
{% endif %}
|
33
33
|
</div>
|
data/_layouts/projects.html
CHANGED
@@ -1,39 +1,39 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
<h1 style="color: #cc0000;">Example projects</h1>
|
5
|
-
{% assign ordering = site.projects | sort: "order" %}
|
6
|
-
{% for project in ordering %}
|
7
|
-
{% if project.pinned %}
|
8
|
-
<div class="row py-2">
|
9
|
-
<div class="col">
|
10
|
-
<div class="card border border-4">
|
11
|
-
{% if project.banner_image %}
|
12
|
-
<div class="p-3">
|
13
|
-
<img class="card-img-top rounded" src="{{ project.banner_image }}" alt="Banner image for project">
|
14
|
-
</div>
|
15
|
-
{% endif %}
|
16
|
-
<div class="card-body">
|
17
|
-
<h1 class="card-title pb-2" style="color: #333; font-size: 120%;">{{ project.title }}</h1>
|
18
|
-
<h6 class="text-muted mb-2 card-subtitle" style="font-size: 110%">{{ project.stack }}</h6>
|
19
|
-
<p class="card-text">{{ project.snippet }}</p>
|
20
|
-
<span>{% if project.githublink %}<a href="{{ project.githublink }}" style="color: #000;" target="_blank"><span class="fa fa-github fa-lg"></span></a>{% endif %}</span><a href="{{ site.baseurl }}{{ project.url }}"> Read more</a>
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
{% else %}
|
26
|
-
<div class="row py-2">
|
27
|
-
<div class="col">
|
28
|
-
<div class="card">
|
29
|
-
<div class="card-body">
|
30
|
-
<h1 class="card-title pb-2" style="color: #333; font-size: 120%;">{{ project.title }}</h1>
|
31
|
-
<h6 class="text-muted mb-2 card-subtitle" style="font-size: 110%">{{ project.stack }}</h6>
|
32
|
-
<p class="card-text">{{ project.snippet }}</p>
|
33
|
-
<span>{% if project.githublink %}<a href="{{ project.githublink }}" style="color: #000;" target="_blank"><span class="fa fa-github fa-lg"></span></a>{% endif %}</span><a href="{{ site.baseurl }}{{ project.url }}"> Read more</a>
|
34
|
-
</div>
|
35
|
-
</div>
|
36
|
-
</div>
|
37
|
-
</div>
|
38
|
-
{% endif %}
|
39
|
-
{% endfor %}
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<h1 style="color: #cc0000;">Example projects</h1>
|
5
|
+
{% assign ordering = site.projects | sort: "order" %}
|
6
|
+
{% for project in ordering %}
|
7
|
+
{% if project.pinned %}
|
8
|
+
<div class="row py-2">
|
9
|
+
<div class="col">
|
10
|
+
<div class="card border border-4">
|
11
|
+
{% if project.banner_image %}
|
12
|
+
<div class="p-3">
|
13
|
+
<img class="card-img-top rounded" src="{{ project.banner_image }}" alt="Banner image for project">
|
14
|
+
</div>
|
15
|
+
{% endif %}
|
16
|
+
<div class="card-body">
|
17
|
+
<h1 class="card-title pb-2" style="color: #333; font-size: 120%;">{{ project.title }}</h1>
|
18
|
+
<h6 class="text-muted mb-2 card-subtitle" style="font-size: 110%">{{ project.stack }}</h6>
|
19
|
+
<p class="card-text">{{ project.snippet }}</p>
|
20
|
+
<span>{% if project.githublink %}<a href="{{ project.githublink }}" style="color: #000;" target="_blank"><span class="fa fa-github fa-lg"></span></a>{% endif %}</span><a href="{{ site.baseurl }}{{ project.url }}"> Read more</a>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
{% else %}
|
26
|
+
<div class="row py-2">
|
27
|
+
<div class="col">
|
28
|
+
<div class="card">
|
29
|
+
<div class="card-body">
|
30
|
+
<h1 class="card-title pb-2" style="color: #333; font-size: 120%;">{{ project.title }}</h1>
|
31
|
+
<h6 class="text-muted mb-2 card-subtitle" style="font-size: 110%">{{ project.stack }}</h6>
|
32
|
+
<p class="card-text">{{ project.snippet }}</p>
|
33
|
+
<span>{% if project.githublink %}<a href="{{ project.githublink }}" style="color: #000;" target="_blank"><span class="fa fa-github fa-lg"></span></a>{% endif %}</span><a href="{{ site.baseurl }}{{ project.url }}"> Read more</a>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
{% endif %}
|
39
|
+
{% endfor %}
|