mirror of
https://github.com/danpros/htmly.git
synced 2026-04-22 21:46:22 +05:30
Cleaning up
This commit is contained in:
parent
d1f7d279bd
commit
e2192f774d
20 changed files with 4 additions and 15 deletions
|
|
@ -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>';
|
||||
}
|
||||
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue