aboutsummaryrefslogtreecommitdiff
path: root/_includes
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 /_includes
parentf8ce922640bda39e5ccbebbf4b12620872ee2f60 (diff)
downloadpopov.link-36c16318fa7f3162331e838320e95708f6925eb9.tar.xz
popov.link-36c16318fa7f3162331e838320e95708f6925eb9.zip
Cleaning the code
Diffstat (limited to '_includes')
-rw-r--r--_includes/comments.html2
-rw-r--r--_includes/contacts.html11
-rw-r--r--_includes/links.html11
-rw-r--r--_includes/posts.html10
4 files changed, 1 insertions, 33 deletions
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