Cleaning up

This commit is contained in:
danpros 2021-02-18 20:18:06 +07:00
commit e2192f774d
20 changed files with 4 additions and 15 deletions

View file

@ -29,5 +29,5 @@ if ($updater->able()) {
echo '<div style="background-color:#f9f9f9;border:1px solid #ccc;border-radius:4px;color:#333;display:block;font-size:13px;margin:20px 0;padding:0 1em;">';
echo \Michelf\MarkdownExtra::defaultTransform($info['body']);
echo '</div>';
echo '<p><a class="btn btn-primary" target="_blank" href="' . $info['html_url'] . '">Read on Github</a>.</p>';
echo '<p><a class="btn btn-primary" target="_blank" href="' . $info['html_url'] . '">Read on Github</a></p>';
}

View file

@ -1813,7 +1813,7 @@ function base64_encode_image($filename = string, $filetype = string)
}
}
// Social links
// Social links. Deprecated
function social($imgDir = null)
{
$twitter = config('social.twitter');
@ -1822,7 +1822,7 @@ function social($imgDir = null)
$rss = site_url() . 'feed/rss';
if ($imgDir === null) {
$imgDir = "default/img/";
$imgDir = "readable/img/";
}
if (!empty($twitter)) {