Skip to content

Commit f6dfa07

Browse files
author
Hash Array
committed
Only use plugin meta tags if the plugin is enabled
1 parent 089a1d3 commit f6dfa07

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

_layouts/default.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,13 @@
2828
{% include google_adsense.html %}
2929
{% endif %}
3030

31-
{% feed_meta %}
32-
{% seo %}
31+
{% if site.gems contains "jekyll-feed" %}
32+
{% feed_meta %}
33+
{% endif %}
34+
35+
{% if site.gems contains "jekyll-seo-tag" %}
36+
{% seo %}
37+
{% endif %}
3338
</head>
3439

3540
<body class="container">

0 commit comments

Comments
 (0)