This commit is contained in:
parent
17785b8d27
commit
179de5bba2
@ -114,14 +114,6 @@ if ($match['name'] == 'blog') {
|
|||||||
$variables['title'] = 'Blog — '.$basetitle;
|
$variables['title'] = 'Blog — '.$basetitle;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we are dealing with a blog post
|
|
||||||
if ($match['name'] == 'blog_post') {
|
|
||||||
$variables['params']['slug'] = $match['params']['slug'];
|
|
||||||
$variables['post'] = getBlogPosts($variables['params']);
|
|
||||||
$variables['post'] = $variables['post'][0];
|
|
||||||
$variables['title'] = htmlspecialchars_decode(str_replace('·','·',$variables['post']['title'])).' — '.$basetitle;
|
|
||||||
}
|
|
||||||
|
|
||||||
// If we are dealing with the notes
|
// If we are dealing with the notes
|
||||||
if ($match['name'] == 'notes') {
|
if ($match['name'] == 'notes') {
|
||||||
$variables['posts'] = getNotes($variables['params']);
|
$variables['posts'] = getNotes($variables['params']);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user