Movatterモバイル変換


[0]ホーム

URL:


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

Commit6d3e71c

Browse files
committed
refactor includes, smooth scroll on page change
1 parentb7e2fbf commit6d3e71c

File tree

16 files changed

+59
-18
lines changed

16 files changed

+59
-18
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<divclass="doc-contents">
44
<h2>Contents</h2>
55
{% for doc in site.categories[include.category] reversed %}
6-
{% includetable-of-contents.html
6+
{% includedocs/doc-index.html
77
link=doc.link
88
title=doc.title
99
index=forloop.index
@@ -16,7 +16,7 @@ <h2>Contents</h2>
1616
<!-- Docs -->
1717
<div>
1818
{% for doc in site.categories[include.category] reversed %}
19-
{% include doc.html
19+
{% includedocs/doc.html
2020
link=doc.link
2121
title=doc.title
2222
content=doc.content

‎_layouts/default.html‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
-->
88
<html>
99

10-
{% include head.html %}
10+
{% includebase/head.html %}
1111

1212
<body>
1313

1414
<!-- Page Wrapper -->
1515
<divid="page-wrapper">
1616

17-
{% include header.html %}
17+
{% includebase/header.html %}
1818
{{ content }}
19-
{% include footer.html %}
20-
{% include scripts.html %}
19+
{% includebase/footer.html %}
20+
{% includebase/scripts.html %}
2121

2222
</div>
2323

‎_layouts/landing.html‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
-->
88
<html>
99

10-
{% include head.html %}
10+
{% includebase/head.html %}
1111

1212
<bodyclass="landing">
1313

1414
<!-- Page Wrapper -->
1515
<divid="page-wrapper">
1616

17-
{% include header.html %}
17+
{% includebase/header.html %}
1818
{{ content }}
19-
{% include footer.html %}
20-
{% include scripts.html %}
19+
{% includebase/footer.html %}
20+
{% includebase/scripts.html %}
2121

2222
</div>
2323

‎_sass/_custom.scss‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
opacity:0.85;
88
}
99

10+
a.smooth:hover {
11+
color:red;
12+
}
13+
1014
.doc-contents {
1115
padding-left:30px;
1216
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp