fix some problems in aside

This commit is contained in:
saadnpq 2020-05-17 00:12:11 +02:00
parent 2d2a26d651
commit f04e7cee68
1 changed files with 2 additions and 1 deletions

View File

@ -19,11 +19,12 @@
{{ $url := urls.Parse .URL }} {{ $url := urls.Parse .URL }}
<a href="{{ $url }}" <a href="{{ $url }}"
{{ if ne $url.Host ""}} {{ if ne $url.Host ""}}
target="_blanck" target="_blank"
{{end}} {{end}}
> >
{{ .Pre }} {{ .Pre }}
<span>{{ .Name }}</span> <span>{{ .Name }}</span>
</a> </a>
{{end}} {{end}}
</nav>
</aside> </aside>