return function(props) local use_cdn = reluax.dev_mode == false local asset_prefix = use_cdn and "https://cdn.duckonaut.dev" or "" local thumbnail = props.attrs.thumbnail or asset_prefix .. "/assets/images/thumbnail.png" local title = props.attrs.title or "rem.duckonaut.dev" local description = props.attrs.description or "zzz" local stylesheets = props.attrs.stylesheets or { 'app.css', 'index.css' } local style_tags = {} for _, stylesheet in ipairs(stylesheets) do style_tags[#style_tags + 1] = end return {$ style_tags $} {$ title $}
{$ props.children $}
end