cached_block_2_html_file.go 806 B

1234567891011121314151617181920212223242526272829
  1. package template
  2. var VarCachedBlock_2HtmlFile = []byte(`{{if not (eq $.Data.Module "404")}}
  3. {{if eq $.Data.Module "index"}}
  4. {{if eq $.Data.Page.Alias "/"}}
  5. Welcome to home page
  6. {{else}}
  7. Welcome to some another page
  8. {{end}}
  9. {{else if or (eq $.Data.Module "blog") (eq $.Data.Module "blog-post") (eq $.Data.Module "blog-category")}}
  10. {{if eq $.Data.Module "blog-category"}}
  11. Blog category
  12. {{else if eq $.Data.Module "blog-post"}}
  13. Blog post
  14. {{else}}
  15. Blog
  16. {{end}}
  17. {{else if or (eq $.Data.Module "shop") (eq $.Data.Module "shop-product") (eq $.Data.Module "shop-category")}}
  18. {{if eq $.Data.Module "shop-category"}}
  19. Shop category
  20. {{else if eq $.Data.Module "shop-product"}}
  21. Shop product
  22. {{else}}
  23. Shop
  24. {{end}}
  25. {{end}}
  26. {{else}}
  27. Oops, page is not found...
  28. {{end}}`)