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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -0
  3. data/_layouts/projects.html +10 -5
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 35a6d6a43b77cb6d63c3a4a7f524a4382566bbfa2df352e8f461b4b427f3e089
4
- data.tar.gz: ac7d0f4a299c78b53917f9b70771054946eda1b0f4f0605bc987163d6cafb703
3
+ metadata.gz: c998f28430563acadf9ea94505f6f2335220bcdb27f568d2401c003c5794d981
4
+ data.tar.gz: f564484a88c817208c78fb0e6f54fdfd9a2227c61076705a9ec397a57dd7b4be
5
5
  SHA512:
6
- metadata.gz: e93c837f1d41745b9dfa6645b24290fd5759091dc903cd2e4d43c2c9c7417a01aa1a8c34a40875fae2b53fcab40eb97369fb69db689736ce7a1c5285a789ae1b
7
- data.tar.gz: ac1631a38db92a88b15e7f14461f6649f449fe9355420f9c5964b94e741eddbf0cb62558c3206003d04a8ea4e4ba09953b2b484803d0a15e4208ec35a2ec263e
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
@@ -1,18 +1,23 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <h1 style="color: #cc0000;">Example Projects</h1>
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%">{{ project.title }}</h1>
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 }}">Read more</a>
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 }}">&nbsp;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%">{{ project.title }}</h1>
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 }}">Read more</a>
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 }}">&nbsp;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.1
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-05-02 00:00:00.000000000 Z
11
+ date: 2021-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll