Add bookmarks page
This commit is contained in:
parent
1763281e39
commit
16ecc6abe3
3 changed files with 96 additions and 0 deletions
14
resources/views/pages/bookmarks.blade.php
Normal file
14
resources/views/pages/bookmarks.blade.php
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue