Skip to content

Commit bbbb139

Browse files
authored
Made some small changes to code (alshedivat#1558)
Signed-off-by: George Araujo <george.gcac@gmail.com>
1 parent 42ad10a commit bbbb139

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ group :jekyll_plugins do
66
gem 'jekyll-diagrams'
77
gem 'jekyll-email-protect'
88
gem 'jekyll-feed'
9+
gem 'jekyll-get-json'
910
gem 'jekyll-imagemagick'
1011
gem 'jekyll-jupyter-notebook'
1112
gem 'jekyll-link-attributes'
@@ -15,7 +16,6 @@ group :jekyll_plugins do
1516
gem 'jekyll-sitemap'
1617
gem 'jekyll-toc'
1718
gem 'jekyll-twitter-plugin'
18-
gem 'jekyll-get-json'
1919
gem 'jemoji'
2020
gem 'mini_racer'
2121
gem 'unicode_utils'

_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ plugins:
221221
- jekyll-diagrams
222222
- jekyll-email-protect
223223
- jekyll-feed
224+
- jekyll-get-json
224225
- jekyll-imagemagick
225226
- jekyll-jupyter-notebook
226227
- jekyll-link-attributes
@@ -230,7 +231,6 @@ plugins:
230231
- jekyll-sitemap
231232
- jekyll-toc
232233
- jekyll-twitter-plugin
233-
- jekyll-get-json
234234
- jemoji
235235

236236
# Sitemap settings
@@ -411,7 +411,7 @@ medium_zoom:
411411

412412
jekyll_get_json:
413413
- data: resume
414-
json: "https://alshedivat.github.io/al-folio/assets/json/resume.json"
414+
json: assets/json/resume.json # it can also be an url
415415
jsonresume:
416416
- basics
417417
- work

_layouts/cv.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<header class="post-header">
99
<h1 class="post-title">{{ page.title }} {% if page.cv_pdf %}<a href="{{ page.cv_pdf | prepend: 'assets/pdf/' | relative_url}}" target="_blank" rel="noopener noreferrer" class="float-right"><i class="fas fa-file-pdf"></i></a>{% endif %}</h1>
10-
{% if page.description %}<p class="post-description">{{ page.description }}</p>{% endif %}
10+
{% if page.description %}<p class="post-description">{{ page.description }}</p>{% endif %}
1111
</header>
1212

1313
<h4>Table of contents</h4>
@@ -31,9 +31,9 @@ <h3 class="card-title font-weight-medium">{{ entry.title }}</h3>
3131
{% elsif entry.type == "nested_list" %}
3232
{% include cv/nested_list.html %}
3333
{% elsif entry.type == "time_table" %}
34-
{% include cv/time_table.html %}
34+
{% include cv/time_table.html %}
3535
{% elsif entry.type == "list_groups" %}
36-
{% include cv/list_groups.html %}
36+
{% include cv/list_groups.html %}
3737
{% else %}
3838
{{ entry.contents }}
3939
{% endif %}
@@ -106,7 +106,7 @@ <h3 class="card-title font-weight-medium">{{ data[0] | capitalize }}</h3>
106106
{% when "certificates" %}
107107
{% include resume/certificates.html %}
108108
{% else %}
109-
109+
110110
{% endcase %}
111111
</div>
112112
</div>

0 commit comments

Comments
 (0)