Link markdown, robots and contact vars
All checks were successful
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 12s

This commit is contained in:
Firq 2024-10-26 13:51:37 +02:00
parent b32fa9e4ad
commit 1945b41b4b
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
6 changed files with 14 additions and 7 deletions

5
.markdownlint.json Normal file
View file

@ -0,0 +1,5 @@
{
"MD013":false,
"MD033": false,
"MD036": false
}

View file

@ -35,6 +35,7 @@ const loadedLogoImage = plsLoadImage(images_logos, imagePath)
<style> <style>
a { a {
text-decoration: none; text-decoration: none;
--s-image: 80px;
} }
article { article {
@ -53,7 +54,7 @@ const loadedLogoImage = plsLoadImage(images_logos, imagePath)
article img { article img {
border-radius: 1.25rem; border-radius: 1.25rem;
width: 80px; width: var(--s-image);
height: auto; height: auto;
} }
@ -74,8 +75,8 @@ const loadedLogoImage = plsLoadImage(images_logos, imagePath)
text-align: center; text-align: center;
background-color: var(--c-primary-background); background-color: var(--c-primary-background);
border-radius: 1.25rem; border-radius: 1.25rem;
width: 80px; width: var(--s-image);
height: 80px; height: var(--s-image);
opacity: 90%; opacity: 90%;
z-index: 100; z-index: 100;
} }

View file

@ -75,7 +75,7 @@ allPosts.sort(
The `frontmatter` interface is a kind of header for the markdown files which provides astro with metadata like title, author and such. The `frontmatter` interface is a kind of header for the markdown files which provides astro with metadata like title, author and such.
It is structured like this: It is structured like this:
``` ```yaml
--- ---
layout: ../../layouts/blogPost.astro layout: ../../layouts/blogPost.astro
title: 'How Astro powers this site' title: 'How Astro powers this site'

View file

@ -74,7 +74,7 @@ As you can see, I am using a custom container for the runtime stage, which will
### Custom serve docker - My new goto for static site serving ### Custom serve docker - My new goto for static site serving
When starting out with the `Dockerfile`, I first used the standard `node:lts` image for the runtime. This meant I also had to install the `serve` package by `@warren-bank` each time I built the container. Since this takes extra time and resources each run, I decided to create a pre-configured docker container that can be used for this instead. When starting out with the `Dockerfile`, I first used the standard `node:lts` image for the runtime. This meant I also had to install the `serve` package by `@warren-bank` each time I built the container. Since this takes extra time and resources each run, I decided to create a pre-configured docker container that can be used for this instead.
The `Dockerfile` for that one is laughable simple: The `Dockerfile` for that one is laughable simple:

View file

@ -81,7 +81,7 @@ screen -S website-firq-npx -dm npx serve public/ -p 9000 -c serve.json"
With the following directory structure on the remote host, this can easily be explained: With the following directory structure on the remote host, this can easily be explained:
``` ```plain
/ /
├─ public/ ├─ public/
│ ├─ site content │ ├─ site content

View file

@ -1,7 +1,8 @@
user-agent:* User-agent: *
Disallow: /assets/data/ Disallow: /assets/data/
User-agent: GPTBot User-agent: GPTBot
User-agent: Bytespider
Disallow: / Disallow: /
Sitemap: https://firq.dev/sitemap-index.xml Sitemap: https://firq.dev/sitemap-index.xml