fix: make configs serializable
This commit is contained in:
parent
606c641558
commit
b87c1467c6
8 changed files with 175 additions and 207 deletions
|
|
@ -4,10 +4,10 @@
|
|||
@section('description', 'This is the personal homepage of floppydisk.')
|
||||
@section('content')
|
||||
@foreach ($categories as $category)
|
||||
<h1>{{ $category->name }}</h1>
|
||||
<h1>{{ $category['name'] }}</h1>
|
||||
<ul>
|
||||
@foreach ($category->bookmarks as $bookmark)
|
||||
<li><a href="{{ $bookmark->url }}">{{ $bookmark->name }}</a> - {{ $bookmark->description }}</li>
|
||||
@foreach ($category['bookmarks'] as $bookmark)
|
||||
<li><a href="{{ $bookmark['url'] }}">{{ $bookmark['name'] }}</a> - {{ $bookmark['description'] }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endforeach
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue