The source code of my personal website! https://jfenn.me/
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.
 
 
 
 
 

39 lines
965 B

  1. ---
  2. layout: base
  3. pagination:
  4. data: git.wikis
  5. size: 1
  6. addAllPagesToCollections: true
  7. permalink: "projects/{{ pagination.items[0].id }}/wiki/{{ pagination.items[0].page }}.html"
  8. ---
  9. <div class="bg-dark">
  10. <div class="container my-3">
  11. {% for wiki in pagination.items %}
  12. <a class="link mr-0" href="/projects/">
  13. <span class="link-title">Projects</span>
  14. </a>
  15. <a class="link mr-0" href="/projects/{{ wiki.id }}/">
  16. <i class="link-img material-icons">chevron_right</i>
  17. <span class="link-title">{{ wiki.project.title }}</span>
  18. </a>
  19. <a class="link" href="/projects/{{ wiki.id }}/wiki/">
  20. <i class="link-img material-icons">chevron_right</i>
  21. <span class="link-title">Wiki</span>
  22. </a>
  23. </div>
  24. </div>
  25. <div class="container mt-3 mb-5">
  26. {% if wiki.page == "index" %}
  27. <h1>{{ wiki.project.title }} Wiki</h1>
  28. {% else %}
  29. <h1>{{ wiki.title }}</h1>
  30. {% endif %}
  31. <div class="text">
  32. {{ wiki.content | markdownify }}
  33. </div>
  34. {% endfor %}
  35. </div>