Skip to content

Commit 832006c

Browse files
committed
update
1 parent bc303b7 commit 832006c

File tree

7 files changed

+33
-13
lines changed

7 files changed

+33
-13
lines changed

_layouts/page-wt.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: default
3+
# Page without Title
4+
---
5+
6+
{% include lang.html %}
7+
8+
<article class="px-1">
9+
{% if page.layout == 'page' or page.collection == 'tabs' %}
10+
{% assign tab_key = page.title | downcase %}
11+
{% assign title = site.data.locales[lang].tabs[tab_key] | default: page.title %}
12+
<div class="content">
13+
{{ content }}
14+
</div>
15+
{% else %}
16+
{{ content }}
17+
{% endif %}
18+
</article>

_tabs/about.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
# the default layout is 'page'
3+
layout: page-wt
34
icon: fas fa-info-circle
4-
order: 4
5+
order: 1
56
---
67

7-
test
8+
<iframe src="https://yulmwu.github.io" width="100%" height="500px" frameborder="0" allowfullscreen></iframe>

_tabs/archives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
layout: archives
33
icon: fas fa-archive
4-
order: 3
4+
order: 4
55
---

_tabs/categories.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
layout: categories
33
icon: fas fa-stream
4-
order: 1
4+
order: 2
55
---

_tabs/home.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

_tabs/tags.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
layout: tags
33
icon: fas fa-tags
4-
order: 2
4+
order: 3
55
---

_tabs/wut.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: page-wt
3+
title: ???
4+
icon: fa-solid fa-cat
5+
order: 5
6+
---
7+
8+
{% include embed/youtube.html id='CXJJDxg7Mos' %}
9+
{% include embed/youtube.html id='IxX_QHay02M' %}

0 commit comments

Comments
 (0)