Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
Renaming the interest list to interests
Browse files Browse the repository at this point in the history
  • Loading branch information
Boussaid, Ouadie committed Mar 8, 2019
1 parent d95c9d9 commit 04e92d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ social_media:
# twitter: your_username
# youtube: your_username

interest:
interests:
limit: 6
topics:
- name: CSS
Expand Down
2 changes: 1 addition & 1 deletion _includes/interests.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h2 {% if site.style == 'dark' %}class="text-white"{% endif %}>My Interests</h2>
<p class="f4 mb-4 {% if site.style == 'dark' %}text-white{% else %}text-gray{% endif %}">Topics that I want to learn more about.</p>
<div class="d-flex flex-wrap gutter-condensed mb-4">
{% for topic in site.interest.topics limit: site.interest.limit %}
{% for topic in site.interests.topics limit: site.interests.limit %}
<div class="col-6 col-md-12 col-lg-6 col-xl-4 mb-3">
{% include topic-card.html %}
</div>
Expand Down
4 changes: 2 additions & 2 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{% include projects.html %}
</div>

{% if site.interest.topics %}
{% if site.interests.topics %}
<div class="my-6">
{% include interests.html %}
</div>
Expand Down Expand Up @@ -40,7 +40,7 @@

{% include projects.html %}

{% if site.interest.topics %}
{% if site.interests.topics %}
{% include interests.html %}
{% endif %}

Expand Down

0 comments on commit 04e92d8

Please sign in to comment.