mirror of
https://github.com/Noratrieb/website.git
synced 2026-01-14 08:55:01 +01:00
switch templating to tera
This commit is contained in:
parent
2d2c820510
commit
fa7baa71cc
8 changed files with 603 additions and 151 deletions
|
|
@ -131,7 +131,7 @@
|
|||
if (ev.keyCode === B) {
|
||||
isBKeyDown = true;
|
||||
blog.classList.add("blog-back-alley");
|
||||
blog.href = "/back-alley.html";
|
||||
blog.href = "/" + "{{ back_alley_name }}";
|
||||
blog.children[0].innerText = "blog?";
|
||||
}
|
||||
});
|
||||
|
|
|
|||
25
static/root/slides/index.html
Normal file
25
static/root/slides/index.html
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="/static/theme.css" />
|
||||
<title>Slides</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="main-content">
|
||||
<div class="main-content-inner">
|
||||
<h1>slides</h1>
|
||||
<p>slides from talks that i have given</p>
|
||||
|
||||
{% for talk in talks %}
|
||||
<div>
|
||||
<h2>{{ talk.date }} - {{ talk.name }}</h2>
|
||||
<p>{{ talk.location }}</p>
|
||||
<a href="{{ talk.dir_name }}">{{ talk.dir_name }}</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue