feat: restore sablog browse modes and clean imported HTML
Keep the public site readable after import (nbsp, highlighter, wrapping code, compact pager) and finish the admin extras already in this tree: sticky levels, preview, page cache, and live llms.txt. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
@php
|
||||
$asList = $asList ?? false;
|
||||
$feedLinks = [
|
||||
['label' => 'RSS', 'url' => route('feed.rss')],
|
||||
['label' => 'Sitemap', 'url' => route('feed.sitemap')],
|
||||
['label' => 'llms.txt', 'url' => route('feed.llms')],
|
||||
];
|
||||
@endphp
|
||||
@foreach($feedLinks as $feedLink)
|
||||
@if($asList)
|
||||
<li><a href="{{ $feedLink['url'] }}" target="_blank" rel="noopener noreferrer">{{ $feedLink['label'] }}</a></li>
|
||||
@else
|
||||
@if(! $loop->first) · @endif
|
||||
<a href="{{ $feedLink['url'] }}" target="_blank" rel="noopener noreferrer">{{ $feedLink['label'] }}</a>
|
||||
@endif
|
||||
@endforeach
|
||||
Reference in New Issue
Block a user