diff options
author | jake <me@jakechampion.name> | 2020-10-26 22:07:38 +0000 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2020-10-26 23:18:10 +0100 |
commit | 9301603ee00d9664a13c1ff4662a72150229dd0b (patch) | |
tree | a4bb525ef6f511e729555aaca8df4966280eb42c /book/src/integrations.md | |
parent | d740f8383b313f4595375468b1ccde72d9d9ac55 (diff) | |
download | askama-9301603ee00d9664a13c1ff4662a72150229dd0b.tar.gz askama-9301603ee00d9664a13c1ff4662a72150229dd0b.tar.bz2 askama-9301603ee00d9664a13c1ff4662a72150229dd0b.zip |
Fix links and actions which were broken since the default branch was renamed from master to main
Diffstat (limited to '')
-rw-r--r-- | book/src/integrations.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/book/src/integrations.md b/book/src/integrations.md index 2d016c7..f717fe0 100644 --- a/book/src/integrations.md +++ b/book/src/integrations.md @@ -5,7 +5,7 @@ Enabling the `with-rocket` feature appends an implementation of Rocket's `Responder` trait for each template type. This makes it easy to trivially return a value of that type in a Rocket handler. See -[the example](https://github.com/djc/askama/blob/master/askama_rocket/tests/basic.rs) +[the example](https://github.com/djc/askama/blob/main/askama_rocket/tests/basic.rs) from the Askama test suite for more on how to integrate. In case a run-time error occurs during templating, a `500 Internal Server @@ -17,7 +17,7 @@ handled by your error catcher. Enabling the `with-iron` feature appends an implementation of Iron's `Modifier<Response>` trait for each template type. This makes it easy to trivially return a value of that type in an Iron handler. See -[the example](https://github.com/djc/askama/blob/master/askama_iron/tests/basic.rs) +[the example](https://github.com/djc/askama/blob/main/askama_iron/tests/basic.rs) from the Askama test suite for more on how to integrate. Note that Askama's generated `Modifier<Response>` implementation currently @@ -29,7 +29,7 @@ suggestion, please [file an issue](https://github.com/djc/askama/issues/new). Enabling the `with-actix-web` feature appends an implementation of Actix-web's `Responder` trait for each template type. This makes it easy to trivially return a value of that type in an Actix-web handler. See -[the example](https://github.com/djc/askama/blob/master/askama_actix/tests/basic.rs) +[the example](https://github.com/djc/askama/blob/main/askama_actix/tests/basic.rs) from the Askama test suite for more on how to integrate. ## Gotham integration @@ -37,7 +37,7 @@ from the Askama test suite for more on how to integrate. Enabling the `with-gotham` feature appends an implementation of Gotham's `IntoResponse` trait for each template type. This makes it easy to trivially return a value of that type in a Gotham handler. See -[the example](https://github.com/djc/askama/blob/master/askama_gotham/tests/basic.rs) +[the example](https://github.com/djc/askama/blob/main/askama_gotham/tests/basic.rs) from the Askama test suite for more on how to integrate. In case of a run-time error occurring during templating, the response will be of the same @@ -48,7 +48,7 @@ This preserves the response chain if any custom error handling needs to occur. Enabling the `with-warp` feature appends an implementation of Warp's `Reply` trait for each template type. This makes it simple to return a template from -a Warp filter. See [the example](https://github.com/djc/askama/blob/master/askama_warp/tests/warp.rs) +a Warp filter. See [the example](https://github.com/djc/askama/blob/main/askama_warp/tests/warp.rs) from the Askama test suite for more on how to integrate. ## Tide integration @@ -57,5 +57,5 @@ Enabling the `with-tide` feature appends `Into<tide::Response>` and `TryInto<tide::Body>` implementations for each template type. This provides the ability for tide apps to build a response directly from a template, or to append a templated body to an existing -`Response`. See [the example](https://github.com/djc/askama/blob/master/askama_tide/tests/tide.rs) +`Response`. See [the example](https://github.com/djc/askama/blob/main/askama_tide/tests/tide.rs) from the Askama test suite for more on how to integrate. |