Allow string for when there are no syndication targets
This commit is contained in:
parent
997da7a7e9
commit
16015d3f4b
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ Micropub Config «
|
|||
<dl>
|
||||
<dt>Me (your url)</dt><dd>{{ $data['me'] }}</dd>
|
||||
<dt>Token</dt><dd>{{ $data['token'] }}</dd>
|
||||
<dt>Syndication Targets</dt><dd><ul>@foreach ($data['syndication'] as $syn)<li>{{ $syn['name'] }} ({{ $syn['target'] }})</li>@endforeach</ul></dd>
|
||||
<dt>Syndication Targets</dt><dd>@if(is_array($data['syndication']))<ul>@foreach ($data['syndication'] as $syn)<li>{{ $syn['name'] }} ({{ $syn['target'] }})</li>@endforeach</ul>@else{{ $data['syndication'] }}@endif</dd>
|
||||
<dt>Media Endpoint</dt><dd>{{ $data['media-endpoint'] }}</dd>
|
||||
</dl>
|
||||
<p><a href="{{ route('micropub-query-action') }}">Re-query</a> the endpoint.</p>
|
||||
|
|
Loading…
Add table
Reference in a new issue