Skip to content

Commit

Permalink
fix urls
Browse files Browse the repository at this point in the history
  • Loading branch information
generall committed Nov 7, 2024
1 parent e7626fa commit 13c0db9
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion qdrant-landing/content/documentation/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ content:
url: /documentation/quickstart-cloud/
localButton:
text: Local Quickstart
url: /documentation/quick-start/
url: /documentation/quickstart/
contained: true
- partial: documentation/banners/banner-d
developingTitle: Ready to start developing?
Expand Down
1 change: 0 additions & 1 deletion qdrant-landing/content/documentation/quickstart-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: Cloud Quickstart
weight: 4
partition: qdrant
aliases:
- quickstart-cloud
- ../cloud-quick-start
- cloud-quick-start
- cloud-quickstart
Expand Down
1 change: 0 additions & 1 deletion qdrant-landing/content/documentation/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ partition: qdrant
aliases:
- quick_start
- quick-start
- quickstart
---
# How to Get Started with Qdrant Locally

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ <h1 class="docs-core__hero-title">{{ .title }}</h1>
<p class="docs-core__hero-description">{{ .description }}</p>
<p class="docs-core__hero-link">{{ .linkDescription | safeHTML }}</p>
<div class="docs-core__hero-buttons">
<a href="{{ .cloudButton.url }}" class="button button_contained button_sm">
<a href="{{ .cloudButton.url }}" {{ if strings.HasPrefix .cloudButton.url "https://" }}target="_blank"{{ end }} class="button button_contained button_sm">
{{ .cloudButton.text }}
</a>
<a href="{{ .localButton.url }}" class="button button_outlined button_sm">
<a href="{{ .localButton.url }}" {{ if strings.HasPrefix .localButton.url "https://" }}target="_blank"{{ end }} class="button button_outlined button_sm">
{{ .localButton.text }}
</a>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<section class="docs-cloud__hero docs__hero">
<div class="docs__hero-content">
<h1 class="docs__hero-title">{{ .title }}</h1>
<a href="{{ .startedButton.url }}" class="button button_outlined button_sm docs__hero-button">
<a href="{{ .startedButton.url }}" {{ if strings.HasPrefix .startedButton.url "https://" }}target="_blank"{{ end }} class="button button_outlined button_sm docs__hero-button">
{{ .startedButton.text }}
</a>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<section class="docs-build__hero docs__hero">
<div class="docs__hero-content">
<h1 class="docs__hero-title">{{ .title }}</h1>
<a href="{{ .startedButton.url }}" class="button button_outlined button_sm docs__hero-button">
<a href="{{ .startedButton.url }}" {{ if strings.HasPrefix .startedButton.url "https://" }}target="_blank"{{ end }} class="button button_outlined button_sm docs__hero-button">
{{ .startedButton.text }}
</a>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h2>{{ .developingTitle }}</h2>
<div class="row align-items-center">
<div class="docs-core__developing-block-text col-12 col-lg-7">
<h3 class="docs-core__developing-bloc-title">{{ .developingBlock.title }}</h3>
<a href="{{ .developingBlock.button.url }}" class="button button_outlined button_sm" target="_blank">
<a href="{{ .developingBlock.button.url }}" {{ if strings.HasPrefix .developingBlock.url "https://" }}target="_blank"{{ end }} class="button button_outlined button_sm" target="_blank">
{{ .developingBlock.button.text }}
</a>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="col-12 col-lg-4">
<a href="{{ .link }}" class="docs-card">
<a href="{{ .link }}" {{ if strings.HasPrefix .link "https://" }}target="_blank"{{ end }} class="docs-card">
{{ if or (.tag) (.icon) }}
<div class="docs-card__tag {{if .tagColor}}docs-card__tag_{{- .tagColor -}}{{end}}">
{{ if .icon }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="col-12 col-lg-6">
<a href="{{ .link.url }}" class="docs-card">
<a href="{{ .link.url }}" {{ if strings.HasPrefix .link.url "https://" }}target="_blank"{{ end }} class="docs-card">
{{ if or (.tag) (.icon) }}
<div class="docs-card__tag {{ if .tagColor }}docs-card__tag_{{- .tagColor -}}{{ end }}">
{{ if .icon }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h2>{{ .title }}</h2>
<p class="mb-3">{{ .description }}</p>
</div>
{{ if .button }}
<a href="{{ .dataButton.url }}" class="button button_outlined button_sm">
<a href="{{ .button.url }}" {{ if strings.HasPrefix .button.url "https://" }}target="_blank"{{ end }} class="button button_outlined button_sm">
{{ .button.text }}
</a>
{{ end }}
Expand Down

0 comments on commit 13c0db9

Please sign in to comment.