Skip to content

Commit

Permalink
Added some even relevant seo tags to the page head (#84)
Browse files Browse the repository at this point in the history
- Added twitter user name to get twitter tags included as well
Signed-off-by: Hofi <[email protected]>
  • Loading branch information
mrgarris0n authored Jun 6, 2024
2 parents 7cbad9e + dea9059 commit 657d3da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ kramdown:
atom_feed:
hide: true

twitter:
username: sngOSE

# https://jch.penibelst.de/
compress_html:
profile: true
Expand Down
4 changes: 4 additions & 0 deletions _includes/seo.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@
{%- assign og_type = "website" -%}
{%- endif -%}

<meta name="robots" content="index, follow">

<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
<meta itemprop="name" content="{{ seo_title | default: site.title }}">
<meta itemprop="description" content="{{ seo_description }}">
<meta name="description" content="{{ seo_description }}">

{% if author.name %}
Expand Down

0 comments on commit 657d3da

Please sign in to comment.