mirror of
https://github.com/grey-cat-1908/website.git
synced 2024-11-15 04:27:27 +03:00
63 lines
3.2 KiB
Markdown
63 lines
3.2 KiB
Markdown
# My personal website
|
|
|
|
## Main info
|
|
|
|
This repository hosts the source code for my personal website.
|
|
|
|
I have enough experience to create interesting websites, but I want my personal web page to be simple and easy to understand. I want it to be straightforward, with text as the main component.
|
|
|
|
Even though it looks pretty basic, the website has a lot more going on. This repository also hosts the source code for a simple build script that runs on push and renders markdown files into HTML pages.
|
|
|
|
At the moment, the site is hosted on CloudFlare Pages, but once GitVerse Pages is released, I'm thinking about moving it there.
|
|
|
|
## Current navigation
|
|
|
|
- [/](https://mrkrk.me/) - Main page
|
|
- [/projects](https://mrkrk.me/projects) - List of projects
|
|
- [/gallery](https://mrkrk.me/gallery) - My photos gallery
|
|
- [/blog](https://mrkrk.me/blog) - Old blog posts
|
|
|
|
**NOTE:** After deleting my Telegram channel, I wanted to delete all my blog posts. However, I decided not to delete the publications from this site, so the page is just hidden, but you can still access it.
|
|
|
|
## About 404 Page
|
|
|
|
I didn't want to create a 404 page. I wanted to keep things simple so that all pages would be rendered by the build script. However, CloudFlare Pages forwards to the main page of the site if the page is not found, which interferes with the search results. So I had to create my own 404 page.
|
|
|
|
**CLOUDFLARE CREATE A DEFAULT 404 PAGE PLEASE**
|
|
|
|
## About HTML minification
|
|
|
|
The build script has some issues with indentation and code beautification. I'm too lazy to fix them, so I decided to minify the rendered HTML instead.
|
|
|
|
I'm using [this excellent tool](https://github.com/wilsonzlin/minify-html) to minify rendered HTML.
|
|
|
|
## About Linguist settings
|
|
|
|
Markdown, by default, is not marked in the repository stats in GitHub as a language used in the project. I've set special settings in `.gitattributes` to show it.
|
|
|
|
I want to show that most of the work is done by a simple build script, and the content can be edited easily. Even with this simple approach, everything can function fully.
|
|
|
|
## A little historical note
|
|
|
|
Previously, I didn't want to simplify the site that much, and there are a lot more pages and material here. You can see the old version [here](https://41ecb9be.arbuzicu.pages.dev/).
|
|
|
|
P.S. `*.pages.dev` might not work for you. :/
|
|
|
|
- - - - -
|
|
|
|
## Launching your own website
|
|
|
|
If you wish to run your website using this project, you may do so under the following conditions to ensure compliance:
|
|
|
|
1. **Repository Requirements**: Your repository must either be a fork of this one or include a clear link to this repository.
|
|
2. **Public Access**: Your repository must be publicly accessible.
|
|
3. **Credit Attribution**: On the website, please include a visible acknowledgment stating that the website is based on this project, with a link to this repository (and, optionally, a link to my website).
|
|
4. **License Key Update**: Be sure to replace the `licenseKey` in `templates/gallery.html` if you are running your own gallery.
|
|
|
|
Before launching your site, I would appreciate it if you could notify me via email at <mail@mrkrk.me>. Thank you for your cooperation.
|
|
|
|
Once examples of fair use of this project appear, links to them will be added here.
|
|
|
|
## License
|
|
|
|
Distributed under the terms of the GNU AGPLv3 License.
|