taxonomy.html 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <!DOCTYPE html>
  2. <html lang="{{ .Site.LanguageCode }}">
  3. {{ partial "head.html" . }}
  4. <body>
  5. <div id="all" style="overflow-x: hidden;">
  6. {{ partial "navbar.html" . }}
  7. <!-- {{ partial "nav.html" . }} -->
  8. {{ partial "breadcrumbs.html" . }}
  9. <div id="content">
  10. {{ .Content }}
  11. <div class="container container-list">
  12. <div class="row">
  13. <div class="col-md-9" id="blog-listing-medium">
  14. {{ $paginator := .Paginate (where .Data.Pages "Type" "blog") }}
  15. {{ range $paginator.Pages }}
  16. <section class="post tag-post">
  17. <div class="row">
  18. <div class="col-md-4">
  19. <div class="image">
  20. <a href="{{ .Permalink }}">
  21. {{ if .Params.banner }}
  22. <img src="{{ .Params.banner | relURL }}" class="img-responsive" alt="">
  23. {{ else }}
  24. <img src="{{ " img/placeholder.png" | relURL }}" class="img-responsive" alt="">
  25. {{ end }}
  26. </a>
  27. </div>
  28. </div>
  29. <div class="col-md-8">
  30. <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
  31. <div class="clearfix">
  32. <p class="author-category">
  33. {{ if isset .Params "author" }}
  34. {{ i18n "authorBy" }} <a href="#">{{ .Params.author }}</a>
  35. {{ end }}
  36. {{ if isset .Params "categories" }}
  37. {{ if gt (len .Params.categories) 0 }}
  38. in <a href="{{ "categories/" | relURL }}{{ index .Params.categories 0 | urlize | lower }}">{{
  39. index .Params.categories 0 }}</a>
  40. {{ end }}
  41. {{ end }}
  42. </p>
  43. {{ if isset .Params "date" }}
  44. <p class="date-comments">
  45. <a href="{{ .Permalink }}"><i class="far fa-calendar"></i> {{ .Date.Format
  46. .Site.Params.date_format }}</a>
  47. </p>
  48. {{ end }}
  49. </div>
  50. {{ if isset .Params "summary" }}
  51. <p class="intro">
  52. {{ .Params.summary }}
  53. </p>
  54. {{ end }}
  55. <p class="read-more"><a href="{{ .Permalink }}" class="btn btn-template-main">{{
  56. i18n "continueReading" }}</a>
  57. </p>
  58. </div>
  59. </div>
  60. </section>
  61. {{ end }}
  62. <ul class="pager">
  63. {{ if .Paginator.HasPrev }}
  64. <li class="previous"><a href="{{ .Paginator.Prev.URL | relURL }}">&larr; {{ i18n "newer"
  65. }}</a></li>
  66. {{ else }}
  67. <li class="previous disabled"><a href="#">&larr; {{ i18n "newer" }}</a></li>
  68. {{ end }}
  69. {{ if .Paginator.HasNext }}
  70. <li class="next"><a href="{{ .Paginator.Next.URL | relURL }}">{{ i18n "older" }} &rarr;</a>
  71. </li>
  72. {{ else }}
  73. <li class="next disabled"><a href="#">{{ i18n "older" }} &rarr;</a></li>
  74. {{ end }}
  75. </ul>
  76. </div>
  77. <div class="col-md-3">
  78. {{ partial "sidebar.html" . }}
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. {{ partial "LP_components/Footer.html" . }}
  84. </div>
  85. {{ partial "scripts.html" . }}
  86. <script>
  87. function tab1() {
  88. if (('.v-tabs').length) {
  89. // Show the first tab by default
  90. $('.v-tabs-stage>div').hide();
  91. $('.v-tabs-stage>div:first').show();
  92. $('.v-tabs-nav li:first').addClass('v-tab-active');
  93. // Change tab class and display content
  94. $('.v-tabs-nav a').on('click', function (event) {
  95. event.preventDefault();
  96. $('.v-tabs-nav li').removeClass('v-tab-active');
  97. $(this).parent().addClass('v-tab-active');
  98. $('.v-tabs-stage>div').hide();
  99. $($(this).attr('href')).show();
  100. });
  101. }
  102. }
  103. function tab2() {
  104. if (('.d-tabs').length) {
  105. // Show the first tab by default
  106. $('.d-tabs-stage>div').hide();
  107. $('.d-tabs-stage>div:first').show();
  108. $('.d-tabs-nav li:first').addClass('d-tab-active');
  109. // Change tab class and display content
  110. $('.d-tabs-nav a').on('click', function (event) {
  111. event.preventDefault();
  112. $('.d-tabs-nav li').removeClass('d-tab-active');
  113. $(this).parent().addClass('d-tab-active');
  114. $('.d-tabs-stage>div').hide();
  115. $($(this).attr('href')).show();
  116. });
  117. }
  118. }
  119. function tab3() {
  120. if (('.m-tabs').length) {
  121. // Show the first tab by default
  122. $('.m-tabs-stage>div').hide();
  123. $('.m-tabs-stage>div:first').show();
  124. $('.m-tabs-nav li:first').addClass('m-tab-active');
  125. // Change tab class and display content
  126. $('.m-tabs-nav a').on('click', function (event) {
  127. event.preventDefault();
  128. $('.m-tabs-nav li').removeClass('m-tab-active');
  129. $(this).parent().addClass('m-tab-active');
  130. $('.m-tabs-stage>div').hide();
  131. $($(this).attr('href')).show();
  132. });
  133. }
  134. }
  135. function nfttab() {
  136. if (('.nft-tabs').length) {
  137. // Show the first tab by default
  138. $('.nft-tabs-stage>div').hide();
  139. $('.nft-tabs-stage>div:first').show();
  140. $('.nft-tabs-nav li:first').addClass('nft-tab-active');
  141. // Change tab class and display content
  142. $('.nft-tabs-nav a').on('click', function (event) {
  143. event.preventDefault();
  144. $('.nft-tabs-nav li').removeClass('nft-tab-active');
  145. $(this).parent().addClass('nft-tab-active');
  146. $('.nft-tabs-stage>div').hide();
  147. $($(this).attr('href')).show();
  148. });
  149. }
  150. }
  151. tab1();
  152. tab2();
  153. tab3();
  154. nfttab();
  155. </script>
  156. </body>
  157. </html>