summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Letan <lthms@soap.coffee>2023-05-18 19:22:08 +0200
committerThomas Letan <lthms@soap.coffee>2023-05-18 19:22:08 +0200
commitdeb506fb1064d29b17f4c761966ddd4f8e9de479 (patch)
tree8b5ec1adbbe3e0497f3376521ecf6bebc6135b24
parentAdd the running plugin (diff)
Various tweaks to improve the website
-rwxr-xr-xscripts/md-render.js3
-rw-r--r--site/index.md4
-rw-r--r--style.css27
-rw-r--r--templates/index.xml2
-rw-r--r--templates/main.html2
5 files changed, 29 insertions, 9 deletions
diff --git a/scripts/md-render.js b/scripts/md-render.js
index 2be0c32..7f08af8 100755
--- a/scripts/md-render.js
+++ b/scripts/md-render.js
@@ -81,9 +81,6 @@ fs.readFile(path, 'utf8', (err, data) => {
}
}
- const now = new Date();
- process.stdout.write(span(`${icon('circle-arrow')}&nbsp;Generated on ${datetime(now, 'generated')}`, 'footnote-p full-only narrow'));
-
process.stdout.write('</span>');
if (series) {
diff --git a/site/index.md b/site/index.md
index 7b43d35..84aaaff 100644
--- a/site/index.md
+++ b/site/index.md
@@ -8,11 +8,11 @@ abstract: |
# Hi 👋
-My name is Thomas Letan, and this is my little corner of the Internet.
+Welcome to my little corner of the Internet.
You will find it dusty more often than not, but it’s been there for quite a
while now, and its contents might be of interest for you. If that is the case,
-I’m thrilled.
+I’m thrilled!
## Latest Posts
diff --git a/style.css b/style.css
index f2986fb..66221a1 100644
--- a/style.css
+++ b/style.css
@@ -38,7 +38,7 @@ html {
}
body {
- font-family: Inter, sans-serif;
+ font-family: Inter, Roboto, sans-serif;
line-height: 1.8;
max-width: var(--body-width);
text-align: justify;
@@ -78,11 +78,11 @@ figcaption p {
/* See {{Note: width}} */
@media (min-width: 82rem) {
.fullwidth, figure {
- margin-left: calc(-1 * (var(--margin-width) + var(--gutter-width)));
+ /*margin-left: calc(-1 * (var(--margin-width) + var(--gutter-width)));*/
}
figure, figcaption, .fullwidth {
- width: var(--body-width);
+ /*width: var(--body-width);*/
}
@@ -400,3 +400,24 @@ th {
height: 2em;
padding: 0 1em;
}
+
+.running-container {
+ text-align: center;
+}
+
+.running-container .kilometer {
+ width: 2em;
+ height: 2em;
+ margin: .2em;
+ display: inline-block;
+ border-radius: .5em;
+}
+
+.kilometer.race {
+ box-shadow: 0 0 2px 2px gold;
+}
+
+.running-container p {
+ text-align: justify;
+ font-size: smaller;
+}
diff --git a/templates/index.xml b/templates/index.xml
index ecf618e..4dc3bba 100644
--- a/templates/index.xml
+++ b/templates/index.xml
@@ -9,6 +9,7 @@
</description>
<atom:link href="https://soap.coffee/~lthms/posts/index.xml" rel="self" type="application/rss+xml" />
{% for article in contents %}
+ {% if article.date %}
<item>
<title>{{ article.title | striptags }}</title>
<link>{{ base }}{{ article.url }}</link>
@@ -20,6 +21,7 @@
{% endif %}
</description>
</item>
+ {% endif %}
{% endfor %}
</channel>
</rss>
diff --git a/templates/main.html b/templates/main.html
index 3f5cc04..db272a6 100644
--- a/templates/main.html
+++ b/templates/main.html
@@ -19,7 +19,7 @@
<img class="avatar" alt="lthms' avatar, a hand drawing looking person, wearing a headset, close to a window on a raining night" src="/img/thinking.png" />
</a>
<p class="full-only">
- Hi, I’m <strong>lthms</strong> (<em>he/him</em>).
+ Hi, I’m Thomas Letan (<strong>lthms</strong>) (<em>he/him</em>).
</p>
<p class="full-only">