Skip to content

Commit

Permalink
other required changes
Browse files Browse the repository at this point in the history
  • Loading branch information
qu1queee committed Sep 18, 2024
1 parent 9cf9e67 commit ea17659
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 24 deletions.
6 changes: 5 additions & 1 deletion assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@

img.height-50 {
height: 50px;
}
}

.td-navbar .navbar-brand__name {
display: none;
}
7 changes: 2 additions & 5 deletions content/en/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

{{% /blocks/lead %}}

{{< blocks/section color="dark" >}}
{{< blocks/section color="dark" type="row">}}

{{% blocks/feature icon="fab" %}}
{{% /blocks/feature %}}
Expand All @@ -43,7 +43,7 @@

{{< /blocks/section >}}

{{< blocks/section >}}
{{< blocks/section type="row" >}}

{{% blocks/feature icon="fab" %}}
{{% /blocks/feature %}}
Expand All @@ -52,11 +52,8 @@
Our source code is available on [GitHub](https://github.com/shipwright-io/build). Feel free to submit a [pull request](https://github.com/shipwright-io/build/pulls) - new users are always welcome!
{{% /blocks/feature %}}


{{% blocks/feature icon="fab" %}}
{{% /blocks/feature %}}


{{< /blocks/section >}}

<small class="text-left"><a href="https://www.flickr.com/photos/95012874@N00/2483655809">"Container ship"</a><span> by <a href="https://www.flickr.com/photos/95012874@N00">Martin Pettitt</a></span> is licensed under <a href="https://creativecommons.org/licenses/by/2.0/?ref=ccsearch&atype=html" style="margin-right: 5px;">CC BY 2.0</a><a href="https://creativecommons.org/licenses/by/2.0/?ref=ccsearch&atype=html" target="_blank" rel="noopener noreferrer" style="display: inline-block;white-space: none;margin-top: 2px;margin-left: 3px;height: 22px !important;"><img style="height: inherit;margin-right: 3px;display: inline-block;" src="https://search.creativecommons.org/static/img/cc_icon.svg" /><img style="height: inherit;margin-right: 3px;display: inline-block;" src="https://search.creativecommons.org/static/img/cc-by_icon.svg" /></a></small>
10 changes: 3 additions & 7 deletions content/en/docs/_index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
---
title: "Welcome to Shipwright"
linkTitle: "Documentation"
draft: false
title: "Documentation"
linkTitle: "Docs"
weight: 20
no_list: true
menu:
main:
weight: 20
menu: {main: {weight: 20}}
---


Expand Down
12 changes: 1 addition & 11 deletions layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}">
{{ if .Site.Params.ui.navbar_logo }}{{ with resources.Get "icons/logo.svg" }}<img class="nav-logo" src="{{ .RelPermalink}}"></img>{{ end }}{{ end }}
</a>
<div class="td-navbar-nav-scroll ml-md-auto" id="main_navbar">
<div class="td-navbar-nav-scroll ms-md-auto" id="main_navbar">
<ul class="navbar-nav mt-2 mt-lg-0">
{{ $p := . }}
{{ range .Site.Menus.main }}
Expand All @@ -18,16 +18,6 @@
<a class="nav-link{{if $active }} active{{end}}" href="{{ with .Page }}{{ .RelPermalink }}{{ else }}{{ .URL | relLangURL }}{{ end }}" {{ if ne $url.Host $baseurl.Host }}target="_blank" {{ end }}><span{{if $active }} class="active"{{end}}>{{ .Name }}</span></a>
</li>
{{ end }}
{{ if .Site.Params.versions }}
<li class="nav-item dropdown d-none d-lg-block">
{{ partial "navbar-version-selector.html" . }}
</li>
{{ end }}
{{ if (gt (len .Site.Home.Translations) 0) }}
<li class="nav-item dropdown d-none d-lg-block">
{{ partial "navbar-lang-selector.html" . }}
</li>
{{ end }}
</ul>
</div>
<div class="navbar-nav d-none d-lg-block">{{ partial "search-input.html" . }}</div>
Expand Down

0 comments on commit ea17659

Please sign in to comment.