Skip to content

Commit

Permalink
Made some small changes to code (alshedivat#1558)
Browse files Browse the repository at this point in the history
Signed-off-by: George Araujo <george.gcac@gmail.com>
  • Loading branch information
george-gca authored Jul 13, 2023
1 parent 248625c commit ded3888
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ group :jekyll_plugins do
gem 'jekyll-diagrams'
gem 'jekyll-email-protect'
gem 'jekyll-feed'
gem 'jekyll-get-json'
gem 'jekyll-imagemagick'
gem 'jekyll-jupyter-notebook'
gem 'jekyll-link-attributes'
Expand All @@ -15,7 +16,6 @@ group :jekyll_plugins do
gem 'jekyll-sitemap'
gem 'jekyll-toc'
gem 'jekyll-twitter-plugin'
gem 'jekyll-get-json'
gem 'jemoji'
gem 'mini_racer'
gem 'unicode_utils'
Expand Down
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ plugins:
- jekyll-diagrams
- jekyll-email-protect
- jekyll-feed
- jekyll-get-json
- jekyll-imagemagick
- jekyll-jupyter-notebook
- jekyll-link-attributes
Expand All @@ -230,7 +231,6 @@ plugins:
- jekyll-sitemap
- jekyll-toc
- jekyll-twitter-plugin
- jekyll-get-json
- jemoji

# Sitemap settings
Expand Down Expand Up @@ -411,7 +411,7 @@ medium_zoom:

jekyll_get_json:
- data: resume
json: "https://alshedivat.github.io/al-folio/assets/json/resume.json"
json: assets/json/resume.json # it can also be an url
jsonresume:
- basics
- work
Expand Down
8 changes: 4 additions & 4 deletions _layouts/cv.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<header class="post-header">
<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>
{% if page.description %}<p class="post-description">{{ page.description }}</p>{% endif %}
{% if page.description %}<p class="post-description">{{ page.description }}</p>{% endif %}
</header>

<h4>Table of contents</h4>
Expand All @@ -31,9 +31,9 @@ <h3 class="card-title font-weight-medium">{{ entry.title }}</h3>
{% elsif entry.type == "nested_list" %}
{% include cv/nested_list.html %}
{% elsif entry.type == "time_table" %}
{% include cv/time_table.html %}
{% include cv/time_table.html %}
{% elsif entry.type == "list_groups" %}
{% include cv/list_groups.html %}
{% include cv/list_groups.html %}
{% else %}
{{ entry.contents }}
{% endif %}
Expand Down Expand Up @@ -106,7 +106,7 @@ <h3 class="card-title font-weight-medium">{{ data[0] | capitalize }}</h3>
{% when "certificates" %}
{% include resume/certificates.html %}
{% else %}

{% endcase %}
</div>
</div>
Expand Down

0 comments on commit ded3888

Please sign in to comment.