From 9301603ee00d9664a13c1ff4662a72150229dd0b Mon Sep 17 00:00:00 2001 From: jake Date: Mon, 26 Oct 2020 22:07:38 +0000 Subject: Fix links and actions which were broken since the default branch was renamed from master to main --- book/src/integrations.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'book/src/integrations.md') 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` 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` 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` and `TryInto` 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. -- cgit