Closed yoshuawuyts closed 1 year ago
For example using open-graph we would probably want to be able to do:
open-graph
let tree = html::root::Html::builder() .lang("en") .head(|head| { head.extend(OpenGraph::builder() // takes an `IntoIterator<Item = Into<HeadChild>>` .site("@flickr") .title("The Rock") .type(ObjectType::VideoMovie) .image("http://ia.media-imdb.com/images/rock.jpg") .build()) }) .body(|body| body.text("Hello, world!")) .build();
For example using
open-graph
we would probably want to be able to do: