glados.no/ntnu/ntnu.html

25 lines
840 B
HTML

---
layout: layouts/list
title: "NTNU"
description: "Alt som har med studier på NTNU å gjøre."
---
{% for semester in site.data.ntnu-courses %}
<h2>{{ semester.name }}</h2>
{% assign courses = semester.courses | sort: 'updated' | reverse %}
<div class="row row-cols-1 row-cols-md-3">
{% for course in courses %}
<div class="col mb-4">
<div class="card h-100">
<div class="card-body">
<h5 class="card-title no-anchor" data-toc-skip><a href="{{ semester.href }}/{% if course.href %}{{ course.href }}{% else %}{{ course.course }}{% endif %}">{{ course.course | upcase }}</a></h5>
<p class="card-text">{{ course.desc }}</p>
</div>
<div class="card-footer">
<small class="text-muted">Sist oppdatert {{ course.updated }}</small>
</div>
</div>
</div>
{% endfor %}
</div>
{% endfor %}