Skip to content

Commit

Permalink
modify config
Browse files Browse the repository at this point in the history
  • Loading branch information
赵克勇 authored and 赵克勇 committed Dec 20, 2018
1 parent 9bf2b08 commit 4cf1d0a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
4 changes: 1 addition & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ header-color: "#208c5b"
tagline: "cn"
description: "ZKer|读而立·写而生"
baseurl: ""
url: "./"
url: "http://sparon.github.io"

# About/contact
owner:
Expand Down Expand Up @@ -63,5 +63,3 @@ google_verify:
bing_verify:

# Links to include in footer navigation

theme: jekyll-theme-cayman
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
</footer>

<!-- Custom Theme JavaScript -->
<script src="{{ "/js/clean-blog.min.js " | prepend: site.baseurl }}"></script>
<script src="{{ site.baseurl }}{{ "/js/clean-blog.min.js " }}"></script>

<!-- Highlight.js -->
<script type="text/javascript">
Expand Down
12 changes: 6 additions & 6 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@

<title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>

<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="canonical" href="{{ site.baseurl }}">

<!-- Icons -->
<link rel="shortcut icon" href="img/favicon.ico">

<!-- Bootstrap Core CSS -->
<link rel="stylesheet" href="{{ "/css/bootstrap.min.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ site.baseurl }}{{ "/css/bootstrap.min.css" }}">

<!-- Custom CSS -->
<link rel="stylesheet" href="{{ "/css/clean-blog.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ site.baseurl }}{{ "/css/clean-blog.css" }}">

<!-- Pygments Github CSS -->
<link rel="stylesheet" href="{{ "/css/syntax.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ site.baseurl }}{{ "/css/syntax.css" }}">

<!-- Custom Fonts -->
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
Expand All @@ -34,10 +34,10 @@
<![endif]-->

<!-- jQuery -->
<script src="{{ "/js/jquery.min.js " | prepend: site.baseurl }}"></script>
<script src="{{ site.baseurl }}{{ "/js/jquery.min.js " }}"></script>

<!-- Bootstrap Core JavaScript -->
<script src="{{ "/js/bootstrap.min.js " | prepend: site.baseurl }}"></script>
<script src="{{ site.baseurl }}{{ "/js/bootstrap.min.js " }}"></script>

<!-- async load function -->
<script>
Expand Down

0 comments on commit 4cf1d0a

Please sign in to comment.