wp-go/internal/theme/wp/components/widget/args.go
2023-03-17 19:51:53 +08:00

11 lines
268 B
Go

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>",
}
}