Skip to content

Commit 9004fd9

Browse files
authored
Merge pull request #15 from MC-API/templating
Make templating files main
2 parents ec4b97a + 1c2e640 commit 9004fd9

47 files changed

Lines changed: 1724 additions & 1271 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,22 @@ static
33

44
Static content for [mc-api.net](https://mc-api.net).
55

6-
**Notice:** A new templating system is being developed and slowly rolled out, you can view or contribute to these files [here](https://github.com/mc-api/static/tree/templating). Any changes made to this branch will not be deployed to production unless critical.
6+
Uses [hogan.js](http://twitter.github.io/hogan.js) for templating.
77

88
Contributing
99
======
1010
Please do the following:
1111
- Use spaces not tabs
1212
- Submit a pull request
13+
- Document your code if possible
1314

1415
Once your pull request has been approved, it will be deployed to our servers.
1516

16-
**Variables** can be used within your page to display content which will be replaced by the server.
17-
18-
Current variable list:
19-
- ```#YEAR#``` - Displays the current year on the server
20-
- ```#REGION#``` - Displays the region the server is in (US, EU)
21-
- ```#FLAG#``` - Displays a flag representing the country the server is in
22-
- ```#HOST#``` - Displays the hostname being used, for example ``eu.mc-api.net``
23-
- ```#GA#``` - Displays the google analytics tracking id for the region
24-
- ```#VERSION#``` - Displays the backend version the api server is running
25-
2617
Mirrors
2718
======
28-
| Hostname | Location | Host | Enum Constant |
19+
| Hostname | Location | Host |
2920
| ------------- |:-------------:|:-----:|:---------:|
30-
| [eu.mc-api.net](https://eu.mc-api.net) | London, England | [DigitalOcean](https://m.do.co/c/f8c7ada39e1b) | EU |
31-
| [us.mc-api.net](https://us.mc-api.net) | New York City, USA | [DigitalOcean](https://m.do.co/c/f8c7ada39e1b) | US |
21+
| [eu.mc-api.net](https://eu.mc-api.net) | London, England | [DigitalOcean](https://m.do.co/c/f8c7ada39e1b) |
22+
| [us.mc-api.net](https://us.mc-api.net) | New York City, USA | [DigitalOcean](https://m.do.co/c/f8c7ada39e1b) |
3223

3324
There was previously an AU region, it may come back in the future however it was least used (less than 500 requests per month)

admin.html

Lines changed: 0 additions & 262 deletions
This file was deleted.

api_har/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)