change main top logo url to be relative

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
newmemberlevels
Toshaan Bharvani 3 years ago
parent c5d0f67860
commit 2bf436743b

@ -1,11 +1,13 @@
<header class="header"> <header class="header">
<div class="container navigation"> <div class="container navigation">
<div class="row d-lg-flex flex-lg-nowrap"> <div class="row d-lg-flex flex-lg-nowrap">
{{ $imageresource := resources.Get "img/logo.png" }} {{ $imageresource := resources.Get "img/logo.png" }}
{{ $imagefile := $imageresource.Resize "350x60" }} {{ $imagefile := $imageresource.Resize "350x60" }}
<div class="header__logo-col col d-flex justify-content-center align-items-center"><a class="header__logo" href="/"> <div class="header__logo-col col d-flex justify-content-center align-items-center">
<img src="{{ $imagefile.RelPermalink }}" width="297" <a class="header__logo" href="{{ "/" | relURL }}">
height="49" alt="OpenPOWER"></a></div> <img src="{{ $imagefile.RelPermalink }}" width="297" height="49" alt="OpenPOWER">
</a>
</div>
<div class="header__menu-col col"> <div class="header__menu-col col">
<nav class="navbar navbar-expand-lg header__menu-nav" id="nav-menu-container"> <nav class="navbar navbar-expand-lg header__menu-nav" id="nav-menu-container">
<ul class="nav-menu header__menu d-lg-flex justify-content-center list-unstyled"> <ul class="nav-menu header__menu d-lg-flex justify-content-center list-unstyled">

Loading…
Cancel
Save