1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

header site.base fixes

This commit is contained in:
codecalm
2018-02-19 20:03:45 +01:00
parent 00c470bb82
commit 2dbfb63ed9
3 changed files with 4 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ defaults:
layout: docs
source: src
destination: dist
#destination: dist
author:
name: codecalm.net

View File

@@ -3,7 +3,7 @@
<div class="container">
<div class="navbar p-0">
<a class="navbar-brand" href="#">
<img src="./assets/images/logo.svg" class="navbar-brand-img" alt="tabler.io">
<img src="{{ site.base }}/assets/images/logo.svg" class="navbar-brand-img" alt="tabler.io">
<span class="d-none d-lg-inline-block">Bootstrap</span>
</a>
<div class="nav order-lg-2">
@@ -35,7 +35,7 @@
</div>
<div class="dropdown">
<a href="#" class="nav-link" data-toggle="dropdown">
<span class="avatar" style="background-image: url({{ user.photo }})"></span>
<span class="avatar" style="background-image: url({{ site.base }}/{{ user.photo }})"></span>
<span class="ml-2 d-none d-lg-block">
<span class="text-default">{{ user.name }} {{ user.surname }}</span>
<small class="text-muted d-block mt-1">Administrator</small>

View File

@@ -71,6 +71,7 @@ img {
.text-wrap {
padding: 3rem 5rem;
font-size: 1rem;
line-height: 1.6;
>:first-child {
margin-top: 0;