projects.html 710 B

123456789101112131415161718192021
  1. <div class="container-fluid anchor pb-5 projects-section" id="{{ replace (lower .section.name) " " "-" }}">
  2. {{ if not (.section.hideTitle) }}
  3. <h1 class="text-center">{{ .section.name }}</h1>
  4. {{ end }}
  5. <div class="container ml-auto text-center">
  6. <div class="btn-group flex-wrap" role="group" id="project-filter-buttons">
  7. {{ range .buttons }}
  8. <button type="button" class="btn btn-dark" data-filter="{{ .filter }}">
  9. {{ .name }}
  10. </button>
  11. {{ end }}
  12. </div>
  13. </div>
  14. <div class="container filtr-projects">
  15. <div class="row" id="project-card-holder">
  16. {{ range .projects }}
  17. {{ partial "cards/project" . }}
  18. {{ end }}
  19. </div>
  20. </div>
  21. </div>