Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1117 from eamdog/master
Browse files Browse the repository at this point in the history
Mistakes were made in #1113. Metadata has correct info now.
  • Loading branch information
CraigChilds94 authored Jun 30, 2016
2 parents 5b124e0 + e9c4a70 commit 7a8ba70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion anchor/functions/pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function page_description($default = '')
if ($title = Registry::prop('article', 'description')) {
return $title;
}
if ($title = Registry::prop('site', 'description')) {
if ($title = Config::meta('description')) {
return $title;
}
return $default;
Expand Down
2 changes: 1 addition & 1 deletion themes/default/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta name="viewport" content="width=device-width">
<meta name="generator" content="Anchor CMS">

<meta property="og:title" content="<?php echo page_name(); ?>">
<meta property="og:title" content="<?php echo page_title(); ?>">
<meta property="og:type" content="website">
<meta property="og:url" content="<?php echo e(current_url()); ?>">
<meta property="og:image" content="<?php echo theme_url('img/og_image.gif'); ?>">
Expand Down

0 comments on commit 7a8ba70

Please sign in to comment.