mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 11:16:00 +05:30
Prepare release
This commit is contained in:
parent
95c37af952
commit
d2fe54d166
7 changed files with 15 additions and 5 deletions
|
|
@ -3518,6 +3518,8 @@ get('/'. permalink_type() .'/:name', function ($name) {
|
|||
$author->description = $current->authorDescription;
|
||||
$author->about = $current->authorAbout;
|
||||
$author->avatar = $current->authorAvatar;
|
||||
$author->rss = $current->authorRss;
|
||||
$author->slug = $current->author;
|
||||
|
||||
if (array_key_exists('prev', $post)) {
|
||||
$prev = $post['prev'];
|
||||
|
|
@ -4693,6 +4695,8 @@ get('/:year/:month/:name', function ($year, $month, $name) {
|
|||
$author->description = $current->authorDescription;
|
||||
$author->about = $current->authorAbout;
|
||||
$author->avatar = $current->authorAvatar;
|
||||
$author->rss = $current->authorRss;
|
||||
$author->slug = $current->author;
|
||||
|
||||
if (array_key_exists('prev', $post)) {
|
||||
$prev = $post['prev'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue