EVOLUTION-MANAGER
Edit File: index.blade.php
@extends('layouts.master') @section('metas') <meta name="description" content="{{$noticia->titulo}}" /> <meta name="og:title" content="Municipalidad de Sucre" /> <meta name="og:type" content="Noticial" /> <meta name="og:url" content="https://sucre.gob.ec/" /> <meta name="og:image" content="{{asset('public/fotos-articulos/'.$noticia->foto)}}"/> <meta name="og:image:url" content="{{asset('public/fotos-articulos/'.$noticia->foto)}}"> <meta name="og:description" content="{{$noticia->titulo}}" /> <meta name="article:section" content="Noticias"> <meta name="twitter:title" content="Municipalidad de Sucre"> <meta name="twitter:description" content="{{$noticia->titulo}}"> <meta name="twitter:image" content="{{asset('public/fotos-articulos/'.$noticia->foto)}}"> @endsection @section('style') <style> p.p1 { margin:0.0px 0.0px 12.0px 0.0px; text-align:justify; line-height:19.0px; font:16.0px Tahoma; color:#000000; } span.s1 { } .iframe_video{ width: 560px; height: 315px; border: 3px solid #000000; border-radius: 5px; } @media screen and (max-width: 780px){ .iframe_video{ width: 100%; height: 285px; } } .titulo_noti{ font-size: 1.75rem !important; color: #25b72b !important; margin-top: 15px !important; margin-bottom: 10px !important; font-weight: 500 !important; line-height: 1.2 !important; text-transform: none !important; } </style> @endsection @section('contenido') <div id="fb-root"></div> <script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_ES/sdk.js#xfbml=1&version=v4.0"></script> <div class="article article-left2 page-inner-lv2 container page-article"> <div class="article-header"> <h1 style="text-align:center" class="titulo_noti"> {{$noticia->titulo }} </h1> <div class="date-line" style="background-color:ghostwhite; width:100%"> <!-- {{ Carbon\Carbon::parse($noticia->created_at)->diffForHumans()}} --> </div> <div class="by-line"> </div> </div> <hr> <div class="article-content2"> <div id="ctl00_PlaceHolderMain_ctl03_label" style="display:none"> Contenido de la página </div> <div aria-labelledby="ctl00_PlaceHolderMain_ctl03_label" class="ms-rtestate-field" id="ctl00_PlaceHolderMain_ctl03__ControlWrapper_RichHtmlField" style="display:inline"> <p> </p> <p class="p1" style="text-align:center;"> <span class="s1"> <img alt="" src="{{asset('public/fotos-articulos/'.$noticia->foto)}}" style="margin: 5px;height: 50%;width: 100%;"> <br/> </img> </span> </p> <div class="fb-like" data-href='{{url("noticias/".$noticia_id)}}' data-width="" data-layout="button_count" data-action="like" data-size="small" data-show-faces="true" data-share="true"></div> <br> <div id="detalle"> {!! $noticia->detalle !!} </div> @if(!empty($noticia->video)) @php preg_match('%(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu\.be/)([^"&?/ ]{11})%i', $noticia->video, $match); $youtube_id = $match[1]; @endphp <center> <br> <iframe class="iframe_video" src="https://www.youtube.com/embed/{{$youtube_id}}" frameborder="0" allowfullscreen></iframe> <hr> </center> @endif <p id="pre_detalle" style="display: none;"> </p> </div> </div> <div class="fb-comments" data-href='{{url("noticias/".$noticia_id)}}' data-width="950" data-numposts="5"></div> <!--div style="margin:0 auto;"> <div id="ctl00_PlaceHolderMain_ctl04_label" style='display:none'>Imagen de informe</div><div id="ctl00_PlaceHolderMain_ctl04__ControlWrapper_RichImageField" class="ms-rtestate-field" style="display:inline" aria-labelledby="ctl00_PlaceHolderMain_ctl04_label"><div class="ms-rtestate-field"><img alt="" src="/PublishingImages/NOTICIAS/2019/Agosto/23/BACHEO%20FOTO%20ARCHIVO%208.jpg" style="BORDER:0px solid;" /></div></div> </div--> </hr> </div> @endsection @section('script') @endsection