aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-01-02 23:03:26 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-01-02 23:04:28 +0100
commit7bee49c9ff30c99ee482729a20417175e0107857 (patch)
treeabe9402bf0eaa2012970a4da5c938b4867864fe0 /README.md
parent7714e7d69948a448908fade0a8fbe6bfea30b5d7 (diff)
downloadaskama-7bee49c9ff30c99ee482729a20417175e0107857.tar.gz
askama-7bee49c9ff30c99ee482729a20417175e0107857.tar.bz2
askama-7bee49c9ff30c99ee482729a20417175e0107857.zip
Update CI badge to point to GitHub
Diffstat (limited to '')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index a2dd695..0b4df7f 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
[![Documentation](https://docs.rs/askama/badge.svg)](https://docs.rs/askama/)
[![Latest version](https://img.shields.io/crates/v/askama.svg)](https://crates.io/crates/askama)
-[![Build Status](https://dev.azure.com/dochtman/Projects/_apis/build/status/Askama?branchName=master)](https://dev.azure.com/dochtman/Projects/_build/latest?definitionId=2&branchName=master)
+[![Build Status](https://github.com/djc/quinn/workflows/CI/badge.svg)](https://github.com/djc/askama/actions?query=workflow%3ACI)
[![Chat](https://badges.gitter.im/gitterHQ/gitter.svg)](https://gitter.im/djc/askama)
Askama implements a template rendering engine based on Jinja.
@@ -92,7 +92,7 @@ struct HelloTemplate<'a> { // the name of the struct can be anything
name: &'a str, // the field name should match the variable name
// in your template
}
-
+
fn main() {
let hello = HelloTemplate { name: "world" }; // instantiate your struct
println!("{}", hello.render().unwrap()); // then render it.