diff options
-rw-r--r-- | layouts/go/single.html | 2 | ||||
-rw-r--r-- | layouts/projects/single.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/go/single.html b/layouts/go/single.html index 99c6d28..4252924 100644 --- a/layouts/go/single.html +++ b/layouts/go/single.html @@ -24,7 +24,7 @@ <code>go get -u neonxp.ru/go/{{ .Params.Name }}@latest</code> <hr> <div> - <a class="btn btn-primary" href="https://pkg.go.dev/neonxp.ru/go/{{ .Params.Name }}">{{ partial "icon.html" "golang" }} Документация</a> + <a class="btn btn-primary" target="_blank" href="https://pkg.go.dev/neonxp.ru/go/{{ .Params.Name }}">{{ partial "icon.html" "golang" }} Документация</a> </div> </div> <div class="e-content">{{ .Content }}</div> diff --git a/layouts/projects/single.html b/layouts/projects/single.html index 35ef62b..14ce85f 100644 --- a/layouts/projects/single.html +++ b/layouts/projects/single.html @@ -23,11 +23,11 @@ {{ partial "single/header.html" . }} <div class="alert alert-info" role="alert"> <div class="btn-group"> - <a class="btn btn-primary" href="{{.Params.project_url}}"> + <a class="btn btn-primary" target="_blank" href="{{.Params.project_url}}"> {{ partial "icon.html" "link" }} {{.Params.project_url}} </a> {{ if .Params.git_url}} - <a class="btn btn-primary" href="{{.Params.git_url}}"> + <a class="btn btn-primary" target="_blank" href="{{.Params.git_url}}"> {{ partial "icon.html" "git" }} {{.Params.git_url}} </a> {{ end }} |