{{ define "home-bookmarks" }}
{{ if .CanManageBookmarks }}

{{ T "config.manage_bookmarks" }}

{{ template "bookmark-settings" . }}
{{ end }} {{ if ne .HomeLayout "search" }}
{{ range .BookmarkSections }}

{{ .Label }}

{{ if .Source }}{{ end }}
{{ else }}

{{ T "home.bookmarks_empty" }}

{{ end }}
{{ end }}
{{ end }}