Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This theme was inspired by http://fsprojects.github.io/SQLProvider/
- Loading branch information
Showing
18 changed files
with
73 additions
and
872 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ title: Home | |
weight: 10 | ||
menu: | ||
main: | ||
pre: "<i class='fa fa-home'></i>" | ||
url: "" | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,9 @@ | ||
{{ $cur := . }} | ||
<div id="prevNext"> | ||
{{ range $i, $el := .Site.Menus.main }} | ||
{{ $.Scratch.Set "tempPrev" "" }} | ||
{{ $.Scratch.Set "parent" "" }} | ||
{{ range .Children }} | ||
{{ if ne ($.Scratch.Get "parent") "" }} | ||
<div class="pull-right"> | ||
<a href="{{.URL}}"> | ||
{{.Name}} <i class="fa fa-angle-right"></i> | ||
</a> | ||
</div> | ||
{{ $.Scratch.Set "parent" "" }} | ||
{{ end }} | ||
{{ if $cur.IsMenuCurrent "main" . }} | ||
{{ $.Scratch.Set "parent" $el }} | ||
{{ if ne ($.Scratch.Get "tempPrev") "" }} | ||
<div class="pull-left"> | ||
<a href="{{($.Scratch.Get "tempPrev").URL}}"> | ||
<i class="fa fa-angle-left"></i> {{($.Scratch.Get "tempPrev").Name}} | ||
</a> | ||
</div> | ||
{{ end }} | ||
{{ end }} | ||
{{ $.Scratch.Set "tempPrev" . }} | ||
{{ end }} | ||
{{ end }} | ||
<div class="clearfix"></div> | ||
</div> | ||
<!-- col --> | ||
{{ partial "menu.html" . }} | ||
</div> | ||
<!-- row --> | ||
</div> | ||
<!-- container --> | ||
|
||
<footer class="footer"> | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div id="footerContent" class="col-sm-12"> | ||
Free and open source under the | ||
<a href="https://github.com/mysql-net/MySqlConnector/blob/master/LICENSE">MIT License</a> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
|
||
<!-- js --> | ||
<script type="text/javascript" src="assets/jquery/js/jquery-2.1.4.min.js"></script> | ||
<script type="text/javascript" src="assets/bootstrap/js/bootstrap.min.js"></script> | ||
<script type="text/javascript" src="assets/prism/js/prism.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,17 @@ | ||
{{ $cur := . }} | ||
<div class="col-md-3"> | ||
<div class="list-group" id="navigation" data-spy="affix" data-offset-top="0"> | ||
<div class="span3"> | ||
<ul class="nav nav-list" id="menu"> | ||
|
||
{{ range $i, $el := .Site.Menus.main }} | ||
<a class="list-group-item{{ if or ($cur.IsMenuCurrent "main" .) ($cur.HasMenuCurrent "main" .) (and (eq $i 0) ($cur.IsHome)) }} active{{ end }}" href="{{ if .HasChildren }}#nav-{{ $i }}{{ else }}{{ .URL }}{{ end }}" data-parent="#navigation"{{ if .HasChildren }} data-toggle="collapse"{{end}}> | ||
{{ .Pre }} <span>{{ .Name }}</span> {{ if .HasChildren }}<i class="fa fa-angle-down"></i>{{ end }} | ||
</a> | ||
<li class="nav-header"> | ||
{{ if .HasChildren }}{{ .Name }}{{ else }}<a href="{{ .URL }}">{{ .Name }}</a>{{ end }} | ||
</li> | ||
|
||
{{ if .HasChildren }} | ||
<div id="nav-{{ $i }}" class="submenu panel-collapse collapse {{ if $cur.HasMenuCurrent "main" . }} in{{ end }}"> | ||
{{ range .Children }} | ||
<a class="list-group-item{{ if $cur.IsMenuCurrent "main" . }} active{{ end }}" data-parent="#nav-{{$i}}" href="{{.URL}}"> | ||
<span>{{ .Name }}</span> | ||
</a> | ||
{{ end }} | ||
</div> | ||
{{ range .Children }} | ||
<li> | ||
<a href="{{.URL}}">{{ .Name }}</a> | ||
</li> | ||
{{ end }} | ||
|
||
{{ end }} | ||
</div> | ||
</ul> | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.