aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-02-14 22:35:47 +0300
committerValentin Popov <valentin@popov.link>2024-02-14 22:35:47 +0300
commit36c16318fa7f3162331e838320e95708f6925eb9 (patch)
tree5a3c1cc37d43dd5ec616d7fbff9573bfc6b08e3e
parentf8ce922640bda39e5ccbebbf4b12620872ee2f60 (diff)
downloadvalentineus.github.io-36c16318fa7f3162331e838320e95708f6925eb9.tar.xz
valentineus.github.io-36c16318fa7f3162331e838320e95708f6925eb9.zip
Cleaning the code
-rw-r--r--_data/contacts.yml7
-rw-r--r--_data/links.yml15
-rw-r--r--_includes/comments.html2
-rw-r--r--_includes/contacts.html11
-rw-r--r--_includes/links.html11
-rw-r--r--_includes/posts.html10
6 files changed, 1 insertions, 55 deletions
diff --git a/_data/contacts.yml b/_data/contacts.yml
deleted file mode 100644
index 479d0c8..0000000
--- a/_data/contacts.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-- title: "info@valentineus.link"
- description: "E-Mail"
- url: "mailto:info@valentineus.link"
-
-- title: "@valentineus"
- description: "Telegram"
- url: "https://t.me/valentineus"
diff --git a/_data/links.yml b/_data/links.yml
deleted file mode 100644
index 3b14522..0000000
--- a/_data/links.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-- title: "code.valentineus.link"
- description: "Code repositories"
- url: "https://code.valentineus.link"
-
-- title: "gist.valentineus.link"
- description: "PrivateBin"
- url: "https://gist.valentineus.link/"
-
-- title: "@valentineus"
- description: "GitHub"
- url: "https://github.com/valentineus"
-
-- title: "@valyaha"
- description: "Twitter"
- url: "https://twitter.com/valyaha"
diff --git a/_includes/comments.html b/_includes/comments.html
index aca3915..5d4a33a 100644
--- a/_includes/comments.html
+++ b/_includes/comments.html
@@ -1 +1 @@
-<script src="https://giscus.app/client.js" data-repo="valentineus/valentineus.github.io" data-repo-id="R_kgDOJfmscg" data-category="Announcements" data-category-id="DIC_kwDOJfmscs4CdNE6" data-mapping="title" data-strict="1" data-reactions-enabled="1" data-emit-metadata="0" data-input-position="top" data-theme="transparent_dark" data-lang="en" crossorigin="anonymous" async></script> \ No newline at end of file
+<script src="https://giscus.app/client.js" data-repo="valentineus/valentineus.github.io" data-repo-id="R_kgDOJfmscg" data-category="Announcements" data-category-id="DIC_kwDOJfmscs4CdNE6" data-mapping="title" data-strict="1" data-reactions-enabled="1" data-emit-metadata="0" data-input-position="bottom" data-theme="transparent_dark" data-lang="en" crossorigin="anonymous" async></script> \ No newline at end of file
diff --git a/_includes/contacts.html b/_includes/contacts.html
deleted file mode 100644
index 0eea581..0000000
--- a/_includes/contacts.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<h2>Contacts</h2>
-
-<ul>
- {%- for contact in site.data.contacts -%}
- <li>
- <a href="{{- contact.url | relative_url | url_escape -}}" target="_blank">{{- contact.title | strip | normalize_whitespace | xml_escape -}}</a>
- <span>&mdash;</span>
- <span>{{- contact.description | strip | normalize_whitespace | xml_escape -}}</span>
- </li>
- {%- endfor -%}
-</ul> \ No newline at end of file
diff --git a/_includes/links.html b/_includes/links.html
deleted file mode 100644
index 2fb95a1..0000000
--- a/_includes/links.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<h2>Related links</h2>
-
-<ul>
- {%- for link in site.data.links -%}
- <li>
- <a href="{{- link.url | relative_url | url_escape -}}" target="_blank">{{- link.title | strip | normalize_whitespace | xml_escape -}}</a>
- <span>&mdash;</span>
- <span>{{- link.description | strip | normalize_whitespace | xml_escape -}}</span>
- </li>
- {%- endfor -%}
-</ul> \ No newline at end of file
diff --git a/_includes/posts.html b/_includes/posts.html
deleted file mode 100644
index 1dd5670..0000000
--- a/_includes/posts.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<h2>Posts</h2>
-
-<ul>
- {%- for post in site.posts -%}
- <li>
- <a href="{{- post.url | relative_url | url_escape -}}">{{- post.title | strip | normalize_whitespace | xml_escape -}}</a>
- (<time datetime="{{- post.date | date_to_xmlschema | xml_escape -}}">{{- post.date | date: '%d-%m-%Y' | strip | normalize_whitespace | xml_escape -}}</time>)
- </li>
- {%- endfor -%}
-</ul> \ No newline at end of file