mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 13:06:22 +05:30
Add share button
Add share button: Twitter, Facebook and Google+.
This commit is contained in:
parent
5a2f5456bd
commit
d184a29037
6 changed files with 62 additions and 10 deletions
|
|
@ -149,7 +149,7 @@ get('/:year/:month/:name', function($year, $month, $name){
|
|||
render('post',array(
|
||||
'title' => $current->title .' - ' . config('blog.title'),
|
||||
'p' => $current,
|
||||
'authorinfo' => '<div class="author-info"><div class="separator">→</div><h4><strong>by ' . $bio->title . '</strong></h4>' . $bio->body . '</div>',
|
||||
'authorinfo' => '<div class="author-info"><h4>by <strong>' . $bio->title . '</strong></h4>' . $bio->body . '</div>',
|
||||
'canonical' => $current->url,
|
||||
'description' => $description = get_description($current->body),
|
||||
'bodyclass' => 'inpost',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue