2017-02-23 03:59:06 +08:00
|
|
|
<nav aria-label="Navigation">
|
2017-04-15 05:46:35 +08:00
|
|
|
<a href="{{ with .Site.Params.repo_url }}{{ . }}{{ else }}{{ .Site.BaseURL }}{{ end }}" class="project">
|
|
|
|
<div class="banner">
|
|
|
|
{{ with .Site.Params.logo }}
|
|
|
|
<div class="logo">
|
|
|
|
<img src="{{ $.Site.BaseURL }}{{ . }}">
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2017-03-11 02:48:13 +08:00
|
|
|
<!--<div class="name">-->
|
|
|
|
<!--<strong>{{ .Site.Title }} {{ with .Site.Params.version }}<span class="version">{{ . }}</span>{{ end }}</strong>-->
|
|
|
|
<!--{{ with .Scratch.Get "repo_id" }}-->
|
|
|
|
<!--<br>-->
|
|
|
|
<!--{{ . }}-->
|
|
|
|
<!--{{ end }}-->
|
|
|
|
<!--</div>-->
|
2017-04-15 05:46:35 +08:00
|
|
|
</div>
|
|
|
|
</a>
|
2017-02-23 03:59:06 +08:00
|
|
|
|
|
|
|
<div class="scrollable">
|
|
|
|
<div class="wrapper">
|
|
|
|
{{ if (eq (trim .Site.Params.provider " " | lower) "github") | and (isset .Site.Params "repo_url") }}
|
|
|
|
<ul class="repo">
|
|
|
|
<li class="repo-download">
|
|
|
|
<a href="{{ .Site.Params.repo_url }}/archive/master.zip" target="_blank" title="Download" data-action="download">
|
|
|
|
<i class="icon icon-download"></i> Download
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="repo-stars">
|
|
|
|
<a href="{{ .Site.Params.repo_url }}/stargazers" target="_blank" title="Stargazers" data-action="star">
|
|
|
|
<i class="icon icon-star"></i> Stars
|
|
|
|
<span class="count">–</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<hr>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<div class="toc">
|
|
|
|
{{ if gt (len .Site.Menus.main) 0 }}
|
|
|
|
<ul>
|
|
|
|
{{ partial "nav" . }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
|
|
|
|
2017-11-08 10:55:58 +08:00
|
|
|
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<div>
|
|
|
|
<!-- ------------------------------------------------------------------------- -->
|
|
|
|
<!-- Google Ads -->
|
|
|
|
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
|
|
|
<!-- Laradock Vertical -->
|
|
|
|
<ins class="adsbygoogle"
|
|
|
|
style="display:inline-block;width:237px;height:600px"
|
|
|
|
data-ad-client="ca-pub-9826129398689742"
|
|
|
|
data-ad-slot="9891442983"></ins>
|
|
|
|
<script>
|
|
|
|
(adsbygoogle = window.adsbygoogle || []).push({});
|
|
|
|
</script>
|
|
|
|
<!-- ------------------------------------------------------------------------- -->
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
<!--{{ if isset .Site.Params "author" }}-->
|
2017-03-11 02:48:13 +08:00
|
|
|
<!--<hr>-->
|
|
|
|
<!--<span class="section">The author</span>-->
|
2017-11-08 10:55:58 +08:00
|
|
|
<!---->
|
|
|
|
<!--<ul>-->
|
|
|
|
<!--{{ with .Site.Social.twitter }}-->
|
|
|
|
<!--<li>-->
|
|
|
|
<!--<a href="https://twitter.com/{{ . }}" target="_blank" title="@{{ . }} on Twitter">-->
|
|
|
|
<!--@{{ . }} on Twitter-->
|
|
|
|
<!--</a>-->
|
|
|
|
<!--</li>-->
|
|
|
|
<!--{{ end }}-->
|
2017-02-23 03:59:06 +08:00
|
|
|
|
2017-03-11 02:48:13 +08:00
|
|
|
<!--{{ with .Site.Social.github }}-->
|
|
|
|
<!--<li>-->
|
|
|
|
<!--<a href="https://github.com/{{ . }}" target="_blank" title="@{{ . }} on GitHub">-->
|
|
|
|
<!--@{{ . }} on GitHub-->
|
|
|
|
<!--</a>-->
|
|
|
|
<!--</li>-->
|
|
|
|
<!--{{ end }}-->
|
2017-02-23 03:59:06 +08:00
|
|
|
|
2017-11-08 10:55:58 +08:00
|
|
|
<!--{{ with .Site.Social.email }}-->
|
|
|
|
<!--<li>-->
|
|
|
|
<!--<a href="mailto:{{ . }}" title="Email of {{ . }}">-->
|
|
|
|
<!--Contact via email-->
|
|
|
|
<!--</a>-->
|
|
|
|
<!--</li>-->
|
|
|
|
<!--{{ end }}-->
|
|
|
|
<!--</ul>-->
|
|
|
|
<!--{{ end }}-->
|
2017-02-23 03:59:06 +08:00
|
|
|
</div>
|
2017-11-08 10:55:58 +08:00
|
|
|
|
2017-02-23 03:59:06 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|