pub fn generate_og_svg(
title: &str,
site_name: &str,
brand_color: &str,
text_color: &str,
) -> StringExpand description
Generates an SVG social card with the given title and site name.
The card is 1200x630 pixels (standard OG image dimensions).
ยงExamples
use ssg::og_image::generate_og_svg;
let svg = generate_og_svg("Hello", "My Site", "#000", "#fff");
assert!(svg.starts_with("<svg"));
assert!(svg.contains("Hello"));