taxonomy.html 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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. <!-- *** LEFT COLUMN *** -->
  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 }}">{{ 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 .Site.Params.date_format }}</a>
  45. </p>
  46. {{ end }}
  47. </div>
  48. {{ if isset .Params "summary" }}
  49. <p class="intro">
  50. {{ .Params.summary }}
  51. </p>
  52. {{ end }}
  53. <p class="read-more"><a href="{{ .Permalink }}" class="btn btn-template-main">{{ i18n "continueReading" }}</a>
  54. </p>
  55. </div>
  56. </div>
  57. </section>
  58. {{ end }}
  59. <ul class="pager">
  60. {{ if .Paginator.HasPrev }}
  61. <li class="previous"><a href="{{ .Paginator.Prev.URL | relURL }}">&larr; {{ i18n "newer" }}</a></li>
  62. {{ else }}
  63. <li class="previous disabled"><a href="#">&larr; {{ i18n "newer" }}</a></li>
  64. {{ end }}
  65. {{ if .Paginator.HasNext }}
  66. <li class="next"><a href="{{ .Paginator.Next.URL | relURL }}">{{ i18n "older" }} &rarr;</a></li>
  67. {{ else }}
  68. <li class="next disabled"><a href="#">{{ i18n "older" }} &rarr;</a></li>
  69. {{ end }}
  70. </ul>
  71. </div>
  72. <!-- /.col-md-9 -->
  73. <!-- *** LEFT COLUMN END *** -->
  74. <!-- *** RIGHT COLUMN ***
  75. _________________________________________________________ -->
  76. <div class="col-md-3">
  77. <!-- *** MENUS AND WIDGETS *** -->
  78. {{ partial "sidebar.html" . }}
  79. <!-- *** MENUS AND FILTERS END *** -->
  80. </div>
  81. <!-- /.col-md-3 -->
  82. <!-- *** RIGHT COLUMN END *** -->
  83. </div>
  84. <!-- /.row -->
  85. </div>
  86. <!-- /.container -->
  87. </div>
  88. <!-- /#content -->
  89. {{ partial "LP_components/Footer.html" . }}
  90. </div>
  91. <!-- /#all -->
  92. {{ partial "scripts.html" . }}
  93. <script>
  94. function tab1 () {
  95. if(('.v-tabs').length){
  96. // Show the first tab by default
  97. $('.v-tabs-stage>div').hide();
  98. $('.v-tabs-stage>div:first').show();
  99. $('.v-tabs-nav li:first').addClass('v-tab-active');
  100. // Change tab class and display content
  101. $('.v-tabs-nav a').on('click', function(event){
  102. event.preventDefault();
  103. $('.v-tabs-nav li').removeClass('v-tab-active');
  104. $(this).parent().addClass('v-tab-active');
  105. $('.v-tabs-stage>div').hide();
  106. $($(this).attr('href')).show();
  107. });
  108. }
  109. }
  110. function tab2 () {
  111. if(('.d-tabs').length){
  112. // Show the first tab by default
  113. $('.d-tabs-stage>div').hide();
  114. $('.d-tabs-stage>div:first').show();
  115. $('.d-tabs-nav li:first').addClass('d-tab-active');
  116. // Change tab class and display content
  117. $('.d-tabs-nav a').on('click', function(event){
  118. event.preventDefault();
  119. $('.d-tabs-nav li').removeClass('d-tab-active');
  120. $(this).parent().addClass('d-tab-active');
  121. $('.d-tabs-stage>div').hide();
  122. $($(this).attr('href')).show();
  123. });
  124. }
  125. }
  126. function tab3 () {
  127. if(('.m-tabs').length){
  128. // Show the first tab by default
  129. $('.m-tabs-stage>div').hide();
  130. $('.m-tabs-stage>div:first').show();
  131. $('.m-tabs-nav li:first').addClass('m-tab-active');
  132. // Change tab class and display content
  133. $('.m-tabs-nav a').on('click', function(event){
  134. event.preventDefault();
  135. $('.m-tabs-nav li').removeClass('m-tab-active');
  136. $(this).parent().addClass('m-tab-active');
  137. $('.m-tabs-stage>div').hide();
  138. $($(this).attr('href')).show();
  139. });
  140. }
  141. }
  142. function nfttab () {
  143. if(('.nft-tabs').length){
  144. // Show the first tab by default
  145. $('.nft-tabs-stage>div').hide();
  146. $('.nft-tabs-stage>div:first').show();
  147. $('.nft-tabs-nav li:first').addClass('nft-tab-active');
  148. // Change tab class and display content
  149. $('.nft-tabs-nav a').on('click', function(event){
  150. event.preventDefault();
  151. $('.nft-tabs-nav li').removeClass('nft-tab-active');
  152. $(this).parent().addClass('nft-tab-active');
  153. $('.nft-tabs-stage>div').hide();
  154. $($(this).attr('href')).show();
  155. });
  156. }
  157. }
  158. tab1();
  159. tab2();
  160. tab3();
  161. nfttab();
  162. </script>
  163. </body>
  164. </html>