Skip to content
Snippets Groups Projects
Forked from whats-this / landing
44 commits behind, 1 commit ahead of the upstream repository.

whats-th.is landing (v2)

Now 100% less gulp, and 100% more jekyll. This landing page aims to provide information about the service. If you're looking for the API, please see its API repository.

Testing

  1. Install Ruby. gem install bundler if you do not have it on your system already.
  2. bundle install
  3. bundle exec jekyll serve and go to the server address it outputs.

Directory layout

  • _includes contains the header and footer that are appended to all documents.
  • _js contains scripts that can be included by putting their name in the scripts array in your page's frontmatter.
  • _layouts houses the backing theme for all pages, named default.
  • _sass contains mixins, partials and so forth that can be included within CSS.

Generator

Within _plugins, the DomainListGenerator class allows the FAQ to have its contents generated directly as written in public-cdn-domains.txt. It exposes two arrays to the FAQ page: regular_list and wildcard_list.

Contributing

  1. Fork, clone, make changes, test
  2. Compile as outlined above
  3. Make a PR

License

A copy of the MIT license can be found in LICENSE.