https://github.com/git-learning-game/ohmygit.org
https://github.com/git-learning-game/ohmygit.org
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/git-learning-game/ohmygit.org
- Owner: git-learning-game
- Created: 2021-02-17T17:38:00.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-24T13:25:40.000Z (almost 5 years ago)
- Last Synced: 2025-10-24T07:40:33.113Z (5 months ago)
- Language: Slim
- Size: 88.6 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This site is using the static-site generator [Nanoc](https://nanoc.ws/).
You'll also need a [Ruby](https://www.ruby-lang.org/) installation, as well as [Bundler](https://bundler.io/).
Clone this repository, and install its Ruby dependencies by running:
$ bundle install --path ~/.gem
Then, to compile the site, run:
$ bundle exec nanoc live
This will rebuild the site when you change stuff. You can view it at `localhost:3000`, by default.
Basic file structure:
- In `content`, there's a directory for each page of this website, containing the main text in Markdown format, as well as associated images
- `layouts` contains SLIM templates with eRuby tags
- `lib` contains helper functions and custom Nanoc filters
You can define an upload path in `nanoc.yaml` and then use `bundle exec nanoc deploy` to deplay the page.
License
=======
We release the content of the `lib` and `layouts` directories, as well as all top-level files under the GPLv3, or (at your option) any later version.