aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2022-11-18 21:47:22 +0300
committerValentin Popov <valentin@popov.link>2022-11-18 21:47:22 +0300
commit30bfbbdbf27e8cfbcc9a32987622810e740026ea (patch)
treee4949d77ffd272022f7b152b75f73115f881ca38 /templates
parentdcc84806f33a47bda057269fc2e7dc1f62927c7b (diff)
downloadpopov.link-30bfbbdbf27e8cfbcc9a32987622810e740026ea.tar.xz
popov.link-30bfbbdbf27e8cfbcc9a32987622810e740026ea.zip
Deleted the projects section
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'templates')
-rw-r--r--templates/project.html10
-rw-r--r--templates/projects.html30
2 files changed, 0 insertions, 40 deletions
diff --git a/templates/project.html b/templates/project.html
deleted file mode 100644
index 054d192..0000000
--- a/templates/project.html
+++ /dev/null
@@ -1,10 +0,0 @@
-{% extends 'base.html' %}
-
-{% block content %}
-<h1>{{ page.title | trim }}</h1>
-
-<section>
- {{ page.content | safe }}
-</section>
-
-{% endblock content %} \ No newline at end of file
diff --git a/templates/projects.html b/templates/projects.html
deleted file mode 100644
index 5e28e0b..0000000
--- a/templates/projects.html
+++ /dev/null
@@ -1,30 +0,0 @@
-{% extends 'base.html' %}
-
-{% block content %}
-<h1>{{ section.title | trim }}</h1>
-
-{% for year, projects in section.pages | group_by(attribute='year') %}
-
-<section>
- <h2>{{ year | trim }}</h2>
-
- <div class="projects">
- {% for project in projects %}
-
- <div class="project">
- <a href="{{ project.permalink | trim }}">
- {% set preview = resize_image(path=project.extra.preview, width=292, height=219, op='fit') %}
- <img src="{{ preview.url | trim }}" alt="preview" width="292" height="219">
- </a>
-
- <a href="{{ project.permalink | trim }}">
- <div>{{ project.summary | trim | safe }}</div>
- </a>
- </div>
-
- {% endfor %}
- </div>
-</section>
-{% endfor %}
-
-{% endblock content %} \ No newline at end of file