Skip to content

Commit

Permalink
DOCS-2655: Link to .com page from logo (viamrobotics#3136)
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel authored Jul 18, 2024
1 parent ee2ad31 commit 00731dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ privacy_policy = "https://www.viam.com/privacy"
includes_dir = "_includes"
archived_version = false
url_latest_version = "https://docs.viam.com/"
url_dotcom = "https://viam.com/"
algolia_docsearch = true
offlineSearch = false
prism_syntax_highlighting = true
Expand Down
4 changes: 3 additions & 1 deletion layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<nav
class="js-navbar-scroll navbar navbar-expand navbar-dark {{ if $cover }}td-navbar-cover{{ end }} flex-column flex-md-row td-navbar">
<a class="navbar-brand" href="{{ .Site.BaseURL }}">
<a class="navbar-brand" href="{{ .Site.Params.url_dotcom }}">
{{- /**/ -}}
<span class="navbar-logo">
{{- if .Site.Params.ui.navbar_logo -}}
Expand All @@ -15,6 +15,8 @@
{{ end -}}
</span>
{{- /**/ -}}
</a>
<a class="navbar-brand" href="{{ .Site.BaseURL }}">
<span>
{{- .Site.Title -}}
</span>
Expand Down

0 comments on commit 00731dc

Please sign in to comment.