drawer.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <nav aria-label="Navigation">
  2. <a href="{{ with .Site.Params.repo_url }}{{ . }}{{ else }}{{ .Site.BaseURL }}{{ end }}" class="project">
  3. <div class="banner">
  4. {{ with .Site.Params.logo }}
  5. <div class="logo">
  6. <img src="{{ $.Site.BaseURL }}{{ . }}">
  7. </div>
  8. Laradock
  9. {{ end }}
  10. <!--<div class="name">-->
  11. <!--<strong>{{ .Site.Title }} {{ with .Site.Params.version }}<span class="version">{{ . }}</span>{{ end }}</strong>-->
  12. <!--{{ with .Scratch.Get "repo_id" }}-->
  13. <!--<br>-->
  14. <!--{{ . }}-->
  15. <!--{{ end }}-->
  16. <!--</div>-->
  17. </div>
  18. </a>
  19. <div class="scrollable">
  20. <div class="wrapper">
  21. {{ if (eq (trim .Site.Params.provider " " | lower) "github") | and (isset .Site.Params "repo_url") }}
  22. <ul class="repo">
  23. <li class="repo-download">
  24. <a href="{{ .Site.Params.repo_url }}/archive/master.zip" target="_blank" title="Download" data-action="download">
  25. <i class="icon icon-download"></i> Download
  26. </a>
  27. </li>
  28. <li class="repo-stars">
  29. <a href="{{ .Site.Params.repo_url }}/stargazers" target="_blank" title="Stargazers" data-action="star">
  30. <i class="icon icon-star"></i> Stars
  31. <span class="count">&ndash;</span>
  32. </a>
  33. </li>
  34. </ul>
  35. <hr>
  36. {{ end }}
  37. <div class="toc">
  38. {{ if gt (len .Site.Menus.main) 0 }}
  39. <ul>
  40. {{ partial "nav" . }}
  41. </ul>
  42. {{ end }}
  43. <br>
  44. <br>
  45. <div>
  46. <!-- ------------------------------------------------------------------------- -->
  47. <!-- Google Ads -->
  48. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  49. <!-- Laradock Vertical -->
  50. <ins class="adsbygoogle"
  51. style="display:inline-block;width:237px;height:600px"
  52. data-ad-client="ca-pub-9826129398689742"
  53. data-ad-slot="9891442983"></ins>
  54. <script>
  55. (adsbygoogle = window.adsbygoogle || []).push({});
  56. </script>
  57. <!-- ------------------------------------------------------------------------- -->
  58. </div>
  59. <br>
  60. <br>
  61. <!--{{ if isset .Site.Params "author" }}-->
  62. <!--<hr>-->
  63. <!--<span class="section">The author</span>-->
  64. <!---->
  65. <!--<ul>-->
  66. <!--{{ with .Site.Social.twitter }}-->
  67. <!--<li>-->
  68. <!--<a href="https://twitter.com/{{ . }}" target="_blank" title="@{{ . }} on Twitter">-->
  69. <!--@{{ . }} on Twitter-->
  70. <!--</a>-->
  71. <!--</li>-->
  72. <!--{{ end }}-->
  73. <!--{{ with .Site.Social.github }}-->
  74. <!--<li>-->
  75. <!--<a href="https://github.com/{{ . }}" target="_blank" title="@{{ . }} on GitHub">-->
  76. <!--@{{ . }} on GitHub-->
  77. <!--</a>-->
  78. <!--</li>-->
  79. <!--{{ end }}-->
  80. <!--{{ with .Site.Social.email }}-->
  81. <!--<li>-->
  82. <!--<a href="mailto:{{ . }}" title="Email of {{ . }}">-->
  83. <!--Contact via email-->
  84. <!--</a>-->
  85. <!--</li>-->
  86. <!--{{ end }}-->
  87. <!--</ul>-->
  88. <!--{{ end }}-->
  89. </div>
  90. </div>
  91. </div>
  92. </nav>