2020-09-23 17:03:49 +02:00
# 2009 RSPS website
2020-11-24 18:41:09 +01:00
![](https://i.imgur.com/eNu2Qnt.png)
2020-09-24 04:46:49 +02:00
2020-11-19 19:59:54 +01:00
Note: This is a haphazard hack of a 2009 website made by [jarryd229 ](https://github.com/jarryd229 ) combined with a 2010 website dump.
2020-11-19 21:09:26 +01:00
2020-11-24 18:41:09 +01:00
Want to help? No problem! `index.html` is where it all starts :)
2020-11-19 21:09:26 +01:00
2020-11-24 19:14:22 +01:00
Something seem broken (missing images?) - Get the original, unedited copy. Things could have broken in the past: https://github.com/2009scape/Dumps/tree/master/2010%20Website%20Dump
2020-11-20 06:45:18 +01:00
2020-11-24 18:41:09 +01:00
View the website live here: https://2009scape.github.io/
2021-10-17 01:36:21 +02:00
# Building Jekyll Locally
This website utilizes Jekyll to generate static pages.
1. Install Jekyll
2021-12-24 11:43:05 +01:00
* https://jekyllrb.com/docs/installation/
2. Build and serve the site
* Inside project root run `jekyll serve` or alternatively:
- Windows: `serve.bat`
- Unix: `./serve.sh`
2021-10-17 01:36:21 +02:00
For faster builds locally (from about 80 seconds to about 6 seconds) add:
< pre >
exclude:
- services/m=poll/*
- services/m=forum/sl=*
- services/m=itemdb_rs/*
< / pre >
to `_config.yml` , and substitute `jekyll serve --incremental`
# News Posts
Located in `services/m=news/archives/`
Use the latest as an example. They are indexed automatically based on their file name.
2021-10-19 09:37:10 +02:00
> <pre>---
2021-10-17 01:36:21 +02:00
> title: Title
> tags: news
> layout: newspost
> collection: Game Updates
> date: 2021-07-26 00:00:00 +0000
> authors: Name
> ---</pre>
2021-10-19 09:37:10 +02:00
there is an optional `promo_image` tag to specify a homepage image for the post.