This repository was archived by the owner on May 19, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ function page_description($default = '')
7272 if ($ title = Registry::prop ('article ' , 'description ' )) {
7373 return $ title ;
7474 }
75- if ($ title = Registry:: prop ( ' site ' , 'description ' )) {
75+ if ($ title = Config:: meta ( 'description ' )) {
7676 return $ title ;
7777 }
7878 return $ default ;
Original file line number Diff line number Diff line change 2424 <meta name="viewport" content="width=device-width">
2525 <meta name="generator" content="Anchor CMS">
2626
27- <meta property="og:title" content="<?php echo page_name (); ?> ">
27+ <meta property="og:title" content="<?php echo page_title (); ?> ">
2828 <meta property="og:type" content="website">
2929 <meta property="og:url" content="<?php echo e (current_url ()); ?> ">
3030 <meta property="og:image" content="<?php echo theme_url ('img/og_image.gif ' ); ?> ">
You can’t perform that action at this time.
0 commit comments