Update (single post): change toc position

This commit is contained in:
2023-09-26 00:14:58 +08:00
parent 8da977daeb
commit e63231b65e

View File

@@ -25,10 +25,10 @@ public function index(Request $request, $slug)
$content = Markdown::convert($post->body)->getContent();
//dd($content);
$content = $this->injectTableOfContents($content);
$content = $this->injectBootstrapClasses($content);
$content = $this->injectFeaturedImage($post, $content);
$content = $this->injectPublishDateAndAuthor($post, $content);
$content = $this->injectTableOfContents($content);
$post_description = $post->excerpt.' '.$post->title.' by EchoScoop.';