aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-22 02:21:38 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-22 02:21:38 +0300
commitbc84ab71a602abe47feff1c31c1c989cbd87f6c2 (patch)
treec0ffe9750f3e371fb03d14ddc3c2995b9333d690
parent47f55b453b00f47d99a08ea4ae61a7f96f61e596 (diff)
Auto-commit 2024-12-22
-rw-r--r--layouts/go/single.html2
-rw-r--r--layouts/projects/single.html4
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" }}&nbsp;{{.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" }}&nbsp;{{.Params.git_url}}
</a>
{{ end }}