aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-09-28 21:36:56 -0500
committerMark Powers <markppowers0@gmail.com>2020-09-28 21:36:56 -0500
commit45dbc2cf5f2b4092e2d334338f66abf6e888aeec (patch)
treea0f0c415c19fd1a61e9714c7d069610cd1a12312 /src
parent900f96e42d8d37cc2e7c582e285ed0a29c15602b (diff)
Add RSS meta tag, update footer
Diffstat (limited to 'src')
-rw-r--r--src/css/styles.css4
-rw-r--r--src/html/email.html2
-rw-r--r--src/icon/favicon.icobin22382 -> 1150 bytes
-rw-r--r--src/templates.js9
4 files changed, 12 insertions, 3 deletions
diff --git a/src/css/styles.css b/src/css/styles.css
index 62c4119..b7996ba 100644
--- a/src/css/styles.css
+++ b/src/css/styles.css
@@ -227,4 +227,8 @@ textarea {
a.navigation:visited, a.navigation:link {
color: var(--accent);
text-decoration: none;
+}
+
+.email::after {
+ content: "@marks.kitchen";
} \ No newline at end of file
diff --git a/src/html/email.html b/src/html/email.html
index cdf1030..ff95f77 100644
--- a/src/html/email.html
+++ b/src/html/email.html
@@ -14,7 +14,7 @@
<a class="navigation" href="/" title="marks.kitchen">&lt;</a>
Email
</h1>
- <p>Sign up to receive Mark's email newsletter</p>
+ <p>Sign up to receive Mark's email newsletter.</p>
<div class="form">
<form action="/email" method="post" enctype="application/x-www-form-urlencoded">
<input type="text" placeholder="Your name" name="name" required>
diff --git a/src/icon/favicon.ico b/src/icon/favicon.ico
index 736fb85..7646b67 100644
--- a/src/icon/favicon.ico
+++ b/src/icon/favicon.ico
Binary files differ
diff --git a/src/templates.js b/src/templates.js
index 7f22bed..b748853 100644
--- a/src/templates.js
+++ b/src/templates.js
@@ -10,13 +10,17 @@ module.exports = {
</div>
</nav>`,
footer: `<footer>
- <div>Mark Powers</div>
+ <div>Mark Powers (<span class="email">mark</span>) &#169; 2020 </div>
<div>
<a href="/feed.xml">RSS feed</a>
<span class="spacer"></span>
<a href="https://github.com/Mark-Powers">GitHub</a>
<span class="spacer"></span>
- <span>mark-at-marks.kitchen</span>
+ <a href="https://git.marks.kitchen/mark">Gitea</a>
+ <span class="spacer"></span>
+ <a href="https://fosstodon.org/@markp">Mastodon</a>
+ <span class="spacer"></span>
+ <br>
</div>
</footer>`,
@@ -30,6 +34,7 @@ module.exports = {
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" type="text/css" href="/css/styles.css">
<link rel="shortcut icon" href="/favicon.ico">
+ <link rel="alternate" type="application/rss+xml" title="RSS Feed for marks.kitchen" href="/feed.xml" />
</head>
<body>