(ctx context.Context)
| 288 | } |
| 289 | |
| 290 | func (s *settingProvider) CustomHTML(ctx context.Context) *CustomHTML { |
| 291 | return &CustomHTML{ |
| 292 | HeadlessFooter: s.getString(ctx, "headless_footer_html", ""), |
| 293 | HeadlessBody: s.getString(ctx, "headless_bottom_html", ""), |
| 294 | SidebarBottom: s.getString(ctx, "sidebar_bottom_html", ""), |
| 295 | } |
| 296 | } |
| 297 | func (s *settingProvider) CustomNavItems(ctx context.Context) []CustomNavItem { |
| 298 | raw := s.getString(ctx, "custom_nav_items", "[]") |
| 299 | var items []CustomNavItem |