Created
November 4, 2015 20:54
-
-
Save elliotforbes/3f04d92170c2028489ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@if (count($articles) === 0) | |
... html showing no articles found | |
@elseif (count($articles) >= 1) | |
... print out results | |
@foreach($articles as $article) | |
print article | |
@endforeach | |
@endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment