Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

guide-card.html 1.3 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  1. {% if guide.page.authors %}
  2. {% assign authors = guide.page.authors %}
  3. {% else %}
  4. {% assign authors = 'GitHub' | split: ' ' %}
  5. {% endif %}
  6. {% assign authorsString = authors | join: ", @" %}
  7. <div class="col-lg-4 col-12 mb-3">
  8. <a class="Box color-shadow-medium height-full d-block hover-shadow-large no-underline color-text-primary p-5" href="{{ guide.href }}">
  9. <h2>{{ guide.title }}</h2>
  10. <p class="mt-2 mb-4 color-text-tertiary">{{ guide.intro }}</p>
  11. <footer class="d-flex">
  12. <div class="mr-1">
  13. {% if authors.length == 1 %}
  14. <img class="avatar avatar-2 circle mr-1" src="https://github.com/{{ authors[0] }}.png" alt="@{{ authors[0] }}" />
  15. {% else %}
  16. <div class="AvatarStack AvatarStack--three-plus">
  17. <div
  18. class="AvatarStack-body tooltipped tooltipped-se tooltipped-align-left-1"
  19. aria-label="@{{ authorsString }}"
  20. >
  21. {% for author in authors %}
  22. <img
  23. class="avatar circle"
  24. alt="@{{ author }}"
  25. src="https://github.com/{{ author }}.png"
  26. />
  27. {% endfor %}
  28. </div>
  29. </div>
  30. {% endif %}
  31. </div>
  32. <div>
  33. @{{ authorsString }}
  34. </div>
  35. </footer>
  36. </a>
  37. </div>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...