Skip to content

Commit

Permalink
tweak og tags
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Apr 24, 2022
1 parent 5a07915 commit ebbff10
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions News/themes/stardust/layouts/default.twig
Expand Up @@ -6,8 +6,18 @@
<meta http-equiv="imagetoolbar" content="no" />
<![endif]-->

{% if (post.title) %}<title>$post.title | KXStudio News</title>{% else %}<title>KXStudio News</title>{% endif %}
{% if (post.title) %}<meta name="description" content="$post.title | KXStudio News" />{% else %}<meta name="description" content="KXStudio News" />{% endif %}
{% if (post.title) %}
<title>$post.title | KXStudio News</title>
<meta name="description" content="$post.title | KXStudio News" />
<meta property="og:description" content="${ post.body }" />
<meta property="og:site_name" content="KXStudio News" />
<meta property="og:title" content="$post.title" />
<meta property="og:type" content="website" />
<meta property="article:published_time" content="${ post.created_at | strftime("%Y-%m-%dT%H:%M:%S+00:00") }" />
{% else %}
<title>KXStudio News</title>
<meta name="description" content="KXStudio News" />
{% endif %}

<meta name="theme-color" content="#111111">
<meta name="viewport" content="width=device-width">
Expand Down

0 comments on commit ebbff10

Please sign in to comment.