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.77k stars 3.06k forks source link

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

Closed blift closed 11 months ago

blift commented 1 year ago

Check the wp_link_pages before render, to prevent empty footer element

Log1x commented 11 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.