Browse Source

full image url for meta image, fixed minor page template error

tags/b2.0.0
Ro 3 months ago
parent
commit
1f46eeffa0
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      brain/data/Render.inc.php
  2. +1
    -1
      content/themes/fipamo-default/frame.twig

+ 2
- 1
brain/data/Render.inc.php View File

@@ -21,7 +21,8 @@ class Render
? $settings["global"]["keywords"]
: "fipamo, blog, jamstack, php, markdown, js",
"description" => $settings["global"]["descriptions"],
"image" => $settings["global"]["background"],
"image" =>
$settings["global"]["base_url"] . $settings["global"]["background"],
];
//copy current theme assets to public
if (is_file("../public/assets/css/base.css")) {


+ 1
- 1
content/themes/fipamo-default/frame.twig View File

@@ -15,7 +15,7 @@
</title>
<meta charset="UTF-8" />
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
<meta name="keywords" content="{{ info['keywords'] }}") />
<meta name="keywords" content="{{ info['keywords'] }}"/>
<meta name="description" content="{{info['description']}} " />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta property="og:image" content="{{info["image"]}}" />


Loading…
Cancel
Save