forked from mirror/pixelfed
Update NewroomController, update title length limit from 25 to 40
This commit is contained in:
parent
b944dc3a5f
commit
c568d54893
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class NewsroomController extends Controller
|
||||||
->map(function($post) {
|
->map(function($post) {
|
||||||
return [
|
return [
|
||||||
'id' => $post->id,
|
'id' => $post->id,
|
||||||
'title' => Str::limit($post->title, 25),
|
'title' => Str::limit($post->title, 40),
|
||||||
'summary' => $post->summary,
|
'summary' => $post->summary,
|
||||||
'url' => $post->show_link ? $post->permalink() : null,
|
'url' => $post->show_link ? $post->permalink() : null,
|
||||||
'published_at' => $post->published_at->format('F m, Y')
|
'published_at' => $post->published_at->format('F m, Y')
|
||||||
|
|
Loading…
Reference in a new issue