diff --git a/CHANGELOG.md b/CHANGELOG.md index ab2825f..4dc2996 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,8 @@ Changelog UNRELEASED - 2020-04-19 ----------------------- -- :books: [`xxxxxxxxxxxx`](https://github.com/casey/intermodal/commits/master) Document piece length selection algorithm ([#392](https://github.com/casey/intermodal/pull/392)) - Fixes [#367](https://github.com/casey/intermodal/issues/367) - _Casey Rodarmor _ +- :books: [`xxxxxxxxxxxx`](https://github.com/casey/intermodal/commits/master) Add custom 404 page to site - _Casey Rodarmor _ +- :books: [`09b0ee316c03`](https://github.com/casey/intermodal/commit/09b0ee316c034848c3b50966e7b5e3ed720aef2b) Document piece length selection algorithm ([#392](https://github.com/casey/intermodal/pull/392)) - Fixes [#367](https://github.com/casey/intermodal/issues/367) - _Casey Rodarmor _ - :books: [`3ed449ce9325`](https://github.com/casey/intermodal/commit/3ed449ce932509ac88bd4837d74c9cbbb0729da9) Generate reference sections with `bin/gen` - _Casey Rodarmor _ - :art: [`a6bf75279181`](https://github.com/casey/intermodal/commit/a6bf7527918178821e080db10e65b057f427200d) Use `invariant` instead of `unwrap` and `expect` - Fixes [#167](https://github.com/casey/intermodal/issues/167) - _Casey Rodarmor _ - :white_check_mark: [`faf46c0f0e6f`](https://github.com/casey/intermodal/commit/faf46c0f0e6fd4e4f8b504d414a3bf02d7d68e4a) Test that globs match torrent contents - Fixes [#377](https://github.com/casey/intermodal/issues/377) - _Casey Rodarmor _ diff --git a/src/piece_length_picker.rs b/src/piece_length_picker.rs index c26dd74..2117ff8 100644 --- a/src/piece_length_picker.rs +++ b/src/piece_length_picker.rs @@ -1,5 +1,6 @@ -//! See [the book](https://imdl.io/book/bittorrent/piece-length.html) for more -//! information on Intermodal's automatic piece length selection algorithm. +//! See [the book](https://imdl.io/book/bittorrent/piece-length-selection.html) +//! for more information on Intermodal's automatic piece length selection +//! algorithm. use crate::common::*; diff --git a/www/404.css b/www/404.css new file mode 100644 index 0000000..b8a36a0 --- /dev/null +++ b/www/404.css @@ -0,0 +1,30 @@ +* { + margin: 0; + padding: 0; +} + +html { + background-color: black; + color: white; + font-family: sans-serif; + text-align: center; + font-size: 60vmin; + width: 100%; + height: 100%; +} + +body { + min-height: 100%; + display: flex; + align-items: center; + justify-content: center; +} + +a { + color: white; + text-decoration: none; +} + +a:hover { + text-shadow: 0 0 100px #fff; +} diff --git a/www/404.html b/www/404.html new file mode 100644 index 0000000..d4096c1 --- /dev/null +++ b/www/404.html @@ -0,0 +1,13 @@ + + + + + + I N T E R M I S S I N G + + + + + + +