Skip to content

Commit 5af0637

Browse files
committed
refactor: remove sidebar & change toc style
1 parent c2d384a commit 5af0637

31 files changed

+298
-484
lines changed

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

layout/_partial/header.ejs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<header class="header-wrapper">
22

3-
<div class="header-progress"></div>
4-
53
<div class="header-content">
64

75
<a class="logo-title" href="/">

layout/_partial/scripts.ejs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@
1818
<%- js(['lib/anime.min.js', 'js/toc.js']) %>
1919
<% } %>
2020
21+
<%- js('js/post.js') %>
2122
<% } %>
2223

layout/_partial/sidebar-categories.ejs

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

layout/_partial/sidebar-site-info.ejs

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

layout/_partial/sidebar-tagcloud.ejs

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

layout/_partial/sidebar-tags.ejs

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

layout/_partial/sidebar.ejs

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

layout/_partial/tagcloud.ejs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
<div class="fade-in-down-animation">
33
<div class="tagcloud-container">
44
<div class="tagcloud-content">
5-
<%- tagcloud({min_font: 16, max_font: 28}) %>
5+
<%- tagcloud({
6+
min_font: 0.98,
7+
max_font: 1.50,
8+
unit: 'em',
9+
amount: 100
10+
}) %>
611
</div>
712
</div>
813
</div>
File renamed without changes.

0 commit comments

Comments
 (0)