mirror of
https://github.com/gmemstr/notdonemywebsite.git
synced 2024-09-19 21:51:10 +01:00
37 lines
1.2 KiB
Markdown
37 lines
1.2 KiB
Markdown
# Not Done My Website
|
|
|
|
## Rewrite Goals
|
|
|
|
- [x] Move frontend to entirely HTML5 w/o framework or PHP
|
|
- [ ] Create more templates
|
|
- [ ] Work out system for easier template additions
|
|
|
|
## What is this?
|
|
|
|
Not Done My Website is a little utility for generating index page placeholders based on required criteria, whether it's because you're working on your website or just need a placeholder page!
|
|
|
|
## Running
|
|
|
|
Right now, you need to have an instance of PHP running. This will change during the rewrite, use `master` branch for stability.
|
|
|
|
Clone the repository to your webserver.
|
|
|
|
```
|
|
git clone git@github.com:gmemstr/notdonemywebsite.git
|
|
```
|
|
|
|
Then go to localhost/notdonemywebsite (or however you have your server set up) and generate away.
|
|
|
|
## Adding Templates
|
|
|
|
Custom templates belong in the `templates/` folder and should be entirely self contained, and preferably minimized as well. Feel free to make a pull request so we can add your template to the repository! These should be .html files.
|
|
|
|
### Keywords for template
|
|
|
|
| Keyword | Replaced by |
|
|
|---|---|
|
|
| rep_SURL | URL of the website |
|
|
| rep_SNAME | Name of the website |
|
|
| rep_DEVNAME | Name of the developer/designer |
|
|
| rep_PCOLOUR | Primary colour (hex value)|
|
|
| rep_SCOLOUR | Secondary colour (hex value) | |