提交 2dbfb63e 编写于 作者: C codecalm

header site.base fixes

上级 00c470bb
......@@ -15,7 +15,7 @@ defaults:
layout: docs
source: src
destination: dist
#destination: dist
author:
name: codecalm.net
......
......@@ -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>
......
......@@ -71,6 +71,7 @@ img {
.text-wrap {
padding: 3rem 5rem;
font-size: 1rem;
line-height: 1.6;
>:first-child {
margin-top: 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册