dnote/pkg/server/views/templates/partials/settings_sidebar.gohtml
Sung Won Cho 5bba57fd29
Remove dependency on packr (#597)
* Embed files

* Build CLI

* Remove packr

* Embed view directory

* Embed static files

* Make view engine

* Populate build info
2022-05-09 20:34:23 +10:00

23 lines
501 B
Text

{{define "settingsSidebar"}}
<nav class="sidebar">
<ul class="list-unstyled">
<li>
<a class="sidebar-item {{if eq .CurrentPath "/"}}active{{end}}" href="/">Account</a>
</li>
{{if ne .Standalone "true"}}
<li>
<a class="sidebar-item" href="/subscriptions/manage">
Billing
</a>
</li>
{{end}}
<li>
<a class="sidebar-item {{if eq .CurrentPath "/about"}}active{{end}}" href="/about">
About
</a>
</li>
</ul>
</nav>
{{end}}