Mobile-responsive personal website, generated using Hugo. https://kevin-mok.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
643 B

  1. <div class="project">
  2. <a class="project-link" href="{{ .Get "url" }}" target="_blank">
  3. <img src="{{ "img/link.svg" | relURL }}" alt="link-icon">
  4. </a>
  5. <button class="btn" type="button" data-toggle="collapse"
  6. data-target="#{{ .Get "name" | lower | urlize }}-details"
  7. aria-expanded="false" aria-controls="{{ .Get "name" | lower | urlize }}-details">
  8. <h2 class="project-title">{{ .Get "name" }} ⏷</h2>
  9. </button>
  10. <div class="date">{{ .Get "date" }}</div>
  11. <div class="collapse{{ with .Get "show" }} show{{ end }}" id="{{ .Get "name" | lower | urlize }}-details">
  12. <div>
  13. {{ .Inner }}
  14. </div>
  15. </div>
  16. </div>