Init static site generator
This commit is contained in:
21
templates/tag.html
Normal file
21
templates/tag.html
Normal file
@@ -0,0 +1,21 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block header %}
|
||||
<h1 class="display-2">{{ tag }}</h1>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section>
|
||||
{% for slug in slugs %}
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">{{ slug }}</h5>
|
||||
<p>
|
||||
{% for video_tag in out_videos[slug].tags %}<a href="/tag/{{ video_tag }}/" class="badge badge-light">{{ video_tag }}</a>{% endfor %}
|
||||
</p>
|
||||
<a href="https://media.ccc.de/v/{{ slug }}" class="btn btn-primary card-link">watch</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</section>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user