subtitle)}}">
The subtitle of the blog post (optional)
slug)}}">
The slug (leave blank to auto generate) -
i.e. {{ route("blogetc.single", "" )}}/this_part
Should this be published? If not, then it won't be publicly viewable.
posted_at ?? \Carbon\Carbon::now())}}">
When this should be published. If this value is greater than now ({{\Carbon\Carbon::now()}})
then it will not (yet) appear on your blog. Should be in the YYYY-MM-DD HH:MM:SS format.
Please note that any HTML (including any JS code) that is entered here will be
echoed (without escaping)
@if(config("blogetc.use_custom_view_files",true))
use_view_file)}}">
Optional - if anything is entered here, then it will attempt to load
view("custom_blog_posts." . $use_view_file). You must create the file in
/resources/views/custom_blog_posts/FILENAME.blade.php.
@endif
seo_title) }}">
Enter a value for the {{""}} tag. If nothing is
provided here we will just use the normal post title from above (optional)
Meta description (optional)
Short description (optional - only useful if
you use in your template views)
@if(config("blogetc.image_upload_enabled",true))
Featured Images
@php
// TODO - put this logic in controller
$hasImage = false; @endphp
@foreach(config("blogetc.image_sizes") as $imageSizeKey =>$imageSizeAttributes)
@endif
Upload {{$imageSizeAttributes['name']}} image -
{{$imageSizeAttributes['w']}}×{{$imageSizeAttributes['h']}}px - it will
get automatically resized if larger
@if($hasImage)
Delete images
@endif
@endforeach
By default it will resize for all images based on the first image. If you want to select specific images for
each size, please click:
Show other sizes
@else
Image uploads were disabled in blogetc.php config
@endif
Categories:
@forelse(\WebDevEtc\BlogEtc\Models\Category::orderBy("category_name","asc")->limit(1000)->get() as $category)