macroblog.rs @ 96c2cbe1850f95806cccb6f47a7739eb9c2ac860

fix: Fix blog post timestamps

For some the timestamp got messed up. Now they should be restored
properly as well the `locustfile.py` pointing to the right endpoints.
 1diff --git a/2020-08-22Moving_from_Github_to_Gitlab_pages.md b/2020-08-22Moving_from_Github_to_Gitlab_pages.md
 2deleted file mode 100644
 3index 5bfa7889f5f4d42c8c3e6f77c4a5a157446235ec..0000000000000000000000000000000000000000
 4--- a/2020-08-22Moving_from_Github_to_Gitlab_pages.md
 5+++ /dev/null
 6@@ -1,31 +0,0 @@
 7-This was quite simple, I had just to create a simple Gitlab pipeline job
 8-and publish to pages this is done by:
 9-
10-    image: clojure:lein-2.7.0
11-
12-    before_script:
13-      - lein deps
14-
15-    test:
16-      script:
17-        - lein test
18-
19-    pages:
20-      stage: deploy
21-      script:
22-        - lein package
23-      artifacts:
24-        paths:
25-          - public
26-      only:
27-        - master
28-
29-before~script~
30-:   will download all the dependencies with `lein deps`.
31-
32-test
33-:   is self explanatory.
34-
35-pages
36-:   will compile the cljs into js with `lein package` and publish it
37-    into pages.
38diff --git a/content/posts/2019-04-22Automating_desktop_setup_with_ansible-pull_part-1.md b/content/posts/2019-03-07Automating_desktop_setup_with_ansible-pull_part-1.md
39rename from content/posts/2019-04-22Automating_desktop_setup_with_ansible-pull_part-1.md
40rename to content/posts/2019-03-07Automating_desktop_setup_with_ansible-pull_part-1.md
41diff --git a/content/posts/2020-07-13Road_to_local_K8S.md b/content/posts/2020-07-12Road_to_local_K3S.md
42rename from content/posts/2020-07-13Road_to_local_K8S.md
43rename to content/posts/2020-07-12Road_to_local_K3S.md
44diff --git a/content/posts/2020-12-28K8S_private_gitlab_registry_using_podman.md b/content/posts/2021-12-28K8S_private_gitlab_registry_using_podman.md
45rename from content/posts/2020-12-28K8S_private_gitlab_registry_using_podman.md
46rename to content/posts/2021-12-28K8S_private_gitlab_registry_using_podman.md
47diff --git a/contrib/locust/locustfile.py b/contrib/locust/locustfile.py
48index fd22508250b19f058764dfaa3804f95ad8e49b67..ca4e4d98da89e50a90d8c466d87be3fc21af88be 100644
49--- a/contrib/locust/locustfile.py
50+++ b/contrib/locust/locustfile.py
51@@ -11,8 +11,7 @@         self.client.get("/posts/2021-12-28K8S_private_gitlab_registry_using_podman.md")
52         self.client.get("/posts/2021-12-26Enable_NFS_on_K3S.md")
53         self.client.get("/posts/2020-08-22Moving_from_Github_to_Gilab_pages.md")
54         self.client.get("/posts/2020-07-14Friz_box_turned_off_DHCP.md")
55-        self.client.get("/posts/2020-07-12Road_to_local_K8S.md")
56+        self.client.get("/posts/2020-07-12Road_to_local_K3S.md")
57         self.client.get("/posts/2019-11-16Compiling_emacs_from_source_code_on_fedora.md")
58         self.client.get("/posts/2019-04-22Automating_desktop_setup_with_ansible-pull_part-2.md")
59         self.client.get("/posts/2019-03-07Automating_desktop_setup_with_ansible-pull_part-1.md")
60-        self.client.get("/posts/2019-04-22Ansible_part_2.md")
61diff --git a/src/blog.rs b/src/blog.rs
62index eaa314abab08acb9c96c1cf4b2e274c4da566819..a1586f8fa4eea24c83f086c589af9c8fd34f9c64 100644
63--- a/src/blog.rs
64+++ b/src/blog.rs
65@@ -18,7 +18,9 @@
66 fn get_file_content(path: &str) -> String {
67     let buffer = PostAsset::get(path).unwrap().data.into_owned();
68     let md = String::from_utf8(buffer).unwrap();
69-    let parser = Parser::new_ext(&md, Options::empty());
70+    let mut options = Options::empty();
71+    options.insert(Options::ENABLE_FOOTNOTES);
72+    let parser = Parser::new_ext(&md, options);
73     let mut html_output = &mut String::new();
74     html::push_html(&mut html_output, parser);
75     return html_output.to_string();
76diff --git a/src/router.rs b/src/router.rs
77index c196ab8419c1cf6fa71737e2083a8672ceb2251b..3227d66d789853ff4751bcd266e37aec3e78c99e 100644
78--- a/src/router.rs
79+++ b/src/router.rs
80@@ -1,5 +1,3 @@
81-use std::borrow::Borrow;
82-
83 use crate::assets::PostAsset;
84 use regex::Regex;
85