Add bookmarks page

This commit is contained in:
Frankie B 2023-06-13 23:50:07 +01:00 committed by Frankie B
commit 16ecc6abe3
3 changed files with 96 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<?php $categories = app('config')->get('bookmarks'); ?>
@extends('layouts.default')
@section('title', 'bookmarks')
@section('description', 'This is the personal homepage of floppydisk.')
@section('content')
@foreach ($categories as $category)
<h1>{{ $category->name }}</h1>
<ul>
@foreach ($category->bookmarks as $bookmark)
<li><a href="{{ $bookmark->url }}">{{ $bookmark->name }}</a> - {{ $bookmark->description }}</li>
@endforeach
</ul>
@endforeach
@stop