aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2023-11-10 13:58:19 +0300
committerValentin Popov <valentin@popov.link>2023-11-10 13:58:19 +0300
commit1a7fd13cdef467a4128d8a11340466b9e5048201 (patch)
treec430deee521b4e9789d793f3e920548969bc38b8
parente2222cddcf992947b3d5edae7c1243f107eed817 (diff)
downloadpopov.link-1a7fd13cdef467a4128d8a11340466b9e5048201.tar.xz
popov.link-1a7fd13cdef467a4128d8a11340466b9e5048201.zip
Remove useful_links.html and update config.toml
-rw-r--r--config.toml4
-rw-r--r--templates/includes/useful_links.html9
-rw-r--r--templates/index.html5
3 files changed, 0 insertions, 18 deletions
diff --git a/config.toml b/config.toml
index f34736f..ed3e1df 100644
--- a/config.toml
+++ b/config.toml
@@ -102,10 +102,6 @@ contacts = [
{ title = "PGP", name = "AE3CE523DAAA8401", url = "/public.asc" },
]
-links = [
- { title = "Nokia N900 archives", url = "https://disk.yandex.ru/d/L-NZ3c4qc7Uizw", description = "Official firmware, tools and images for N900." },
-]
-
navbar = [
{ title = "Home", path = "/" },
{ title = "Blog", path = "/blog/" },
diff --git a/templates/includes/useful_links.html b/templates/includes/useful_links.html
deleted file mode 100644
index 9b4859d..0000000
--- a/templates/includes/useful_links.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<ul>
- {% for link in config.extra.links %}
- <li>
- <a href="{{ link.url | trim }}" target="_blank">{{ link.title | trim }}</a>
- <span>&mdash;</span>
- <span>{{ link.description | trim }}</span>
- </li>
- {% endfor %}
-</ul> \ No newline at end of file
diff --git a/templates/index.html b/templates/index.html
index fb64505..3050381 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -31,11 +31,6 @@
</section>
<section>
- <h2>Useful links</h2>
- {% include 'includes/useful_links.html' %}
-</section>
-
-<section>
<h2>Recent posts</h2>
{% include 'includes/recent_posts.html' %}
</section>