roots / sage

WordPress starter theme with Laravel Blade components and templates, Tailwind CSS, and a modern development workflow
https://roots.io/sage/
MIT License
12.69k stars 3.06k forks source link

♻️ Check `wp_link_pages` before rendering in `content-single.blade.php` #3157

Closed blift closed 9 months ago

blift commented 10 months ago

Check the wp_link_pages before render, to prevent empty footer element

Log1x commented 9 months ago

Good catch!

I (hopefully) tidied things up a bit by moving wp_link_pages into a Composer method and updating content-page so things are uniform.