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 | |
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>
-rw-r--r-- | config.toml | 1 | ||||
-rw-r--r-- | content/projects/_index.md | 6 | ||||
-rw-r--r-- | content/projects/beryl.md | 11 | ||||
-rw-r--r-- | sass/_projects.scss | 21 | ||||
-rw-r--r-- | sass/styles.scss | 3 | ||||
-rw-r--r-- | static/projects/beryl/preview.jpg | bin | 28785 -> 0 bytes | |||
-rw-r--r-- | templates/project.html | 10 | ||||
-rw-r--r-- | templates/projects.html | 30 |
8 files changed, 1 insertions, 81 deletions
diff --git a/config.toml b/config.toml index bec0f51..2ef5bb3 100644 --- a/config.toml +++ b/config.toml @@ -95,5 +95,4 @@ links = [ navbar = [ { title = "Home", path = "/" }, { title = "Blog", path = "/blog" }, - { title = "Projects", path = "/projects" }, ] diff --git a/content/projects/_index.md b/content/projects/_index.md deleted file mode 100644 index ded2022..0000000 --- a/content/projects/_index.md +++ /dev/null @@ -1,6 +0,0 @@ -+++ -page_template = "project.html" -sort_by = "date" -template = "projects.html" -title = "Projects" -+++ diff --git a/content/projects/beryl.md b/content/projects/beryl.md deleted file mode 100644 index 957e196..0000000 --- a/content/projects/beryl.md +++ /dev/null @@ -1,11 +0,0 @@ -+++ -date = 2022-11-01 -title = "Beryl" - -[extra] -preview = "projects/beryl/preview.jpg" -+++ - -Beryl is a service created for a large regional internet provider. -<!-- more --> -TODO: Add a description:smile:
\ No newline at end of file diff --git a/sass/_projects.scss b/sass/_projects.scss deleted file mode 100644 index ab0dc92..0000000 --- a/sass/_projects.scss +++ /dev/null @@ -1,21 +0,0 @@ -.projects { - display: grid; - gap: 30px; - grid-template-columns: repeat(3, 1fr); -} - -@media (max-width: 684px) { - .projects { - grid-template-columns: repeat(1, 1fr); - } -} - -.project { - a { - color: $color-text; - - &:visited { - color: $color-text; - } - } -}
\ No newline at end of file diff --git a/sass/styles.scss b/sass/styles.scss index 9b520fc..7f0aef9 100644 --- a/sass/styles.scss +++ b/sass/styles.scss @@ -15,5 +15,4 @@ $font-feature: "calt", "case", "liga", "locl", "ss01", "tnum", "zero"; $font-size-base: 1.8rem; @import "framework"; -@import "navbar"; -@import "projects";
\ No newline at end of file +@import "navbar";
\ No newline at end of file diff --git a/static/projects/beryl/preview.jpg b/static/projects/beryl/preview.jpg Binary files differdeleted file mode 100644 index b942911..0000000 --- a/static/projects/beryl/preview.jpg +++ /dev/null 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 |