Skip to content

Commit

Permalink
Merge pull request #601 from direnakkoc/fix-slack-link
Browse files Browse the repository at this point in the history
Fix the broken slack link
  • Loading branch information
andrea-kyurchiev authored Aug 15, 2023
2 parents 92f4ace + fc6f3ff commit fbd753f
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<a class="navbar-brand"
href='{{ if eq .Site.Language.Lang "en" }}{{ site.BaseURL }}{{ else }}{{ site.BaseURL }}{{ .Site.Language.Lang }}{{end}}'>
<img width="{{ site.Params.logo_width}}" class="img-fluid" src="{{ site.Params.logo | absURL }}"
alt="{{ site.Title }}">
alt="{{ site.Title }}">
</a>
<button class="navbar-toggler border-0" type="button" data-toggle="collapse" data-target="#navigation">
<i class="ti-menu"></i>
Expand All @@ -17,11 +17,14 @@
{{ range site.Menus.main }}
{{ if .HasChildren }}
<li class="nav-item dropdown">
<a class="nav-link nav-with-toggle" href="{{ .URL | absURL }}" {{ with .Pre }} target="{{ . }}" {{ end }}>{{.Name }}</a>
<a class="dropdown-toggle" href="#" role="button" data-toggle="dropdown" data-reference="dropdown-toggle" data-display="static"></a>
<a class="nav-link nav-with-toggle" href="{{ .URL | absURL }}" {{ with .Pre }} target="{{ . }}" {{ end
}}>{{.Name }}</a>
<a class="dropdown-toggle" href="#" role="button" data-toggle="dropdown" data-reference="dropdown-toggle"
data-display="static"></a>
<div class="dropdown-menu">
{{ range .Children }}
<a class="dropdown-item" href="{{ .URL | absURL }}" {{ with .Pre }} target="{{ . }}" {{ end }}>{{ .Name }}</a>
<a class="dropdown-item" href="{{ .URL | absURL }}" {{ with .Pre }} target="{{ . }}" {{ end }}>{{ .Name
}}</a>
{{ end }}
</div>
</li>
Expand All @@ -32,7 +35,7 @@
{{ end }}
{{ end }}
</ul>
<a href="{{ " slack" | absURL }}" class="btn btn-sm slack-invite-btn btn-primary ml-2" target="_blank"><i
<a href="{{ "slack" | absURL }}" class="btn btn-sm slack-invite-btn btn-primary ml-2" target="_blank"><i
class="ti-comments pr-2"></i>{{ T "join_slack" }}</a>
{{ if in .CurrentSection.Permalink "/learn/learning-path"}}
<select id="langpicker" class="selectpicker" data-style="btn-light btn-sm ml-3" data-width="fit">
Expand All @@ -58,8 +61,10 @@
<div class="container">
<div class="row align-items-center">
<div class="col-md-12 text-center">
<i class="ti-calendar mr-2"></i>Join us on Wednesday, September 13th at 9am BST / 10am CEST / 1:30pm IST / 6pm AEST, when Hunter Nield from Govtech will discuss
<a href="https://bit.ly/3Kgfq0c" class="btn-link ml-1" target="_blank"> Improving Engineering Collaboration across the Singapore Government through Innersource
<i class="ti-calendar mr-2"></i>Join us on Wednesday, September 13th at 9am BST / 10am CEST / 1:30pm IST / 6pm
AEST, when Hunter Nield from Govtech will discuss
<a href="https://bit.ly/3Kgfq0c" class="btn-link ml-1" target="_blank"> Improving Engineering Collaboration
across the Singapore Government through Innersource
<i class="ti-arrow-right"></i></a>
</div>
</div>
Expand All @@ -76,4 +81,4 @@
</div>
</div>
</section>
-->
-->

0 comments on commit fbd753f

Please sign in to comment.