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

11 lines
254 B
Go
Raw Permalink Normal View History

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