forked from nat/webbed-site
minor improvements, make all* images links
This commit is contained in:
parent
5c502a9ac3
commit
a8afbedae6
@ -28,3 +28,4 @@
|
|||||||
2024-08-09: tidy server directory, fix back button
|
2024-08-09: tidy server directory, fix back button
|
||||||
2024-08-09: fix css issue on homepage
|
2024-08-09: fix css issue on homepage
|
||||||
2024-08-09: fix thoughts not displaying in correct order
|
2024-08-09: fix thoughts not displaying in correct order
|
||||||
|
2026-08-19: rewrite .*-info pages, add footer, update home.html, make all* images links
|
||||||
|
BIN
files/88x31/trans.png
Normal file
BIN
files/88x31/trans.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 477 B |
Binary file not shown.
Before Width: | Height: | Size: 2.1 KiB |
@ -4,6 +4,8 @@ $[echo visit >> files/home_visit_counter]
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta property="og:title" content="Natalieee.net" />
|
||||||
|
<meta property="og:image" content="natalieee.net/files/natalieee.net.png" />
|
||||||
<style>
|
<style>
|
||||||
$[cat style.css]
|
$[cat style.css]
|
||||||
/* appended to maintain html spec compliance while maintaining the consequences of albert's hack */
|
/* appended to maintain html spec compliance while maintaining the consequences of albert's hack */
|
||||||
@ -40,7 +42,6 @@ $[echo visit >> files/home_visit_counter]
|
|||||||
<p>
|
<p>
|
||||||
I'm Natalie[ee].<br>
|
I'm Natalie[ee].<br>
|
||||||
$[find files/homepage-statements/* | shuf -n1 | xargs -I % cat %]<br>
|
$[find files/homepage-statements/* | shuf -n1 | xargs -I % cat %]<br>
|
||||||
home.html was last modified on $[stat -c %y ./home.html | head -c 10].<br>
|
|
||||||
I am not sure what I am going to use this site for, it only exists because I was <del>procrastinating my calculus homework</del> bored one day.<br>
|
I am not sure what I am going to use this site for, it only exists because I was <del>procrastinating my calculus homework</del> bored one day.<br>
|
||||||
Website homepage visit counter: $[cat files/home_visit_counter | wc -l]
|
Website homepage visit counter: $[cat files/home_visit_counter | wc -l]
|
||||||
</p>
|
</p>
|
||||||
@ -54,6 +55,7 @@ $[echo visit >> files/home_visit_counter]
|
|||||||
<a href='/html/natalie-info.html'>Information about me</a>
|
<a href='/html/natalie-info.html'>Information about me</a>
|
||||||
<a href='/html/blog/index.html'>There is also a blog. I do not use it frequently.</a>
|
<a href='/html/blog/index.html'>There is also a blog. I do not use it frequently.</a>
|
||||||
<a href='/html/random-thoughts.html'>There are also random natalie thoughts. sometimes they might be interesting</a>
|
<a href='/html/random-thoughts.html'>There are also random natalie thoughts. sometimes they might be interesting</a>
|
||||||
|
<a href='/html/cool-sites.html'>other webloci</a>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<h2>Directories</h2>
|
<h2>Directories</h2>
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
<table>
|
<table>
|
||||||
<tbody><tr><th><p>Title</p></th><th><p>Editted</p></th><th><p>Posted</p></th><th><p>Size</p></th></tr>
|
<tbody><tr><th><p>Title</p></th><th><p>Editted</p></th><th><p>Posted</p></th><th><p>Size</p></th></tr>
|
||||||
<tr><th colspan="4"><hr></th></tr>
|
<tr><th colspan="4"><hr></th></tr>
|
||||||
$[for file in $(ls html/blog/posts); do echo "<tr><td><a href=\"/html/blog/posts/$file\">$file</a></td><td>$(stat -c %y "html/blog/posts/$file" | head -c 16)</td><td><p>$(stat -c %y html/blog/posts/$file | head -c 10)</p></td><td align=\"right\">$(numfmt --to=iec --suffix=B $(stat -c %s "html/blog/posts/$file"))</td></tr>"; done | sed 's/\/\//\//g']
|
$[for file in $(ls html/blog/posts --time=creation); do echo "<tr><td><a href=\"/html/blog/posts/$file\">$file</a></td><td>$(stat -c %y "html/blog/posts/$file" | head -c 16)</td><td><p>$(stat -c %y html/blog/posts/$file | head -c 10)</p></td><td align=\"right\">$(numfmt --to=iec --suffix=B $(stat -c %s "html/blog/posts/$file"))</td></tr>"; done | sed 's/\/\//\//g']
|
||||||
<tr><th colspan="4"><hr></th></tr>
|
<tr><th colspan="4"><hr></th></tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -7,5 +7,5 @@ if [ -z "${caption}" ]; then
|
|||||||
caption="$(basename "$path" | sed 's/-/ /g; s/\.[^.]*$//')"
|
caption="$(basename "$path" | sed 's/-/ /g; s/\.[^.]*$//')"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "<figure><img src='$path' alt='$caption'><figcaption>$caption</figcaption></figure>"
|
echo "<figure><a href='$path'><img src='$path' alt='$caption'></a><figcaption>$caption</figcaption></figure>"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user