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