cached_block_1_html_file.go 896 B

12345678910111213141516171819202122232425
  1. package template
  2. var VarCachedBlock_1HtmlFile = []byte(`{{if not (eq $.Data.Module "404")}}
  3. {{if eq $.Data.Module "index"}}
  4. {{$.Data.Page.Name}}
  5. {{else if or (eq $.Data.Module "blog") (eq $.Data.Module "blog-post") (eq $.Data.Module "blog-category")}}
  6. {{if eq $.Data.Module "blog-category"}}
  7. Posts of category "{{$.Data.Blog.Category.Name}}" | Blog
  8. {{else if eq $.Data.Module "blog-post"}}
  9. {{$.Data.Blog.Post.Name}} | Blog
  10. {{else}}
  11. Latest posts | Blog
  12. {{end}}
  13. {{else if or (eq $.Data.Module "shop") (eq $.Data.Module "shop-product") (eq $.Data.Module "shop-category")}}
  14. {{if eq $.Data.Module "shop-category"}}
  15. Products of category "{{$.Data.Shop.Category.Name}}" | Shop
  16. {{else if eq $.Data.Module "shop-product"}}
  17. {{$.Data.Shop.Product.Name}} {{$.Data.Shop.Product.Id}} | Shop
  18. {{else}}
  19. Latest products | Shop
  20. {{end}}
  21. {{end}}
  22. {{else}}
  23. Error 404
  24. {{end}}`)