Skip to content

Commit b60f02b

Browse files
committed
Finally fixing the feed and seo integration
1 parent 30139f3 commit b60f02b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_layouts/default.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828

2929
<title>{{ page-title }}</title>
3030

31-
{% if site.gems contains "jekyll-seo-tag" %}
31+
{% if site.plugins contains "jekyll-seo-tag" %}
3232
<!-- jekyll-seo-tag -->
3333
{% else %}
3434
{% include social-metatags.html %}
3535
{% endif %}
3636

3737
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
3838

39-
{% if site.gems contains "jekyll-feed" %}
39+
{% if site.plugins contains "jekyll-feed" %}
4040
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | absolute_url }}">
4141
{% endif %}
4242

@@ -112,7 +112,7 @@ <h2 class="project-date">
112112
</span>
113113

114114
<!-- RSS icon -->
115-
{% if site.gems contains "jekyll-feed" %}
115+
{% if site.plugins contains "jekyll-feed" %}
116116
<span class="my-span-icon">
117117
<a href="{{ "/feed.xml" | absolute_url }}" aria-label="RSS feed" title="{{ site.github.owner_name }}'s RSS feed">
118118
<svg class="my-svg-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-3.374 17c-.897 0-1.626-.727-1.626-1.624s.729-1.624 1.626-1.624 1.626.727 1.626 1.624-.729 1.624-1.626 1.624zm3.885 0c-.03-3.022-2.485-5.474-5.511-5.504v-2.406c4.361.03 7.889 3.555 7.92 7.91h-2.409zm4.081 0c-.016-5.297-4.303-9.571-9.592-9.594v-2.406c6.623.023 11.985 5.384 12 12h-2.408z"/></svg>

0 commit comments

Comments
 (0)