1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-26 11:16:12 +04:00

canonical urls

This commit is contained in:
codecalm
2023-02-01 00:22:13 +01:00
parent 315629d974
commit 497f7d747a
2 changed files with 2 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
<meta name="canonical" content="{{ site.preview-url }}{{ page.url | replace: 'index.html', '' }}">
<meta name="twitter:image:src" content="{% if jekyll.environment != 'development' %}{{ site.preview-url }}{% endif %}/static/og.png">
<meta name="twitter:site" content="@tabler_ui">
<meta name="twitter:card" content="summary">

View File

@@ -9,7 +9,7 @@
<title>{% if title %}{{ title }} - {% endif %}{% if site.title %}{{ site.title }} - {% endif %}{{ site.description }}</title>
{% if jekyll.environment == 'preview' %}
{% if jekyll.environment != 'preview' %}
{% include layout/analytics.html %}
<meta name="msapplication-TileColor" content="{{ site.data.colors.blue }}"/>