2016-05-19 15:01:28 +01:00
|
|
|
|
@extends('master')
|
|
|
|
|
|
|
2026-09-26 16:20:50 +01:00
|
|
|
|
@section('title'){{ $article->published ? '' : '[Draft] ' }}{{ strip_tags($article->title) }} « @stop
|
|
|
|
|
|
|
|
|
|
|
|
@if (! $article->published)
|
|
|
|
|
|
@push('head')
|
|
|
|
|
|
<meta name="robots" content="noindex, nofollow">
|
|
|
|
|
|
@endpush
|
|
|
|
|
|
@endif
|
2016-05-19 15:01:28 +01:00
|
|
|
|
|
|
|
|
|
|
@section('content')
|
2026-09-26 16:20:50 +01:00
|
|
|
|
@unless ($article->published)
|
|
|
|
|
|
<aside class="draft-notice" role="note">
|
|
|
|
|
|
<strong>Draft</strong> — this post hasn’t been published yet. It isn’t listed on the site or in feeds, so only people with this link can see it.
|
|
|
|
|
|
</aside>
|
|
|
|
|
|
@endunless
|
2019-07-26 11:05:16 +01:00
|
|
|
|
@include('templates.article', ['article' => $article])
|
2016-05-19 15:01:28 +01:00
|
|
|
|
@stop
|