mirror of
https://github.com/Aviortheking/CA_LARAVEL.git
synced 2025-06-16 19:29:18 +00:00
add blog detail
This commit is contained in:
9
resources/views/detail.blade.php
Normal file
9
resources/views/detail.blade.php
Normal file
@ -0,0 +1,9 @@
|
||||
@extends('layout')
|
||||
@section('title')
|
||||
<title>{{$post->title}}</title>
|
||||
@endsection
|
||||
@section('content')
|
||||
<h2 style="color:black; margin-top:100px">{{$post->title}}</h2>
|
||||
<p style="color:black; width:80%; margin:auto; font-size:20px;">{{$post->content}} </p>
|
||||
<a href="{{ url('/blog') }}">Liste des articles</a>
|
||||
@endsection
|
Reference in New Issue
Block a user