wp-go/internal/theme/wp/components/widget/args.go

11 lines
268 B
Go
Raw Normal View History

2023-03-17 11:51:53 +00:00
package widget
func commonArgs() map[string]string {
return map[string]string{
"{$before_widget}": `<aside id="%s" class="widget widget_%s">`,
"{$after_widget}": "</aside>",
"{$before_title}": `<h2 class="widget-title">`,
"{$after_title}": "</h2>",
}
}