<%: func BaseContent(content string, menuList []menu.MenuItem, title string, description string, user auth.User, buffer *bytes.Buffer) %> <%~ "base.html" %> <%@ header { %>

<%= title %> <%= description %>

<% } %> <%@ menuPart { %> <% for _, list := range menuList { %> <%+ "sidebar.html" %> <% } %> <% } %> <%@ adminPanel { %> User Image <% } %> <%@ adminName { %>

<%= user.Name %>

<% } %> <%@ contentPart { %> <%==s content %> <% } %>