Cleaning up
|
|
@ -28,7 +28,6 @@ blog.enable = "false"
|
|||
; Social account
|
||||
social.twitter = "https://twitter.com"
|
||||
social.facebook = "https://www.facebook.com"
|
||||
social.tumblr = "http://www.tumblr.com"
|
||||
|
||||
; Breadcrumb home text. Useful when installed on subfolder.
|
||||
breadcrumb.home = "Home"
|
||||
|
|
@ -47,9 +46,6 @@ disqus.shortname = ""
|
|||
; Google Web Master Tool ID verification
|
||||
google.wmt.id = ""
|
||||
|
||||
; Google+ publisher
|
||||
google.publisher = ""
|
||||
|
||||
; Google analytics
|
||||
google.analytics.id = ""
|
||||
|
||||
|
|
@ -82,9 +78,6 @@ recent.count = "5"
|
|||
; Popular posts
|
||||
popular.count = "5"
|
||||
|
||||
; Author info on blog post. Set "true" or "false".
|
||||
author.info = "true"
|
||||
|
||||
; Teaser type: set "trimmed" or "full".
|
||||
teaser.type = "full"
|
||||
|
||||
|
|
@ -103,10 +96,6 @@ rss.count = "10"
|
|||
; RSS feed description length. If left empty we will use full page.
|
||||
rss.char = "200"
|
||||
|
||||
; Enable image thumbnail on teaser, the options is "true" and "false". If set to "true", you can specify the default thumbnail also.
|
||||
img.thumbnail = "false"
|
||||
default.thumbnail = ""
|
||||
|
||||
; Enable views Counter, the options is "true" and "false". If set to "true", you can see the Counts in Admin page and popular posts.
|
||||
views.counter = "false"
|
||||
|
||||
|
|
|
|||
|
|
@ -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)) {
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 582 B After Width: | Height: | Size: 582 B |
|
Before Width: | Height: | Size: 836 B After Width: | Height: | Size: 836 B |
|
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 668 B |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
|
@ -5,7 +5,7 @@
|
|||
<title><?php echo $title;?></title>
|
||||
<meta name="description" content="<?php echo $description; ?>"/>
|
||||
<link rel="canonical" href="<?php echo $canonical; ?>" />
|
||||
<link href="<?php echo site_url() ?>themes/default/css/style.css" rel="stylesheet"/>
|
||||
<link href="<?php echo site_url() ?>themes/readable/css/style.css" rel="stylesheet"/>
|
||||
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css">
|
||||
<?php if (publisher()): ?>
|
||||
<link href="<?php echo publisher() ?>" rel="publisher" />
|
||||