diff options
author | davidovski <david@davidovski.xyz> | 2023-07-21 11:05:15 +0200 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-07-21 11:05:15 +0200 |
commit | a85890b3e6a5b678b47e1964731ad00cf4645f04 (patch) | |
tree | da6f266e1dcfeccf82b8367aac0141dcefb12538 /index.html | |
parent | ed5d2fa43ec7508b3356712bae45dc50f27db9ef (diff) |
move non-executables to site subdir
Diffstat (limited to 'index.html')
-rwxr-xr-x | index.html | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/index.html b/index.html deleted file mode 100755 index 080a484..0000000 --- a/index.html +++ /dev/null @@ -1,43 +0,0 @@ -#!./page.sh - -cat << EOF -<div class="grid"> - <div class="about"> - - <p>Hi, I'm david and this is my website.</p> - - <p>if you want to contact me, you can message me on matrix <code>@ix:davidovski.xyz</code>.</p> - </div> - - <div class="image"> - <img src="/images/remotecontrol.gif"> - </div> -</div> - -EOF - -cat << EOF - <div> - <h2>blog posts</h2> - - <ul> -EOF -# list all the files in the directory -for file in entries/*.html; do - title="$(grep '^# ' $file)" - title=${title#\# } - - printf " -<li class=\"entry\"> -<a href=\"%s\"> - <div class=\"small\">%s</div> - <span>%s</span> -</a> -</li> -" "${file%.*}.html" "$(stat -c %z "$file")" "$title" - done - -cat << EOF - </ul> - </div> -EOF |