Permalink
Browse files

doc: Progress Bar | 页面加载进度条

  • Loading branch information...
MOxFIVE committed Mar 19, 2016
1 parent abc8c8c commit cc59bd2b7263acd14a0f40019bac1b6bd5b54ed0
Showing with 6 additions and 6 deletions.
  1. +5 −5 _config.yml
  2. +1 −1 layout/_partial/head.ejs
View
@@ -198,13 +198,13 @@ visit_counter:
# https://github.com/hustcc/GitHub-Repo-Widget.js
github_widget: false
# Progress Bar
# http://github.hubspot.com/pace/
# type(default is minimal): barber-shop|big-counter|bounce|center-atom|center-circle|
# Progress Bar | 页面加载进度条
# Demo: http://github.hubspot.com/pace/docs/welcome/
# type: barber-shop|big-counter|bounce|center-atom|center-circle|
# center-radar|center-simple|corner-indicator|flash|flat-top|
# loading-bar|mac-osx|minimal
# color(default is blue): black|blue|green|orange|pink|purple|red|silver|white|yellow|
# color: black|blue|green|orange|pink|purple|red|silver|white|yellow|
progressBar:
on: true
type: minimal
type: "minimal" # Keep Quotes | 保留引号避免出错
color: blue
View
@@ -87,7 +87,7 @@
</script>
<% } %>
<% if (theme.progressBar && theme.progressBar.on) { %>
<% if (theme.progressBar.on) { %>
<script src="//cdn.bootcss.com/pace/1.0.2/pace.min.js"></script>
<link href="//cdn.bootcss.com/pace/1.0.2/themes/<%= theme.progressBar.color || 'blue'%>/pace-theme-<%= theme.progressBar.type || 'minimal'%>.css" rel="stylesheet">
<% } %>

0 comments on commit cc59bd2

Please sign in to comment.