diff options
author | Frankie B <git@diskfloppy.me> | 2023-06-13 23:50:07 +0100 |
---|---|---|
committer | Frankie B <frankieraybrown@gmail.com> | 2023-06-14 22:15:44 +0100 |
commit | cb78df544c7155edc0826079818a6c6509cf852d (patch) | |
tree | 87f14e8ca1f87a9561c90bc61514efb43ef5d98e /resources | |
parent | 87a36e9bfbd5348a2bc001ccef14a171b6ee8ccf (diff) |
Add bookmarks page
Diffstat (limited to 'resources')
-rw-r--r-- | resources/views/pages/bookmarks.blade.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/resources/views/pages/bookmarks.blade.php b/resources/views/pages/bookmarks.blade.php new file mode 100644 index 0000000..e7630c7 --- /dev/null +++ b/resources/views/pages/bookmarks.blade.php @@ -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 |