diff options
author | Akshay <[email protected]> | 2021-05-23 06:25:09 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-05-23 06:25:09 +0100 |
commit | 26765a8c4eb7ed9c86c6f6a9fc690f57920efcd4 (patch) | |
tree | 1de32146d92a9cfb19dc76b5a2163fa59870ae31 /art.esh | |
parent | a3bf62f0a8f0eaee56bc7e7a05133017153dbd67 (diff) |
update art page
Diffstat (limited to 'art.esh')
-rw-r--r-- | art.esh | 49 |
1 files changed, 49 insertions, 0 deletions
@@ -0,0 +1,49 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html lang="en"> | ||
3 | <head> | ||
4 | <link rel="stylesheet" href="/style.css"> | ||
5 | <link rel="stylesheet" href="/syntax.css"> | ||
6 | <meta charset="UTF-8"> | ||
7 | <meta name="viewport" content="initial-scale=1"> | ||
8 | <meta content="#ffffff" name="theme-color"> | ||
9 | <meta name="HandheldFriendly" content="true"> | ||
10 | <meta property="og:title" content="Art · peppe.rs"> | ||
11 | <meta property="og:type" content="website"> | ||
12 | <meta property="og:description" content="a static site {for, by, about} me "> | ||
13 | <meta property="og:url" content="https://peppe.rs"> | ||
14 | <link rel="icon" type="image/x-icon" href="/favicon.png"> | ||
15 | <title>Art · peppe.rs</title> | ||
16 | <body> | ||
17 | <div class="posts"> | ||
18 | <a href="/" class="post-end-link">Home</a> | ||
19 | <span>/</span> | ||
20 | <a href="/posts" class="post-end-link">Art</a> | ||
21 | <h1>Art</h1> | ||
22 | <div class="separator"></div> | ||
23 | <div id="photos"> | ||
24 | <% | ||
25 | source ./scripts.sh | ||
26 | for f in `ls -t ./art`; do | ||
27 | cat << XXX | ||
28 | <a href="/art/$f"> | ||
29 | <div class="photo-container"> | ||
30 | <img src="/art/$f"> | ||
31 | <div class="photo-overlay"> | ||
32 | <div class="photo-text"> | ||
33 | <div class="photo-title">$(title_wrapper $f)</div> | ||
34 | <div class="photo-date">$(date -r "./art/$f" "+%d/%m — %Y")</div> | ||
35 | </div> | ||
36 | </div> | ||
37 | </div> | ||
38 | </a> | ||
39 | XXX | ||
40 | done | ||
41 | %> | ||
42 | </div> | ||
43 | <div class="separator"></div> | ||
44 | <a href="/" class="post-end-link">Home</a> | ||
45 | <span>/</span> | ||
46 | <a href="/posts" class="post-end-link">Art</a> | ||
47 | </div> | ||
48 | </body> | ||
49 | </html> | ||