diff options
author | Valentin Popov <valentin@popov.link> | 2022-11-18 21:47:22 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2022-11-18 21:47:22 +0300 |
commit | 30bfbbdbf27e8cfbcc9a32987622810e740026ea (patch) | |
tree | e4949d77ffd272022f7b152b75f73115f881ca38 /templates | |
parent | dcc84806f33a47bda057269fc2e7dc1f62927c7b (diff) | |
download | popov.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.html | 10 | ||||
-rw-r--r-- | templates/projects.html | 30 |
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 |