jekyll-academic 1.0.1 → 1.1.0
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/README.md +11 -0
- data/_layouts/projects.html +10 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c998f28430563acadf9ea94505f6f2335220bcdb27f568d2401c003c5794d981
|
|
4
|
+
data.tar.gz: f564484a88c817208c78fb0e6f54fdfd9a2227c61076705a9ec397a57dd7b4be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 96831fbab39096f183e549c2703038bd8838f380cbe83d8569464b1fb503076a98b1adfa0e17c75e29c8ff608945fc595fb925e6341dcac6e85b3f1a3155e438
|
|
7
|
+
data.tar.gz: b205cd3c68d8fdc95d264f4b78592affe50b1465fb22e57d4263b155b2f86426ade6290eae73af2165cf51a173def14e593d88a179f387882f4f6dcaaafc9410
|
data/README.md
CHANGED
|
@@ -21,6 +21,17 @@ Jekyll Academic is a lightweight theme for any academic usecase. Perfect for por
|
|
|
21
21
|
- [License](#license)
|
|
22
22
|
|
|
23
23
|
## Installation
|
|
24
|
+
|
|
25
|
+
### Quick install
|
|
26
|
+
|
|
27
|
+
Download this [file](https://downgit.github.io/#/home?url=https://github.com/yak-fumblepack/jekyll-academic/blob/dev/scripts/bundle-install.sh) and run it.
|
|
28
|
+
|
|
29
|
+
```shell
|
|
30
|
+
$ ./bundle-install.sh
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Longer installation process
|
|
34
|
+
|
|
24
35
|
Add this to your Jekyll site's Gemfile:
|
|
25
36
|
|
|
26
37
|
```ruby
|
data/_layouts/projects.html
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: default
|
|
3
3
|
---
|
|
4
|
-
<h1 style="color: #cc0000;">Example
|
|
4
|
+
<h1 style="color: #cc0000;">Example projects</h1>
|
|
5
5
|
{% assign ordering = site.projects | sort: "order" %}
|
|
6
6
|
{% for project in ordering %}
|
|
7
7
|
{% if project.pinned %}
|
|
8
8
|
<div class="row py-2">
|
|
9
9
|
<div class="col">
|
|
10
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 %}
|
|
11
16
|
<div class="card-body">
|
|
12
|
-
<h1 class="card-title pb-2" style="color: #333; font-size: 120
|
|
17
|
+
<h1 class="card-title pb-2" style="color: #333; font-size: 120%;">{{ project.title }}</h1>
|
|
13
18
|
<h6 class="text-muted mb-2 card-subtitle" style="font-size: 110%">{{ project.stack }}</h6>
|
|
14
19
|
<p class="card-text">{{ project.snippet }}</p>
|
|
15
|
-
<a href="{{ site.baseurl }}{{ project.url }}"
|
|
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>
|
|
16
21
|
</div>
|
|
17
22
|
</div>
|
|
18
23
|
</div>
|
|
@@ -22,10 +27,10 @@ layout: default
|
|
|
22
27
|
<div class="col">
|
|
23
28
|
<div class="card">
|
|
24
29
|
<div class="card-body">
|
|
25
|
-
<h1 class="card-title pb-2" style="color: #333; font-size: 120
|
|
30
|
+
<h1 class="card-title pb-2" style="color: #333; font-size: 120%;">{{ project.title }}</h1>
|
|
26
31
|
<h6 class="text-muted mb-2 card-subtitle" style="font-size: 110%">{{ project.stack }}</h6>
|
|
27
32
|
<p class="card-text">{{ project.snippet }}</p>
|
|
28
|
-
<a href="{{ site.baseurl }}{{ project.url }}"
|
|
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>
|
|
29
34
|
</div>
|
|
30
35
|
</div>
|
|
31
36
|
</div>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-academic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Liang
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-07-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|