Add index

This commit is contained in:
Digital Studium 2023-07-23 22:42:50 +03:00
parent 824639a6ae
commit c701baecfe
2 changed files with 13 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<p>
{% if home or section %}
<a href="/{{ language }}{{ url }}" rel="permalink" title="{{ image_title }}">
<img data-src="{{ post.image }}" alt="{{ image_title }}" class="home-image lozad" />
<img data-src="{{ post.thumbnail }}" alt="{{ image_title }}" class="home-image lozad" />
</a>
{% else %}
<img data-src="{{ post.image }}" alt="{{ image_title }}" class="post-image lozad" />

12
templates/index.j2 Normal file
View File

@ -0,0 +1,12 @@
<!doctype html>
<html lang=en>
<head>
<title>{{ config.base_url }}/en/</title>
<link rel=canonical href="{{ config.base_url }}/en" />
<meta name=robots content="noindex">
<meta charset=utf-8>
<meta http-equiv=refresh content="0; url={{ config.base_url }}/en/">
</head>
</html>