header.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <!-- Required meta tags -->
  5. <meta charset="utf-8">
  6. <meta name="theme-color" content="#205081" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  8. <!-- Bootstrap CSS -->
  9. <link rel="stylesheet" href="{{$.System.PathCssBootstrap}}">
  10. <link rel="stylesheet" href="{{$.System.PathCssLightGallery}}">
  11. <title>Cached block 1</title>
  12. <meta name="keywords" content="{{$.Data.Page.MetaKeywords}}" />
  13. <meta name="description" content="{{$.Data.Page.MetaDescription}}" />
  14. <link rel="shortcut icon" href="{{$.System.PathIcoFav}}" type="image/x-icon" />
  15. <!-- Template CSS file from template folder -->
  16. <link rel="stylesheet" href="{{$.System.PathThemeStyles}}?v=3">
  17. </head>
  18. <body class="fixed-top-bar">
  19. <div id="wrap">
  20. <nav class="navbar navbar-expand-lg navbar-light bg-light">
  21. <div class="container">
  22. <a class="navbar-brand" href="/">Fave {{$.System.InfoVersion}}</a>
  23. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
  24. <span class="navbar-toggler-icon"></span>
  25. </button>
  26. <div class="collapse navbar-collapse" id="navbarResponsive">
  27. <ul class="navbar-nav ml-auto">
  28. <li class="nav-item{{if eq $.Data.Page.Alias "/"}} active{{end}}">
  29. <a class="nav-link" href="/">Home</a>
  30. </li>
  31. <li class="nav-item">
  32. <a class="nav-link{{if eq $.Data.Page.Alias "/another/"}} active{{end}}" href="/another/">Another</a>
  33. </li>
  34. <li class="nav-item">
  35. <a class="nav-link{{if eq $.Data.Page.Alias "/about/"}} active{{end}}" href="/about/">About</a>
  36. </li>
  37. <li class="nav-item">
  38. <a class="nav-link{{if or (eq $.Data.Module "blog") (eq $.Data.Module "blog-post") (eq $.Data.Module "blog-category")}} active{{end}}" href="/blog/">Blog</a>
  39. </li>
  40. <li class="nav-item">
  41. <a class="nav-link{{if or (eq $.Data.Module "shop") (eq $.Data.Module "shop-product") (eq $.Data.Module "shop-category")}} active{{end}}" href="/shop/">Shop</a>
  42. </li>
  43. <li class="nav-item">
  44. <a class="nav-link{{if eq $.Data.Module "404"}} active{{end}}" href="/not-existent-page/">404</a>
  45. </li>
  46. </ul>
  47. </div>
  48. </div>
  49. </nav>
  50. <div id="main">
  51. <div class="bg-fave">
  52. <div class="container">
  53. <h1 class="text-left text-white m-0 p-0 py-5">Cached block 2</h1>
  54. </div>
  55. </div>
  56. Cached block 3
  57. <div class="container clear-top">
  58. <div class="row pt-4">
  59. {{if or (eq $.Data.Module "shop") (eq $.Data.Module "shop-category")}}
  60. <div class="col-sm-5 col-md-4 col-lg-3">
  61. {{template "sidebar-left.html" .}}
  62. </div>
  63. {{end}}
  64. {{if or (eq $.Data.Module "shop-product")}}
  65. <div class="col-md-12">
  66. {{else}}
  67. <div class="col-sm-7 col-md-8 col-lg-9">
  68. {{end}}