Browse Source

More og details

Signed-off-by: falkTX <falktx@falktx.com>
pull/19/merge
falkTX 7 months ago
parent
commit
91a8e037c2
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 5 additions and 1 deletions
  1. +1
    -1
      News/themes/stardust/layouts/default.twig
  2. +4
    -0
      includes/header.php

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

@@ -9,7 +9,7 @@
{% if (post.title) %}
<title>$post.title | KXStudio News</title>
<meta name="description" content="$post.title | KXStudio News" />
<meta property="og:description" content="${ post.caption }" />
<meta property="og:description" content="${ post.body | strip_tags | normalize | strip | truncate(70) }" />
<meta property="og:site_name" content="KXStudio News" />
<meta property="og:title" content="$post.title" />
<meta property="og:type" content="website" />


+ 4
- 0
includes/header.php View File

@@ -52,6 +52,10 @@ function isMobile() {
<meta name="theme-color" content="#111111">
<meta name="viewport" content="width=device-width">

<meta property="og:site_name" content="KXStudio" />
<meta property="og:title" content="<?php echo $PAGE_TITLE; ?>" />
<meta property="og:type" content="website" />

<link rel="copyright" href="https://creativecommons.org/publicdomain/zero/1.0/" />
<link rel="stylesheet" href="<?php echo $ROOT; ?>/css/style.fluid.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $ROOT; ?>/css/style.css" type="text/css" media="screen" />


Loading…
Cancel
Save