Welcome to mirror list, hosted at ThFree Co, Russian Federation.

remote.html « shortcodes « layouts - github.com/blankoworld/hugo_theme_adam_eve.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f4661e73f565f79b93eca842c97ccad377ae9f50 (plain)
1
2
3
4
5
6
7
{{ if len .Params | eq 2 }}
<a class="remote" href="{{ .Get 1 }}">{{ .Get 0 }}</a>
{{ else if len .Params | eq 3 }}
 <a class="remote" href="{{ .Get 1 }}" title="{{ .Get 2 }}">{{ .Get 0 }}</a>
{{ else }}
 <a class="remote" href="{{ .Get 0 }}">{{ .Get 0 }}</a>
{{ end }}