Skip to content

Commit

Permalink
added seo
Browse files Browse the repository at this point in the history
  • Loading branch information
tumble1999 committed Jul 12, 2023
1 parent 00a8c8d commit 8dd11ff
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,11 @@ exclude:


plugins:
- jekyll-feed
- jekyll-redirect-from
- jekyll-redirect-to
- jekyll-seo-tag
- jekyll-sitemap
- jekyll-avatar
- jemoji
- jekyll-mention
7 changes: 7 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
{% for css in page.css %}
<link rel="stylesheet" href="{{site.url}}/assets/css/{{css}}">
{% endfor %}

{% capture seo %}{% seo %}{% endcapture %}
{% if page.image and page.image != site.logo %}
{{seo | replace: "summary", "summary_large_image"}}
{% else %}
{{seo}}
{% endif %}
</head>

<body>
Expand Down

0 comments on commit 8dd11ff

Please sign in to comment.