mirror of https://github.com/istio/istio.io.git
made header logo only disappear on landing page (#316)
This commit is contained in:
parent
df7666a93f
commit
9153574815
|
|
@ -1,4 +1,14 @@
|
||||||
{% assign current = page.url | downcase | split: '/' %}
|
{% assign current = page.url | downcase | split: '/' %}
|
||||||
|
|
||||||
|
{% if page.url == "/true-index.html" or page.url == "/index.html" or page.url == "/" %}
|
||||||
|
<style type="text/css">
|
||||||
|
/* hides the logo in the topleft on the landing page */
|
||||||
|
.navbar-header .navbar-brand{
|
||||||
|
display:none !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<nav id="header-nav" class="navbar navbar-inverse" role="navigation">
|
<nav id="header-nav" class="navbar navbar-inverse" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,3 @@
|
||||||
/* hides the logo in the topleft on the landing page */
|
|
||||||
.navbar-header .navbar-brand{
|
|
||||||
display:none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.landing {
|
.landing {
|
||||||
.nav-hero-container{
|
.nav-hero-container{
|
||||||
color:white;
|
color:white;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue