oijoij
This commit is contained in:
16
templates/base.html
Normal file
16
templates/base.html
Normal file
@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Steven Le Rouzic</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=PT+Serif&family=PT+Serif+Caption&family=Roboto+Mono&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" type="text/css" href="{{ get_url(path="theme.css") }}" />
|
||||
<script src="https://unpkg.com/htmx.org@1.9.6"></script>
|
||||
</head>
|
||||
<body hx-boost="true">
|
||||
{% block content %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
21
templates/blog-article.html
Normal file
21
templates/blog-article.html
Normal file
@ -0,0 +1,21 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="article-header">
|
||||
<h1>{{ page.title }}</h1>
|
||||
<div class="info">
|
||||
<p class="date">{{ page.date | date(format="%B %-d, %Y") }}</p>
|
||||
<p class="tags">
|
||||
{% for tag in page.taxonomies["tags"] %}
|
||||
<a href="{{ get_taxonomy_url(kind="tags", name=tag) }}">#{{ tag }}</a>
|
||||
{%- endfor %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="typography">
|
||||
{{ page.content | safe }}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
11
templates/blog.html
Normal file
11
templates/blog.html
Normal file
@ -0,0 +1,11 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<ul>
|
||||
{% for page in section.pages %}
|
||||
<li><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - {{ page.date | date(format="%B %-d, %Y") }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% endblock %}
|
14
templates/index.html
Normal file
14
templates/index.html
Normal file
@ -0,0 +1,14 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% set blog_section = get_section(path="blog/_index.md") %}
|
||||
<ul>
|
||||
{% for post in blog_section.pages | slice(end=3) %}
|
||||
<li><a href="{{ post.permalink | safe }}">{{ post.title }}</a> - {{ post.date | date(format="%B %-d, %Y") }}</li>
|
||||
<div class="typography">{{ post.summary | safe }}</div>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% endblock %}
|
||||
|
9
templates/page.html
Normal file
9
templates/page.html
Normal file
@ -0,0 +1,9 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>{{ page.title }}</h1>
|
||||
|
||||
{{ page.content | safe }}
|
||||
|
||||
{% endblock %}
|
7
templates/taxonomy_list.html
Normal file
7
templates/taxonomy_list.html
Normal file
@ -0,0 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>{{ taxonomy.name }}: multiple</h1>
|
||||
|
||||
{% endblock %}
|
13
templates/taxonomy_single.html
Normal file
13
templates/taxonomy_single.html
Normal file
@ -0,0 +1,13 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>{{ taxonomy.name }}: {{ term.name }}</h1>
|
||||
|
||||
<ul>
|
||||
{% for page in term.pages %}
|
||||
<li><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - {{ page.date | date(format="%B %-d, %Y") }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% endblock %}
|
Reference in New Issue
Block a user