notdonemywebsite/README.md

37 lines
1.2 KiB
Markdown
Raw Normal View History

2015-08-27 01:15:53 +01:00
# Not Done My Website
## Rewrite Goals
2018-03-02 02:04:31 +00:00
2018-03-10 23:35:05 +00:00
- [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!
2015-08-27 01:15:53 +01:00
## 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.
2015-08-27 01:15:53 +01:00
```
2018-03-02 02:04:31 +00:00
git clone git@github.com:gmemstr/notdonemywebsite.git
2015-08-27 01:15:53 +01:00
```
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.
2015-08-27 01:15:53 +01:00
### 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) |