sidebar.blade.php 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. <div class="col-sm-3 offset-sm-1 blog-sidebar">
  2. <div class="sidebar-module sidebar-module-inset">
  3. <h4>About</h4>
  4. <p>Etiam porta <em>sem malesuada magna</em> mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.</p>
  5. </div>
  6. <div class="sidebar-module">
  7. <h4>Tags</h4>
  8. <ol class="list-unstyled">
  9. @foreach($tags ?? [] as $tag)
  10. <li><a href="/posts/tags/{{ $tag }}">{{ $tag }}</a></li>
  11. @endforeach
  12. </ol>
  13. </div>
  14. <div class="sidebar-module">
  15. <h4>Archives</h4>
  16. <ol class="list-unstyled">
  17. @foreach ($archives ?? [] as $archive)
  18. <li><a href="/?month={{ $archive['month'] }}&year={{ $archive['year'] }}">
  19. {{ $archive['month'] . ' ' . $archive['year'] }}
  20. </a></li>
  21. @endforeach
  22. </ol>
  23. </div>
  24. <div class="sidebar-module">
  25. <h4>Elsewhere</h4>
  26. <ol class="list-unstyled">
  27. <li><a href="#">GitHub</a></li>
  28. <li><a href="#">Twitter</a></li>
  29. <li><a href="#">Facebook</a></li>
  30. </ol>
  31. </div>
  32. </div><!-- /.blog-sidebar -->