Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 45bc586

Browse files
没写完,就先这样
1 parent d7559ee commit 45bc586

File tree

5 files changed

+86
-0
lines changed

5 files changed

+86
-0
lines changed

‎_includes/footer.html‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<footer>
2+
<div class="container">
3+
4+
</div>
5+
</footer>

‎_includes/head.html‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<!-- <meta name="google-site-verification" content="googlee69bf7278538126d.html" /> -->
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<meta name="description" content="{{ site.description }}">
7+
<meta name="keywords" content="{{ site.keyword }}">
8+
<meta name="theme-color" content="{{ site.chrome-tab-theme-color }}">
9+
10+
<!-- Favicon -->
11+
<link rel="shortcut icon" href="{{ site.baseurl }}/assets/img/default/favicon.ico">
12+
13+
<link rel="stylesheet" href="{{ "assets/css/aimona_navbar.css" | prepend: site.baseurl }}">
14+
15+
<!-- 新 Bootstrap4 核心 CSS 文件 -->
16+
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0-beta/css/bootstrap.min.css">
17+
18+
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
19+
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
20+
21+
<!-- popper.min.js 用于弹窗、提示、下拉菜单 -->
22+
<script src="https://cdn.bootcss.com/popper.js/1.12.5/umd/popper.min.js"></script>
23+
24+
<!-- 最新的 Bootstrap4 核心 JavaScript 文件 -->
25+
<script src="https://cdn.bootcss.com/bootstrap/4.0.0-beta/js/bootstrap.min.js"></script>
26+
</head>

‎_includes/nav.html‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!-- nav -->
2+
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
3+
<!-- <ul class="navbar-nav">
4+
<li class="nav-item active">
5+
<a class="nav-link" href="#">主页</a>
6+
</li>
7+
<li class="nav-item">
8+
<a class="nav-link" href="#">动态</a>
9+
</li>
10+
<li class="nav-item">
11+
<a class="nav-link" href="#">关于</a>
12+
</li>
13+
</ul> -->
14+
<div class="navbar-header page-scroll">
15+
<button type="button" class="navbar-toggle">
16+
<span class="sr-only">Toggle navigation</span>
17+
<span class="icon-bar"></span>
18+
<span class="icon-bar"></span>
19+
<span class="icon-bar"></span>
20+
</button>
21+
<a class="navbar-brand" href="{{ site.baseurl }}/">{{ site.title }}</a>
22+
</div>
23+
24+
<div id="aimona_navbar">
25+
<div class="navbar-collapse">
26+
<ul class="nav navbar-nav navbar-right">
27+
<li>
28+
<a href="{{ site.baseurl }}/">Home</a>
29+
</li>
30+
{% for page in site.pages %}{% if page.title %}
31+
<li>
32+
<a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
33+
</li>
34+
{% endif %}{% endfor %}
35+
</ul>
36+
</div>
37+
</div>
38+
</nav>
39+
40+
<script>
41+
42+
</script>

‎_layouts/default.html‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
4+
{% include head.html %}
5+
36
<body>
7+
{% include nav.html %}
8+
49
{{ content }}
10+
11+
{% include footer.html %}
512
</body>
613
</html>

‎about/index.html‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<h1>
2+
hello,world.
3+
</h1>
4+
<p>
5+
this is about page
6+
</p>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /