Ooof, got the dependencies all up to date as well
Lots of tests needed fixing, but it seemed to be a whitespace parsing
error in the view files 🤔
This commit is contained in:
parent
ec01b3c6a2
commit
b2b6693aec
61 changed files with 2057 additions and 1441 deletions
|
@ -3,37 +3,42 @@
|
|||
@section('title')Bookmarks « @stop
|
||||
|
||||
@section('content')
|
||||
<div class="h-feed top-space">
|
||||
@foreach($bookmarks as $bookmark)
|
||||
<div class="h-entry">
|
||||
<a class="u-bookmark-of<?php if ($bookmark->name !== null) { echo ' h-cite'; } ?>" href="{{ $bookmark->url }}">
|
||||
@isset($bookmark->name)
|
||||
<div class="h-feed top-space">
|
||||
@foreach($bookmarks as $bookmark)
|
||||
<div class="h-entry">
|
||||
<a class="u-bookmark-of<?php if ($bookmark->name !== null) { echo ' h-cite'; } ?>" href="{{ $bookmark->url }}">
|
||||
@isset($bookmark->name)
|
||||
{{ $bookmark->name }}
|
||||
@endisset
|
||||
@endisset
|
||||
|
||||
@empty($bookmark->name)
|
||||
@empty($bookmark->name)
|
||||
{{ $bookmark->url }}
|
||||
@endempty
|
||||
</a> <a href="{{ $bookmark->longurl }}">🔗</a>
|
||||
@isset($bookmark->content)
|
||||
@endempty
|
||||
</a> <a href="{{ $bookmark->longurl }}">🔗</a>
|
||||
@isset($bookmark->content)
|
||||
<p>{{ $bookmark->content }}</p>
|
||||
@endisset
|
||||
@isset($bookmark->screenshot)
|
||||
<img class="screenshot" src="/assets/img/bookmarks/{{ $bookmark->screenshot }}.png">
|
||||
@endisset
|
||||
@isset($bookmark->archive)
|
||||
<p><a href="https://web.archive.org{{ $bookmark->archive }}">Internet Archive backup</a></p>
|
||||
@endisset
|
||||
@if($bookmark->tags_count > 0)
|
||||
<ul class="tags">
|
||||
@foreach($bookmark->tags as $tag)
|
||||
<li><a href="/bookmarks/tagged/{{ $tag->tag }}" class="tag">{{ $tag->tag }}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@endisset
|
||||
|
||||
{{ $bookmarks->links() }}
|
||||
@isset($bookmark->screenshot)
|
||||
<img class="screenshot" src="/assets/img/bookmarks/{{ $bookmark->screenshot }}.png">
|
||||
@endisset
|
||||
|
||||
@isset($bookmark->archive)
|
||||
<p><a href="https://web.archive.org{{ $bookmark->archive }}">Internet Archive backup</a></p>
|
||||
@endisset
|
||||
|
||||
@if($bookmark->tags_count > 0)
|
||||
<ul class="tags">
|
||||
@foreach($bookmark->tags as $tag)
|
||||
<li>
|
||||
<a href="/bookmarks/tagged/{{ $tag->tag }}" class="tag">{{ $tag->tag }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
{{ $bookmarks->links() }}
|
||||
@stop
|
||||
|
|
|
@ -3,36 +3,5 @@
|
|||
@section('title')Bookmark « @stop
|
||||
|
||||
@section('content')
|
||||
<div class="h-entry top-space">
|
||||
<a class="u-bookmark-of<?php if ($bookmark->name !== null) { echo ' h-cite'; } ?>" href="{{ $bookmark->url }}">
|
||||
@isset($bookmark->name)
|
||||
{{ $bookmark->name }}
|
||||
@endisset
|
||||
|
||||
@empty($bookmark->name)
|
||||
{{ $bookmark->url }}
|
||||
@endempty
|
||||
</a>
|
||||
@isset($bookmark->content)
|
||||
<p>{{ $bookmark->content }}</p>
|
||||
@endisset
|
||||
@isset($bookmark->screenshot)
|
||||
<img class="screenshot" src="/assets/img/bookmarks/{{ $bookmark->screenshot }}.png">
|
||||
@endisset
|
||||
@isset($bookmark->archive)
|
||||
<p><a href="https://web.archive.org{{ $bookmark->archive }}">Internet Archive backup</a></p>
|
||||
@endisset
|
||||
@if(count($bookmark->tags) > 0)
|
||||
<ul class="tags">
|
||||
@foreach($bookmark->tags as $tag)
|
||||
<li><a href="/bookmarks/tagged/{{ $tag->tag }}" class="tag">{{ $tag->tag }}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
<p class="p-bridgy-facebook-content">🔖 {{ $bookmark->url }} 🔗 {{ $bookmark->longurl }}</p>
|
||||
<p class="p-bridgy-twitter-content">🔖 {{ $bookmark->url }} 🔗 {{ $bookmark->longurl }}</p>
|
||||
<!-- these empty tags are for https://brid.gy’s publishing service -->
|
||||
<a href="https://brid.gy/publish/twitter"></a>
|
||||
<a href="https://brid.gy/publish/facebook"></a>
|
||||
</div>
|
||||
@include('templates.bookmark', ['bookmark' => $bookmark])
|
||||
@stop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue