diff --git a/book/src/integrations.md b/book/src/integrations.md index 5c556c85..1895196f 100644 --- a/book/src/integrations.md +++ b/book/src/integrations.md @@ -8,7 +8,7 @@ In your template definitions, replace `rinja::Template` with 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/rinja-rs/rinja/blob/main/rinja_rocket/tests/basic.rs) +[the example](https://github.com/rinja-rs/rinja/blob/master/rinja_rocket/tests/basic.rs) from the Rinja test suite for more on how to integrate. In case a run-time error occurs during templating, a `500 Internal Server @@ -23,7 +23,7 @@ In your template definitions, replace `rinja::Template` with 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/rinja-rs/rinja/blob/main/rinja_actix/tests/basic.rs) +[the example](https://github.com/rinja-rs/rinja/blob/master/rinja_actix/tests/basic.rs) from the Rinja test suite for more on how to integrate. ## Axum integration @@ -34,7 +34,7 @@ In your template definitions, replace `rinja::Template` with Enabling the `with-axum` feature appends an implementation of Axum's `IntoResponse` trait for each template type. This makes it easy to trivially return a value of that type in a Axum handler. See -[the example](https://github.com/rinja-rs/rinja/blob/main/rinja_axum/tests/basic.rs) +[the example](https://github.com/rinja-rs/rinja/blob/master/rinja_axum/tests/basic.rs) from the Rinja 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 @@ In your template definitions, replace `rinja::Template` with 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/rinja-rs/rinja/blob/main/rinja_warp/tests/warp.rs) +a Warp filter. See [the example](https://github.com/rinja-rs/rinja/blob/master/rinja_warp/tests/warp.rs) from the Rinja test suite for more on how to integrate. [rinja_rocket]: https://docs.rs/rinja_rocket diff --git a/book/src/template_syntax.md b/book/src/template_syntax.md index ebc29ef6..33da6aaa 100644 --- a/book/src/template_syntax.md +++ b/book/src/template_syntax.md @@ -602,7 +602,7 @@ assert_eq!(t.render().unwrap(), "Section 1: A=a\nB=b") ``` See the example -[render in place](https://github.com/rinja-rs/rinja/blob/main/testing/tests/render_in_place.rs) +[render in place](https://github.com/rinja-rs/rinja/blob/master/testing/tests/render_in_place.rs) using a vector of templates in a for block. ## Comments