Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commite874610a2fea74703e881a21c1a4a8b692fd8bc7 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-04 18:19:47 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-04 18:19:47 +0300
Files886008e51de3a73893141b2c740b9ef01a15ae92
syndamia.com-e874610a2fea74703e881a21c1a4a8b692fd8bc7.tar
syndamia.com-e874610a2fea74703e881a21c1a4a8b692fd8bc7.tar.gz
syndamia.com-e874610a2fea74703e881a21c1a4a8b692fd8bc7.zip
Parent9ec2707249dbe40438d07fb45f331760994feadf (diff)
Giant rework of how file lists are made
10 files changed, 433 insertions, 305 deletions
-rwxr-xr-xgenerate-dev.sh1
-rwxr-xr-xmake-file-lists.sh47
-rw-r--r--src/archives.md146
-rw-r--r--src/archives/index.md146
-rw-r--r--src/docs.md109
-rw-r--r--src/docs/index.md109
-rw-r--r--src/img/folder-minus-tabler.svg58
-rw-r--r--src/img/folder-plus-tabler.svg65
-rw-r--r--src/index.md34
-rw-r--r--src/styles.css23
diff --git a/generate-dev.sh b/generate-dev.sh
index c558650..4d2478b 100755
--- a/generate-dev.sh
+++ b/generate-dev.sh
@@ -14,6 +14,7 @@ sudo ssg6 src /var/www/synd/ "Syndamia" "https://www.syndamia.com"
sudo ./make-titles.sh /var/www/synd
sudo ./make-descriptions.sh /var/www/synd
+sudo ./make-file-lists.sh /var/www/synd
#
# Tiny version
diff --git a/make-file-lists.sh b/make-file-lists.sh
new file mode 100755
index 0000000..3952728
--- /dev/null
+++ b/make-file-lists.sh
@@ -0,0 +1,47 @@
+#!/bin/bash
+
+# This is a really rudementary way to make making file lists less HTML-y
+# I made it so:
+# 1) You don't have to write quite as much HTML
+# 2) The Data columns for each file get to be formatted as Markdown (<td> is not recognized as a block-level element, so the stuff inside get formatted https://kristaps.bsd.lv/lowdown/lowdown.5.html#HTML_Blocks)
+
+# Very roughly, each file list has the same structure:
+# <details><summary>Folder Info</summary> <table> <tr>File Data</tr> </table> </details>
+
+# In Markdown you type in something like (without the "# " in front):
+#
+# &&fos
+# Description
+# &&fs0
+# <td>Data 1</td>
+# <td>Data 1.1</td>
+# <td>Data 1.2</td>
+# &&fs
+# <td>Data 2</td>
+# <td>Data 2.1</td>
+# <td>Data 2.2</td>
+# &&fod
+#
+# And the lines starting with && (I'll call them ftags) get replaced by some HTML. The <td></td> around each file Data is mandatory.
+# &&fs0 must only be used on before the very first file data. There must be no empty lines, lines mustn't start with spaces, there mustn't be anything around ftags and ftags have to be on their own lines.
+# The commands have intuitive abbreviations:
+# &&fos folder start
+# &&fs0 file start of first file
+# &&fs file start
+# &&fod folder end
+
+if [ -z "$1" ]; then
+ echo First parameter must be a path
+ exit
+fi
+
+for file in $(find "$1" -type f -name "*.html"); do
+ # Replaces "&&fos" with "<details class="file-wrapper"><summary>"
+ sed -i 's/^<p>&#38;&#38;fos$/<details class="file-wrapper"><summary>/g' "$file"
+ # Replaces "&&fs0" with "</summary><table class="file-list"><tr>"
+ sed -i 's/^&#38;&#38;fs0$/<\/summary><table class="file-list"><tr>/g' "$file"
+ # Replaces "&&fs" with "</tr><tr>"
+ sed -i 's/^&#38;&#38;fs$/<\/tr><tr>/g' "$file"
+ # Replaces "&&fod" with "</tr></table></details>"
+ sed -i 's/^&#38;&#38;fod<\/p>$/<\/tr><\/table><\/details>/g' "$file"
+done
diff --git a/src/archives.md b/src/archives.md
index e739663..8f29c30 100644
--- a/src/archives.md
+++ b/src/archives.md
@@ -7,81 +7,73 @@ A wide variety of files (not made by me) that are hosted on my server for digita
*Work here is under no license. If you believe something is infringing on your Copyright/Copyleft, please [Contact Me](/about) immediately with a method, listed under the "Work contact" section.*
-<img class="file-icon unzoomable" src="/img/folder-tabler.svg"> Scanned manual of the Soviet Analog Multimeter [43208-У](http://radioamator.ru/izmereniya/multimetry-testery/221-kombinirovannyj-pribor-43208-u-osobennosti-skhemy-i-remonta) (in russian)
-<table class="file-list">
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Прибор электроизмерительный комбинированный типа 43208-У](/files/43208-У/43208-У.pdf)</td>
- <td>1991-10-14 00:00</td>
- <td>PDF</td>
- <td>35M</td>
- </tr>
-</table>
+&&fos
+Scanned manual of the Soviet Analog Multimeter [43208-У](http://radioamator.ru/izmereniya/multimetry-testery/221-kombinirovannyj-pribor-43208-u-osobennosti-skhemy-i-remonta) (in russian)
+&&fs0
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Прибор электроизмерительный комбинированный типа 43208-У](/files/43208-У/43208-У.pdf)</td>
+<td>1991-10-14 00:00</td>
+<td>PDF</td>
+<td>35M</td>
+&&fs
+&&fod
-<img class="file-icon unzoomable" src="/img/folder-tabler.svg"> [Bryan Lunduke](https://lunduke.substack.com/) || Odysee content
-<table class="file-list">
- <tr>
- <td><img class="file-icon unzoomable" src="/img/photo-tabler.svg"></td>
- <td>[Programmers can't play Nintendo games...](/files/lunduke/25a5dc.jpeg)</td>
- <td>2021-04-26 05:20</td>
- <td>JPEG</td>
- <td>217K</td>
- <td>[src](https://odysee.com/Lunduke-2021-04-25-SwitchCaseBreak:d)</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
- <td>[In Defense of Richard Stallman](/files/lunduke/200763902_DefenseofStallman.mp4)</td>
- <td>2021-03-24 08:30</td>
- <td>MP4</td>
- <td>76M</td>
- <td>[src](https://odysee.com/DefenseofStallman:9)</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/photo-tabler.svg"></td>
- <td>[I'm giving up. Exiting Vim.](/files/lunduke/410260814_Lunduke-2021-04-28-ExitingVIM.jpg)</td>
- <td>2021-04-28 09:40</td>
- <td>JPEG</td>
- <td>110K</td>
- <td>[src](https://odysee.com/Lunduke-2021-04-28-ExitingVIM:1)</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
- <td>[Computers Should Be Fun](/files/lunduke/209398324_ComputersShouldBeFun.mp4)</td>
- <td>2021-03-12 03:00</td>
- <td>MP4</td>
- <td>37M</td>
- <td>[src](https://odysee.com/ComputersShouldBeFun:9)</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
- <td>[IBM (and Red Hat) employees not allowed to use email for personal hobbies?](/files/lunduke/456567373_IBMHobbies.mp4)</td>
- <td>2021-04-21 02:30</td>
- <td>MP4</td>
- <td>23M</td>
- <td>[src](https://odysee.com/IBMHobbies:9)</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
- <td>[The Windows 2000 Launch (and the party)](/files/lunduke/630259980_Win2KLaunch.mp4)</td>
- <td>2021-04-15 12:00</td>
- <td>MP4</td>
- <td>50M</td>
- <td>[src](https://odysee.com/Win2KLaunch:d)</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
- <td>[Mozilla Firefox drops FTP. Focuses on DRM, Censorship](/files/lunduke/687036626_FirefoxDropsFTP.mp4)</td>
- <td>2021-04-21 02:20</td>
- <td>MP4</td>
- <td>16M</td>
- <td>[src](https://odysee.com/FirefoxDropsFTP:f)</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/markdown-tabler.svg"></td>
- <td>[Lunduke condemns LBRY & Odysee](/files/lunduke/condemn-odysee.md)</td>
- <td>2021-08-09 06:30</td>
- <td>Md</td>
- <td>7.9K</td>
- <td>[src](https://odysee.com/condemn-odysee:2)</td>
- </tr>
-</table>
+&&fos
+[Bryan Lunduke](https://lunduke.substack.com/) || Odysee content
+&&fs0
+<td><img class="file-icon unzoomable" src="/img/photo-tabler.svg"></td>
+<td>[Programmers can't play Nintendo games...](/files/lunduke/25a5dc.jpeg)</td>
+<td>2021-04-26 05:20</td>
+<td>JPEG</td>
+<td>217K</td>
+<td>[src](https://odysee.com/Lunduke-2021-04-25-SwitchCaseBreak:d)</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
+<td>[In Defense of Richard Stallman](/files/lunduke/200763902_DefenseofStallman.mp4)</td>
+<td>2021-03-24 08:30</td>
+<td>MP4</td>
+<td>76M</td>
+<td>[src](https://odysee.com/DefenseofStallman:9)</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/photo-tabler.svg"></td>
+<td>[I'm giving up. Exiting Vim.](/files/lunduke/410260814_Lunduke-2021-04-28-ExitingVIM.jpg)</td>
+<td>2021-04-28 09:40</td>
+<td>JPEG</td>
+<td>110K</td>
+<td>[src](https://odysee.com/Lunduke-2021-04-28-ExitingVIM:1)</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
+<td>[Computers Should Be Fun](/files/lunduke/209398324_ComputersShouldBeFun.mp4)</td>
+<td>2021-03-12 03:00</td>
+<td>MP4</td>
+<td>37M</td>
+<td>[src](https://odysee.com/ComputersShouldBeFun:9)</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
+<td>[IBM (and Red Hat) employees not allowed to use email for personal hobbies?](/files/lunduke/456567373_IBMHobbies.mp4)</td>
+<td>2021-04-21 02:30</td>
+<td>MP4</td>
+<td>23M</td>
+<td>[src](https://odysee.com/IBMHobbies:9)</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
+<td>[The Windows 2000 Launch (and the party)](/files/lunduke/630259980_Win2KLaunch.mp4)</td>
+<td>2021-04-15 12:00</td>
+<td>MP4</td>
+<td>50M</td>
+<td>[src](https://odysee.com/Win2KLaunch:d)</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
+<td>[Mozilla Firefox drops FTP. Focuses on DRM, Censorship](/files/lunduke/687036626_FirefoxDropsFTP.mp4)</td>
+<td>2021-04-21 02:20</td>
+<td>MP4</td>
+<td>16M</td>
+<td>[src](https://odysee.com/FirefoxDropsFTP:f)</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/markdown-tabler.svg"></td>
+<td>[Lunduke condemns LBRY & Odysee](/files/lunduke/condemn-odysee.md)</td>
+<td>2021-08-09 06:30</td>
+<td>Md</td>
+<td>7.9K</td>
+<td>[src](https://odysee.com/condemn-odysee:2)</td>
+&&fod
diff --git a/src/archives/index.md b/src/archives/index.md
index e739663..8f29c30 100644
--- a/src/archives/index.md
+++ b/src/archives/index.md
@@ -7,81 +7,73 @@ A wide variety of files (not made by me) that are hosted on my server for digita
*Work here is under no license. If you believe something is infringing on your Copyright/Copyleft, please [Contact Me](/about) immediately with a method, listed under the "Work contact" section.*
-<img class="file-icon unzoomable" src="/img/folder-tabler.svg"> Scanned manual of the Soviet Analog Multimeter [43208-У](http://radioamator.ru/izmereniya/multimetry-testery/221-kombinirovannyj-pribor-43208-u-osobennosti-skhemy-i-remonta) (in russian)
-<table class="file-list">
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Прибор электроизмерительный комбинированный типа 43208-У](/files/43208-У/43208-У.pdf)</td>
- <td>1991-10-14 00:00</td>
- <td>PDF</td>
- <td>35M</td>
- </tr>
-</table>
+&&fos
+Scanned manual of the Soviet Analog Multimeter [43208-У](http://radioamator.ru/izmereniya/multimetry-testery/221-kombinirovannyj-pribor-43208-u-osobennosti-skhemy-i-remonta) (in russian)
+&&fs0
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Прибор электроизмерительный комбинированный типа 43208-У](/files/43208-У/43208-У.pdf)</td>
+<td>1991-10-14 00:00</td>
+<td>PDF</td>
+<td>35M</td>
+&&fs
+&&fod
-<img class="file-icon unzoomable" src="/img/folder-tabler.svg"> [Bryan Lunduke](https://lunduke.substack.com/) || Odysee content
-<table class="file-list">
- <tr>
- <td><img class="file-icon unzoomable" src="/img/photo-tabler.svg"></td>
- <td>[Programmers can't play Nintendo games...](/files/lunduke/25a5dc.jpeg)</td>
- <td>2021-04-26 05:20</td>
- <td>JPEG</td>
- <td>217K</td>
- <td>[src](https://odysee.com/Lunduke-2021-04-25-SwitchCaseBreak:d)</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
- <td>[In Defense of Richard Stallman](/files/lunduke/200763902_DefenseofStallman.mp4)</td>
- <td>2021-03-24 08:30</td>
- <td>MP4</td>
- <td>76M</td>
- <td>[src](https://odysee.com/DefenseofStallman:9)</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/photo-tabler.svg"></td>
- <td>[I'm giving up. Exiting Vim.](/files/lunduke/410260814_Lunduke-2021-04-28-ExitingVIM.jpg)</td>
- <td>2021-04-28 09:40</td>
- <td>JPEG</td>
- <td>110K</td>
- <td>[src](https://odysee.com/Lunduke-2021-04-28-ExitingVIM:1)</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
- <td>[Computers Should Be Fun](/files/lunduke/209398324_ComputersShouldBeFun.mp4)</td>
- <td>2021-03-12 03:00</td>
- <td>MP4</td>
- <td>37M</td>
- <td>[src](https://odysee.com/ComputersShouldBeFun:9)</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
- <td>[IBM (and Red Hat) employees not allowed to use email for personal hobbies?](/files/lunduke/456567373_IBMHobbies.mp4)</td>
- <td>2021-04-21 02:30</td>
- <td>MP4</td>
- <td>23M</td>
- <td>[src](https://odysee.com/IBMHobbies:9)</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
- <td>[The Windows 2000 Launch (and the party)](/files/lunduke/630259980_Win2KLaunch.mp4)</td>
- <td>2021-04-15 12:00</td>
- <td>MP4</td>
- <td>50M</td>
- <td>[src](https://odysee.com/Win2KLaunch:d)</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
- <td>[Mozilla Firefox drops FTP. Focuses on DRM, Censorship](/files/lunduke/687036626_FirefoxDropsFTP.mp4)</td>
- <td>2021-04-21 02:20</td>
- <td>MP4</td>
- <td>16M</td>
- <td>[src](https://odysee.com/FirefoxDropsFTP:f)</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/markdown-tabler.svg"></td>
- <td>[Lunduke condemns LBRY & Odysee](/files/lunduke/condemn-odysee.md)</td>
- <td>2021-08-09 06:30</td>
- <td>Md</td>
- <td>7.9K</td>
- <td>[src](https://odysee.com/condemn-odysee:2)</td>
- </tr>
-</table>
+&&fos
+[Bryan Lunduke](https://lunduke.substack.com/) || Odysee content
+&&fs0
+<td><img class="file-icon unzoomable" src="/img/photo-tabler.svg"></td>
+<td>[Programmers can't play Nintendo games...](/files/lunduke/25a5dc.jpeg)</td>
+<td>2021-04-26 05:20</td>
+<td>JPEG</td>
+<td>217K</td>
+<td>[src](https://odysee.com/Lunduke-2021-04-25-SwitchCaseBreak:d)</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
+<td>[In Defense of Richard Stallman](/files/lunduke/200763902_DefenseofStallman.mp4)</td>
+<td>2021-03-24 08:30</td>
+<td>MP4</td>
+<td>76M</td>
+<td>[src](https://odysee.com/DefenseofStallman:9)</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/photo-tabler.svg"></td>
+<td>[I'm giving up. Exiting Vim.](/files/lunduke/410260814_Lunduke-2021-04-28-ExitingVIM.jpg)</td>
+<td>2021-04-28 09:40</td>
+<td>JPEG</td>
+<td>110K</td>
+<td>[src](https://odysee.com/Lunduke-2021-04-28-ExitingVIM:1)</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
+<td>[Computers Should Be Fun](/files/lunduke/209398324_ComputersShouldBeFun.mp4)</td>
+<td>2021-03-12 03:00</td>
+<td>MP4</td>
+<td>37M</td>
+<td>[src](https://odysee.com/ComputersShouldBeFun:9)</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
+<td>[IBM (and Red Hat) employees not allowed to use email for personal hobbies?](/files/lunduke/456567373_IBMHobbies.mp4)</td>
+<td>2021-04-21 02:30</td>
+<td>MP4</td>
+<td>23M</td>
+<td>[src](https://odysee.com/IBMHobbies:9)</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
+<td>[The Windows 2000 Launch (and the party)](/files/lunduke/630259980_Win2KLaunch.mp4)</td>
+<td>2021-04-15 12:00</td>
+<td>MP4</td>
+<td>50M</td>
+<td>[src](https://odysee.com/Win2KLaunch:d)</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/movie-tabler.svg"></td>
+<td>[Mozilla Firefox drops FTP. Focuses on DRM, Censorship](/files/lunduke/687036626_FirefoxDropsFTP.mp4)</td>
+<td>2021-04-21 02:20</td>
+<td>MP4</td>
+<td>16M</td>
+<td>[src](https://odysee.com/FirefoxDropsFTP:f)</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/markdown-tabler.svg"></td>
+<td>[Lunduke condemns LBRY & Odysee](/files/lunduke/condemn-odysee.md)</td>
+<td>2021-08-09 06:30</td>
+<td>Md</td>
+<td>7.9K</td>
+<td>[src](https://odysee.com/condemn-odysee:2)</td>
+&&fod
diff --git a/src/docs.md b/src/docs.md
index 4980c6c..33282fd 100644
--- a/src/docs.md
+++ b/src/docs.md
@@ -10,63 +10,56 @@ A list of documents that are made by me and are hosted on my server.
**Със сигурност е възможно да има грешки и неточности във файловете, изполвайте внимателно!**
-<img class="file-icon unzoomable" src="/img/folder-tabler.svg"> Алгебра 1 (Линейна алгебра, Зимен семестър, 2021/2022)
-<table class="file-list">
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Домашна работа 1](/files/uni-work/algebra1/hw1-checked.pdf) (проверено)</td>
- <td>2021-11-12 00:00</td>
- <td>PDF</td>
- <td>116K</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Домашна работа 2](/files/uni-work/algebra1/hw2-checked.pdf) (проверено)</td>
- <td>2021-11-12 00:00</td>
- <td>PDF</td>
- <td>116K</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Домашна работа 3](/files/uni-work/algebra1/hw3-checked.pdf) (проверено)</td>
- <td>2022-01-03 00:00</td>
- <td>PDF</td>
- <td>151K</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Разписани теми](/files/uni-work/algebra1/topics.pdf) (за устен изпит)</td>
- <td>2022-02-05 00:00</td>
- <td>PDF</td>
- <td>281K</td>
- </tr>
-</table>
+&&fos
+Алгебра 1 (Линейна алгебра, Зимен семестър, 2021/2022)
+&&fs0
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Домашна работа 1](/files/uni-work/algebra1/hw1-checked.pdf) (проверено)</td>
+<td>2021-11-12 00:00</td>
+<td>PDF</td>
+<td>116K</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Домашна работа 2](/files/uni-work/algebra1/hw2-checked.pdf) (проверено)</td>
+<td>2021-11-12 00:00</td>
+<td>PDF</td>
+<td>116K</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Домашна работа 3](/files/uni-work/algebra1/hw3-checked.pdf) (проверено)</td>
+<td>2022-01-03 00:00</td>
+<td>PDF</td>
+<td>151K</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Разписани теми](/files/uni-work/algebra1/topics.pdf) (за устен изпит)</td>
+<td>2022-02-05 00:00</td>
+<td>PDF</td>
+<td>281K</td>
+&&fod
-<img class="file-icon unzoomable" src="/img/folder-tabler.svg"> ДИС 1 (Диференциално и интегрално смятане, Зимен семестър, 2021/2022)
-<table class="file-list">
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Записки върху материала](/files/uni-work/dis1/notes.pdf)</td>
- <td>2022-01-15 10:00</td>
- <td>PDF</td>
- <td>116K</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Основни доказателства](/files/uni-work/dis1/notes-appendix.pdf)</td>
- <td>2022-01-31 15:14</td>
- <td>PDF</td>
- <td>105K</td>
- </tr>
-</table>
+&&fos
+ДИС 1 (Диференциално и интегрално смятане, Зимен семестър, 2021/2022)
+&&fs0
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Записки върху материала](/files/uni-work/dis1/notes.pdf)</td>
+<td>2022-01-15 10:00</td>
+<td>PDF</td>
+<td>116K</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Основни доказателства](/files/uni-work/dis1/notes-appendix.pdf)</td>
+<td>2022-01-31 15:14</td>
+<td>PDF</td>
+<td>105K</td>
+&&fod
-<img class="file-icon unzoomable" src="/img/folder-tabler.svg"> ДСТР (Дискретни структури, Зимен семестър, 2021/2022)
-<table class="file-list">
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Записки върху материала](/files/uni-work/dstr/notes.pdf)</td>
- <td>2022-01-15 10:00</td>
- <td>PDF</td>
- <td>97K</td>
- </tr>
-</table>
+&&fos
+ДСТР (Дискретни структури, Зимен семестър, 2021/2022)
+&&fs0
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Записки върху материала](/files/uni-work/dstr/notes.pdf)</td>
+<td>2022-01-15 10:00</td>
+<td>PDF</td>
+<td>97K</td>
+&&fod
diff --git a/src/docs/index.md b/src/docs/index.md
index 4980c6c..33282fd 100644
--- a/src/docs/index.md
+++ b/src/docs/index.md
@@ -10,63 +10,56 @@ A list of documents that are made by me and are hosted on my server.
**Със сигурност е възможно да има грешки и неточности във файловете, изполвайте внимателно!**
-<img class="file-icon unzoomable" src="/img/folder-tabler.svg"> Алгебра 1 (Линейна алгебра, Зимен семестър, 2021/2022)
-<table class="file-list">
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Домашна работа 1](/files/uni-work/algebra1/hw1-checked.pdf) (проверено)</td>
- <td>2021-11-12 00:00</td>
- <td>PDF</td>
- <td>116K</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Домашна работа 2](/files/uni-work/algebra1/hw2-checked.pdf) (проверено)</td>
- <td>2021-11-12 00:00</td>
- <td>PDF</td>
- <td>116K</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Домашна работа 3](/files/uni-work/algebra1/hw3-checked.pdf) (проверено)</td>
- <td>2022-01-03 00:00</td>
- <td>PDF</td>
- <td>151K</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Разписани теми](/files/uni-work/algebra1/topics.pdf) (за устен изпит)</td>
- <td>2022-02-05 00:00</td>
- <td>PDF</td>
- <td>281K</td>
- </tr>
-</table>
+&&fos
+Алгебра 1 (Линейна алгебра, Зимен семестър, 2021/2022)
+&&fs0
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Домашна работа 1](/files/uni-work/algebra1/hw1-checked.pdf) (проверено)</td>
+<td>2021-11-12 00:00</td>
+<td>PDF</td>
+<td>116K</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Домашна работа 2](/files/uni-work/algebra1/hw2-checked.pdf) (проверено)</td>
+<td>2021-11-12 00:00</td>
+<td>PDF</td>
+<td>116K</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Домашна работа 3](/files/uni-work/algebra1/hw3-checked.pdf) (проверено)</td>
+<td>2022-01-03 00:00</td>
+<td>PDF</td>
+<td>151K</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Разписани теми](/files/uni-work/algebra1/topics.pdf) (за устен изпит)</td>
+<td>2022-02-05 00:00</td>
+<td>PDF</td>
+<td>281K</td>
+&&fod
-<img class="file-icon unzoomable" src="/img/folder-tabler.svg"> ДИС 1 (Диференциално и интегрално смятане, Зимен семестър, 2021/2022)
-<table class="file-list">
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Записки върху материала](/files/uni-work/dis1/notes.pdf)</td>
- <td>2022-01-15 10:00</td>
- <td>PDF</td>
- <td>116K</td>
- </tr>
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Основни доказателства](/files/uni-work/dis1/notes-appendix.pdf)</td>
- <td>2022-01-31 15:14</td>
- <td>PDF</td>
- <td>105K</td>
- </tr>
-</table>
+&&fos
+ДИС 1 (Диференциално и интегрално смятане, Зимен семестър, 2021/2022)
+&&fs0
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Записки върху материала](/files/uni-work/dis1/notes.pdf)</td>
+<td>2022-01-15 10:00</td>
+<td>PDF</td>
+<td>116K</td>
+&&fs
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Основни доказателства](/files/uni-work/dis1/notes-appendix.pdf)</td>
+<td>2022-01-31 15:14</td>
+<td>PDF</td>
+<td>105K</td>
+&&fod
-<img class="file-icon unzoomable" src="/img/folder-tabler.svg"> ДСТР (Дискретни структури, Зимен семестър, 2021/2022)
-<table class="file-list">
- <tr>
- <td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
- <td>[Записки върху материала](/files/uni-work/dstr/notes.pdf)</td>
- <td>2022-01-15 10:00</td>
- <td>PDF</td>
- <td>97K</td>
- </tr>
-</table>
+&&fos
+ДСТР (Дискретни структури, Зимен семестър, 2021/2022)
+&&fs0
+<td><img class="file-icon unzoomable" src="/img/file-text-tabler.svg"></td>
+<td>[Записки върху материала](/files/uni-work/dstr/notes.pdf)</td>
+<td>2022-01-15 10:00</td>
+<td>PDF</td>
+<td>97K</td>
+&&fod
diff --git a/src/img/folder-minus-tabler.svg b/src/img/folder-minus-tabler.svg
new file mode 100644
index 0000000..a391c46
--- /dev/null
+++ b/src/img/folder-minus-tabler.svg
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ class="icon icon-tabler icon-tabler-folder-minus"
+ width="24"
+ height="24"
+ viewBox="0 0 24 24"
+ stroke-width="2"
+ stroke="currentColor"
+ fill="none"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ version="1.1"
+ id="svg10"
+ sodipodi:docname="folder-minus-tabler.svg"
+ inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <defs
+ id="defs14" />
+ <sodipodi:namedview
+ id="namedview12"
+ pagecolor="#505050"
+ bordercolor="#eeeeee"
+ borderopacity="1"
+ inkscape:pageshadow="0"
+ inkscape:pageopacity="0"
+ inkscape:pagecheckerboard="0"
+ showgrid="false"
+ inkscape:zoom="37.125"
+ inkscape:cx="12.013468"
+ inkscape:cy="12.013468"
+ inkscape:window-width="1920"
+ inkscape:window-height="1053"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg10" />
+ <desc
+ id="desc2">Download more icon variants from https://tabler-icons.io/i/folder-minus</desc>
+ <path
+ stroke="none"
+ d="M0 0h24v24H0z"
+ fill="none"
+ id="path4" />
+ <path
+ d="m 5,4 h 4 l 3,3 h 7 a 2,2 0 0 1 2,2 v 8 a 2,2 0 0 1 -2,2 H 5 A 2,2 0 0 1 3,17 V 6 A 2,2 0 0 1 5,4"
+ id="path6"
+ style="stroke:#ffeede" />
+ <line
+ x1="9"
+ y1="13"
+ x2="15"
+ y2="13"
+ id="line8"
+ style="stroke:#ffeede" />
+</svg>
diff --git a/src/img/folder-plus-tabler.svg b/src/img/folder-plus-tabler.svg
new file mode 100644
index 0000000..ede9b24
--- /dev/null
+++ b/src/img/folder-plus-tabler.svg
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ class="icon icon-tabler icon-tabler-folder-plus"
+ width="24"
+ height="24"
+ viewBox="0 0 24 24"
+ stroke-width="2"
+ stroke="currentColor"
+ fill="none"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ version="1.1"
+ id="svg12"
+ sodipodi:docname="folder-plus-tabler.svg"
+ inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <defs
+ id="defs16" />
+ <sodipodi:namedview
+ id="namedview14"
+ pagecolor="#505050"
+ bordercolor="#eeeeee"
+ borderopacity="1"
+ inkscape:pageshadow="0"
+ inkscape:pageopacity="0"
+ inkscape:pagecheckerboard="0"
+ showgrid="false"
+ inkscape:zoom="37.125"
+ inkscape:cx="12.013468"
+ inkscape:cy="12.013468"
+ inkscape:window-width="1920"
+ inkscape:window-height="1053"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg12" />
+ <desc
+ id="desc2">Download more icon variants from https://tabler-icons.io/i/folder-plus</desc>
+ <path
+ stroke="none"
+ d="M0 0h24v24H0z"
+ fill="none"
+ id="path4" />
+ <path
+ d="m 5,4 h 4 l 3,3 h 7 a 2,2 0 0 1 2,2 v 8 a 2,2 0 0 1 -2,2 H 5 A 2,2 0 0 1 3,17 V 6 A 2,2 0 0 1 5,4"
+ id="path6"
+ style="stroke:#ffeede" />
+ <line
+ x1="12"
+ y1="10"
+ x2="12"
+ y2="16"
+ id="line8"
+ style="stroke:#ffeede" />
+ <line
+ x1="9"
+ y1="13"
+ x2="15"
+ y2="13"
+ id="line10"
+ style="stroke:#ffeede" />
+</svg>
diff --git a/src/index.md b/src/index.md
deleted file mode 100644
index 46ad95b..0000000
--- a/src/index.md
+++ /dev/null
@@ -1,34 +0,0 @@
-# Welcome
-
----
----
-
-<div id="index-contents">
- <img id="index-contents-img" class="borderless" src="./img/16-better-colors.jpeg" alt="">
- <div id="index-contents-text">
- <p>Hello! My name is Kamen Mladenov and I am a computer science student.</p>
- <p>This is my website and personal playing ground. Currently it only hosts some articles and documnets, but hopefully there will be much more in the future.</p>
- <p>
- <a class="borderless" href="https://observatory.mozilla.org/analyze/syndamia.com"><img class="borderless unzoomable" src="https://img.shields.io/mozilla-observatory/grade-score/syndamia.com" alt="Mozilla Observatory"></a>
- <a class="borderless" href="https://securityheaders.com/?q=syndamia.com&followRedirects=on"><img class="borderless unzoomable" src="https://img.shields.io/security-headers?url=https%3A%2F%2Fsyndamia.com" alt="Security Headers"></a>
- <a class="borderless" href="https://hstspreload.org/?domain=syndamia.com"><img class="borderless unzoomable" src="https://img.shields.io/hsts/preload/syndamia.com" alt="HSTS"></a>
- <br>
- <!-- http://devel.ringlet.net/ -->
- <a class="borderless" href="https://www.vim.org/"><img class="oldschool-badge unzoomable" src="./img/created.with.vim.gif" alt="Created With VIM"></a>
- <a class="borderless" href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fsyndamia.com%2F"><img class="oldschool-badge unzoomable" src="./img/valid-html401-v.svg" alt="W3C Valid HTML"></a>
- <a class="borderless" href="https://jigsaw.w3.org/css-validator/validator?uri=syndamia.com%2Fstyles.css&profile=css3svg&usermedium=all&warning=1&vextwarning=&lang=en"><img class="oldschool-badge unzoomable" src="./img/valid-css-v.svg" alt="W3C Valid CSS"></a>
- </br>
- <a class="borderless" href="/license.html"><img class="oldschool-badge unzoomable" src="/img/cc-by-sa.svg"></a>
- <a class="borderless" href="/license.html"><img class="oldschool-badge unzoomable" src="./img/shieldsio-MIT-gray.svg"></a>
- </p>
- </div>
-</div>
-
-<p></p>
-
-|||
-|---|---|
-|About the website| [Website policies](/policies.html) \|\| [Detailed usage of JavaScript](/regarding-js.html) \|\| [License](/license.html) \|\| [Acknowledgements](/acknowledgements.html)|
-|Services|[Digital preservation (Archives)](/archives)|
-|Content by me|[Documents](/docs) \|\| [Blog](/blog) \|\| [Tutorials](/tutorials)|
-|||
diff --git a/src/styles.css b/src/styles.css
index 06c308e..66cb5e1 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -375,12 +375,33 @@ blockquote > :last-child {
/* File tables */
+.file-wrapper {
+ margin: 0.5em 0;
+}
+
+.file-wrapper > summary {
+ background: url('/img/folder-plus-tabler.svg') no-repeat left top;
+ list-style: none;
+ padding-left: 1.5em;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+
+.file-wrapper[open] > summary {
+ background: url('/img/folder-minus-tabler.svg') no-repeat left top;
+}
+
+.file-wrapper > summary:hover {
+ cursor: pointer;
+}
+
.file-list {
table-layout: auto;
border-collapse: collapse;
margin-left: 1.5em;
width: auto;
- margin-top: -0.9em;
}
.file-list td, .file-list tr {