header.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!DOCTYPE html>
  2. <html data-bs-theme="light" lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
  6. <title>{dreamer-cms:global name="title" /}</title>
  7. <link rel="stylesheet" href="{dreamer-cms:template /}assets/bootstrap/css/bootstrap.min.css">
  8. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/Roboto.css">
  9. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/Roboto%20Slab.css">
  10. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/bs-theme-overrides.css">
  11. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/aos.min.css">
  12. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/Hero-Carousel-images.css">
  13. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/Navbar-Right-Links-icons.css">
  14. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/smjy-header.css">
  15. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/sticky-dark-top-nav-with-dropdown.css">
  16. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/styles.css">
  17. </head>
  18. <body style="margin: 0px;">
  19. <header>
  20. <div class="container pt-xl-4" style="margin: 0 auto;padding: 0;">
  21. <nav class="navbar navbar-expand-md bg-body py-3" style="width: 100%;">
  22. <div class="container">
  23. <a class="navbar-brand d-flex align-items-center" href="/">
  24. {dreamer-cms:sql sql="select image_path as litpic from system_archives where id = [1800352925088759808]"}
  25. <img class="logo" src="/resources/uploads/[field:litpic /]" alt="logo" style="margin: 0 .5rem 0 0;" width="50px"
  26. height="50px">
  27. {/dreamer-cms:sql}
  28. <span>{dreamer-cms:global name="title" /}</span>
  29. </a>
  30. <button data-bs-toggle="collapse" class="navbar-toggler" data-bs-target="#navcol-2">
  31. <span class="navbar-toggler-icon"></span>
  32. </button>
  33. <div class="collapse navbar-collapse" id="navcol-2">
  34. <ul class="navbar-nav ms-auto">
  35. <li class="nav-item"><a class="nav-link active" href="/">Home</a></li>
  36. {dreamer-cms:categoryartlist length="5"}
  37. {dreamer-cms:if test="('true' eq [field:haschildren/])"}
  38. <li class="nav-item dropdown">
  39. <a class="dropdown-toggle nav-link" aria-expanded="false" data-bs-toggle="dropdown"
  40. href="[field:typeurl/]">[field:typenamecn /]</a>
  41. <div class="dropdown-menu">
  42. {dreamer-cms:channel}
  43. <a class="dropdown-item" href="[field:typeurl/]">[field:typenamecn /]</a>
  44. {/dreamer-cms:channel}
  45. </div>
  46. </li>
  47. {/dreamer-cms:if}
  48. {dreamer-cms:if test="('false' eq [field:haschildren/])"}
  49. <li class="nav-item"><a class="nav-link active" href="[field:typeurl /]">[field:typenamecn
  50. /]</a></li>
  51. {/dreamer-cms:if}
  52. {/dreamer-cms:categoryartlist}
  53. </ul>
  54. </div>
  55. </div>
  56. </nav>
  57. </div>
  58. </header>
  59. <!-- <script src="{dreamer-cms:template /}assets/bootstrap/js/bootstrap.min.js"></script>
  60. <script src="{dreamer-cms:template /}assets/js/aos.min.js"></script>
  61. <script src="{dreamer-cms:template /}assets/js/bs-init.js"></script> -->
  62. </body>
  63. </html>