From f796b3d561394a97c293289a14ef6e42949fe8b0 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Wed, 12 Nov 2025 22:53:37 +0100 Subject: [PATCH] removed AI readme --- README.md | 48 +++--------------------------------------------- project.json | 2 +- robots.txt | 5 +++++ run.sh | 2 +- sitemap.xml | 11 +++++++++++ 5 files changed, 21 insertions(+), 47 deletions(-) create mode 100644 robots.txt create mode 100644 sitemap.xml diff --git a/README.md b/README.md index 7f93498..be1d292 100644 --- a/README.md +++ b/README.md @@ -2,53 +2,11 @@ This is the source code for catcrafts.net, a website built entirely in C++ using the Crafter.CppDOM library. -## Features - -- **Responsive Design**: Works on all device sizes -- **Modern UI**: Clean and contemporary design with smooth animations -- **Blog System**: - - Blog posts displayed with previews on the main blog page - - Individual blog post pages with full content - - Navigation between posts - -## Project Structure - -``` -project.json - Build configuration -interfaces/ - Interface definitions -implementations/ - Implementation files -styles/styles.css - Styling -run.sh - Run script -README.md - This file -LICENSE - License information -``` - -## Blog Implementation Details - -### Blog Previews -On the main `/blog` page, each blog post is displayed with: -- Title and date -- Preview of the content (first 200 characters) -- "Read Full Post" button to view the complete article - -### Individual Blog Pages -Each blog post has its own URL: -- `/blog/0` - First blog post -- `/blog/1` - Second blog post -- And so on... - -When visiting these URLs, users see the complete blog post content. - -## Building and Running - -To build and run the project: - ```bash +crafter-build build executable ./run.sh ``` -This will compile the project and serve it locally. +This will compile the project and serve it locally on `http:://localhost:8080`. -## Contributing - -This project is open-source and made available for viewing purposes only. No permission is granted to copy, modify, distribute, or create derivative works. \ No newline at end of file +This project is source available for educational and viewing purposes only. No permission is granted to copy, modify, distribute, or create derivative works. \ No newline at end of file diff --git a/project.json b/project.json index f74393b..8ac91e9 100644 --- a/project.json +++ b/project.json @@ -6,7 +6,7 @@ "interfaces": ["interfaces/Catcrafts", "interfaces/Catcrafts-Views", "interfaces/Catcrafts-Blog", "interfaces/Catcrafts-Root"], "implementations": ["implementations/main", "implementations/Catcrafts-Blog", "implementations/Catcrafts-Root"], "target": "wasm32-wasi", - "additional_files": ["styles/styles.css"], + "additional_files": ["styles/styles.css", "robots.txt", "sitemap.xml"], "dependencies": [ { "path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.CppDOM.git", diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..d20add6 --- /dev/null +++ b/robots.txt @@ -0,0 +1,5 @@ +User-agent: * +Disallow: +Allow: / + +Sitemap: https://catcrafts.net/sitemap.xml \ No newline at end of file diff --git a/run.sh b/run.sh index 4ef65c1..e706621 100755 --- a/run.sh +++ b/run.sh @@ -1 +1 @@ -caddy file-server --listen :8085 --root bin/executable \ No newline at end of file +caddy file-server --listen :8080 --root bin/executable \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..43aed69 --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,11 @@ + + + https://catcrafts.net/ + + + https://catcrafts.net/blog + + + https://catcrafts.net/blog/hello-world + + \ No newline at end of file