The DSMUN '19 website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Shreyas Minocha c3da8b22c4
Remove outdated now.json properties
3 weeks ago
.github Add documentation and contribution guidelines 11 months ago
addresses Update president's address 10 months ago
committees Remove thumbnails and background guides 7 months ago
delegate-resources Fix resources page title 7 months ago
layouts Fix check for frontmatter key `stylesheets` 3 weeks ago
mixins Fix most pug lint errors 7 months ago
partials Fix most pug lint errors 7 months ago
register Fix most pug lint errors 7 months ago
static Remove thumbnails and background guides 7 months ago
.editorconfig Fix editorconfig failures 11 months ago
.eleventy.js Improve directory structure 7 months ago
.eleventyignore Ignore `redirect` folder 10 months ago
.eslintignore Re-enable eslint 7 months ago
.eslintrc.yml Re-enable eslint 7 months ago
.gitignore Ignore `redirect` folder 10 months ago
.pug-lintrc.json Configure and enable pug lint 7 months ago
.stylelintrc.yml Fix stylelint failures 11 months ago
.travis.yml Enable Travis CI 1 year ago
executive-board.pug Fix executive board templating 8 months ago
index.pug Fix most pug lint errors 7 months ago
now.json Remove outdated now.json properties 3 weeks ago
package-lock.json Bump handlebars from 4.1.2 to 4.5.3 3 weeks ago
package.json Re-enable eslint 7 months ago
readme.md Add documentation and contribution guidelines 11 months ago
sitemap.xml.pug Use pug for sitemap 10 months ago
updates.md Make markdown consistent 7 months ago

readme.md

DSMUN ‘19

The Doon School Model United Nations 2019 website.

Structure

We use eleventy, a static site generator. Eleventy is configured through .eleventy.js and .eleventyignore.

Most layouts and partials use pug. Most pages will use markdown.

Building

The following will build the site in dist/.

npm run build

Testing

We use npm to manage development dependencies (mainly linters).

Installing dependencies

Run the following in the project directory to install all dependencies.

npm install

Running tests locally

npm test

Deployment

We use now (version 2), a versatile serverless deployment service. Now settings are configured through now.json. Since this repository has now-Github integration installed, the site is deployed to production with each push to master. Additionally, all PRs are deployed to a link that is meant to be used for testing.

Contributing

Contributions are more than welcome. Please read through the contribution guidelines before opening a pull request.

License

Licensed under the MIT License.