summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/card.html20
-rw-r--r--templates/default.html65
-rw-r--r--templates/recently-modified.md2
-rw-r--r--templates/recently-published.md2
4 files changed, 89 insertions, 0 deletions
diff --git a/templates/card.html b/templates/card.html
new file mode 100644
index 0000000..3528c51
--- /dev/null
+++ b/templates/card.html
@@ -0,0 +1,20 @@
+<style type="text/css">
+.timestamp {
+ color: var(--text-light);
+ font-size: 0.9rem;
+}
+aside {
+ max-width: 40%;
+ width: fit-content;
+ padding: 1rem;
+}
+</style>
+
+<aside>
+ <div class="timestamp">Created at $date$</div>
+ <div class="timestamp">Modified at $dateModified$</div>
+</aside>
+
+<article class="card">
+$body$
+</article>
diff --git a/templates/default.html b/templates/default.html
new file mode 100644
index 0000000..9933f5c
--- /dev/null
+++ b/templates/default.html
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="x-ua-compatible" content="ie=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>$title$</title>
+ <!--<base href="https://bsd.computer/~kcp/index.html">-->
+ <link href="/css/kate.css" rel="stylesheet">
+ <link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">
+ <link href="/css/default.css" rel="stylesheet">
+ <link href="/css/cursor.css" rel="stylesheet">
+</head>
+
+<body>
+ <header>
+ <nav><ul><a href="/">home</a><a href="/notes.html">garden</a></ul></nav>
+ </header>
+
+ <main role="main">
+$body$
+ </main>
+
+ <footer>
+ <a href="https://kitty.codeberg.page">
+ <img src="/images/button/paws.gif" loading="lazy"
+ alt="Made with MY OWN TWO PAWS"
+ title="Made with my own two paws"></a>
+
+ <a href="/source.html">
+ <img src="/images/button/haskell.gif" loading="lazy"
+ alt="Powered by haskell"
+ title="Powered by haskell"></a>
+
+ <a href="mailto:kcp@bsd.computer">
+ <img src="/images/button/email.gif" loading="lazy"
+ alt="Questions or comments? E-mail me!"
+ title="Questions or comments? E-mail me!"></a>
+
+ <a rel="license noopener noreferrer" href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">
+ <img src="https://licensebuttons.net/i/l/by-nc-sa/eeeeee/ff/66/99/88x31.png"
+ alt="CC BY-NC-SA 4.0"
+ title="All content on this page is CC BY-NC-SA 4.0 unless otherwise indicated"
+ loading="lazy"></a>
+
+ <p typeof="cc:Work"
+ xmlns:dct="http://purl.org/dc/terms/"
+ xmlns:cc="http://creativecommons.org/ns#">
+ <b property="dct:title">kitty piapiac's website</b>
+ &copy;
+ <span property="dct:dateCopyrighted">2024</span>
+ <a property="cc:attributionName"
+ rel="cc:attributionUrl dct:creator"
+ target="_blank" href="https://purl.org/kcp">
+ ~kcp</a>,
+ <a rel="license"
+ target="_blank" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">
+ CC BY-NC-SA 4.0</a>
+ <span>unless otherwise indicated</span>
+ </p>
+ </footer>
+</body>
+
+</html>
diff --git a/templates/recently-modified.md b/templates/recently-modified.md
new file mode 100644
index 0000000..70bd495
--- /dev/null
+++ b/templates/recently-modified.md
@@ -0,0 +1,2 @@
+$for(cardsModified)$- [$title$]($url$) <span class="timestamp">at $dateModified$</span>
+$endfor$
diff --git a/templates/recently-published.md b/templates/recently-published.md
new file mode 100644
index 0000000..018270f
--- /dev/null
+++ b/templates/recently-published.md
@@ -0,0 +1,2 @@
+$for(cardsPublished)$- [$title$]($url$) <span class="timestamp">at $date$</span>
+$endfor$