Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
知鸟1号
tabler
提交
220a3081
T
tabler
项目概览
知鸟1号
/
tabler
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
tabler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
220a3081
编写于
11月 21, 2020
作者:
C
codecalm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
transparent navbar
上级
81f6a2c0
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
4 addition
and
4 deletion
+4
-4
src/pages/_includes/layout/navbar.html
src/pages/_includes/layout/navbar.html
+1
-1
src/pages/_includes/layout/sidebar.html
src/pages/_includes/layout/sidebar.html
+1
-1
src/pages/_layouts/default.html
src/pages/_layouts/default.html
+2
-2
未找到文件。
src/pages/_includes/layout/navbar.html
浏览文件 @
220a3081
...
...
@@ -5,7 +5,7 @@
<div
class=
"sticky-top"
>
{% endif %}
<header
class=
"navbar navbar-expand-{{ breakpoint }}{%
unless include.transparent %} {% if include.dark %}navbar-dark{% else %}navbar-light{% endif %}{% if include.background %} bg-{{ include.background }}{% endif %}{% endunless
%}{% if include.sticky %} sticky-top{% endif %}{% if include.overlap %} navbar-overlap{% endif %}{% if include.class %} {{ include.class }}{% endif %} d-print-none"
{%
if
include.background-color
%}
style=
"background: {{ include.background-color }}"
{%
endif
%}
>
<header
class=
"navbar navbar-expand-{{ breakpoint }}{%
if include.transparent %} navbar-transparent{% else %}{% if include.dark %}navbar-dark{% else %}navbar-light{% endif %}{% if include.background %} bg-{{ include.background }}{% endif %}{% endif
%}{% if include.sticky %} sticky-top{% endif %}{% if include.overlap %} navbar-overlap{% endif %}{% if include.class %} {{ include.class }}{% endif %} d-print-none"
{%
if
include.background-color
%}
style=
"background: {{ include.background-color }}"
{%
endif
%}
>
<div
class=
"container{% if page.layout-fluid %}-fluid{% else %}-xl{% endif %}"
>
{% include layout/navbar-toggler.html target="navbar-menu" %}
...
...
src/pages/_includes/layout/sidebar.html
浏览文件 @
220a3081
{% assign breakpoint = include.breakpoint | default: 'lg' %}
<aside
class=
"navbar navbar-vertical{% if include.right %} navbar-right{% endif %} navbar-expand-{{ breakpoint }}{%
unless include.transparent %} {% if include.dark %}navbar-dark{% else %}navbar-light{% endif %}{% if include.background %} bg-{{ include.background }}{% endif %}{% endunless
%}{% if include.class %} {{ include.class }}{% endif %}"
{%
if
include.background-color
%}
style=
"background: {{ include.background-color }}"
{%
endif
%}
>
<aside
class=
"navbar navbar-vertical{% if include.right %} navbar-right{% endif %} navbar-expand-{{ breakpoint }}{%
if include.transparent %} navbar-transparent{% else %}{% if include.dark %}navbar-dark{% else %}navbar-light{% endif %}{% if include.background %} bg-{{ include.background }}{% endif %}{% endif
%}{% if include.class %} {{ include.class }}{% endif %}"
{%
if
include.background-color
%}
style=
"background: {{ include.background-color }}"
{%
endif
%}
>
<div
class=
"container-fluid"
>
{% include layout/navbar-toggler.html target="navbar-menu" %}
...
...
src/pages/_layouts/default.html
浏览文件 @
220a3081
...
...
@@ -3,12 +3,12 @@ layout: base
---
{% if page.layout-sidebar %}
{% include layout/sidebar.html dark=page.layout-sidebar-dark right=page.layout-sidebar-right breakpoint="lg" %}
{% include layout/sidebar.html dark=page.layout-sidebar-dark right=page.layout-sidebar-right
transparent=page.layout-navbar-transparent
breakpoint="lg" %}
{% endif %}
<div
class=
"page"
>
{% unless page.layout-hide-topbar %}
{% include layout/navbar.html condensed=page.layout-navbar-condensed overlap=page.layout-navbar-overlap dark=page.layout-navbar-dark hide-brand=page.layout-navbar-hide-brand hide-menu=page.layout-navbar-hide-menu sticky=page.layout-navbar-sticky class=page.layout-navbar-class %}
{% include layout/navbar.html condensed=page.layout-navbar-condensed overlap=page.layout-navbar-overlap dark=page.layout-navbar-dark hide-brand=page.layout-navbar-hide-brand hide-menu=page.layout-navbar-hide-menu sticky=page.layout-navbar-sticky
class=page.layout-navbar-class %}
{% endunless %}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录