Browse Source

tweak og tags

Signed-off-by: falkTX <falktx@falktx.com>
pull/19/merge
falkTX 2 years ago
parent
commit
ebbff10f38
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 12 additions and 2 deletions
  1. +12
    -2
      News/themes/stardust/layouts/default.twig

+ 12
- 2
News/themes/stardust/layouts/default.twig View File

@@ -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">


Loading…
Cancel
Save