removed AI readme
This commit is contained in:
parent
dd847ce1f9
commit
f796b3d561
5 changed files with 21 additions and 47 deletions
48
README.md
48
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.
|
||||
This project is source available for educational and viewing purposes only. No permission is granted to copy, modify, distribute, or create derivative works.
|
||||
|
|
@ -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",
|
||||
|
|
|
|||
5
robots.txt
Normal file
5
robots.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
User-agent: *
|
||||
Disallow:
|
||||
Allow: /
|
||||
|
||||
Sitemap: https://catcrafts.net/sitemap.xml
|
||||
2
run.sh
2
run.sh
|
|
@ -1 +1 @@
|
|||
caddy file-server --listen :8085 --root bin/executable
|
||||
caddy file-server --listen :8080 --root bin/executable
|
||||
11
sitemap.xml
Normal file
11
sitemap.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<urlset>
|
||||
<url>
|
||||
<loc>https://catcrafts.net/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://catcrafts.net/blog</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://catcrafts.net/blog/hello-world</loc>
|
||||
</url>
|
||||
</urlset>
|
||||
Loading…
Add table
Add a link
Reference in a new issue