Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
humingk committed Apr 17, 2022
1 parent 0839fec commit 4149bcd
Show file tree
Hide file tree
Showing 350 changed files with 328 additions and 67,423 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ _site/
*~
.DS_Store
Gemfile.lock
.idea/
30 changes: 7 additions & 23 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
baseurl:
url: https://humingk.github.io
date_format: "ordinal"
title: 小明也来过的个人博客
subtitle: "Stupid is as stupid does."
description: "Stupid is as stupid does."
title: 小明也来过的技术博客
subtitle: "这个人很写,什么也没有懒"
description: ""
keywords: humingk
timezone: Asia/Shanghai
encoding: "utf-8"
Expand All @@ -19,8 +19,8 @@ author: humingk
organization:
organization_url:
github_username: humingk
location: Chengdu, China
email: humingk@qq.com
location: Beijing, China
email: humingk@gmail.com

# ---------------- #
# Navigation #
Expand All @@ -34,22 +34,6 @@ navs:
href: /categories/
label: 分类

# -
# href: /archives/
# label: 归档

-
href: /wiki/
label: 维基

-
href: /links/
label: 链接

-
href: /about/
label: 关于

# ---------------- #
# RSS #
# ---------------- #
Expand All @@ -62,7 +46,7 @@ markdown: kramdown
kramdown:
input: GFM
highlighter: rouge
paginate: 10
paginate: 6
lsi: false
quiet: false
excerpt_separator: "\n\n"
Expand Down Expand Up @@ -105,7 +89,7 @@ simple_jekyll_search:
# 是否支持全文搜索
fulltext: false
# 最多显示多少条搜索结果
limit: 10
limit: 8

# ---------------- #
# Analytics #
Expand Down
29 changes: 0 additions & 29 deletions _data/links.yml

This file was deleted.

4 changes: 0 additions & 4 deletions _data/skills.yml

This file was deleted.

3 changes: 0 additions & 3 deletions _data/social.yml

This file was deleted.

37 changes: 1 addition & 36 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,47 +1,12 @@
<footer class="container">
<div class="site-footer" role="contentinfo">
<div class="copyright left mobile-block">
© 2015
<span title="{{ site.author}}">{{ site.author }}</span>
<a href="javascript:window.scrollTo(0,0)" class="right mobile-visible">TOP</a>
</div>

<ul class="site-footer-links right mobile-hidden">
<li>
<a href="javascript:window.scrollTo(0,0)" >TOP</a>
</li>
</ul>
<a href="{{ site.github.repository_url }}" target="_blank" aria-label="view source code">
<span class="mega-octicon octicon-mark-github" title="GitHub"></span>
</a>
<ul class="site-footer-links mobile-hidden">
{% for nav in site.navs %}
<li>
<a href="{{ site.url }}{{ nav.href }}" title="{{ nav.label }}" target="{{ nav.target | default: _self }}">{{ nav.label }}</a>
</li>
{% endfor %}
<li><a href="{{ site.url }}{{ site.subscribe_rss }}"><span class="octicon octicon-rss" style="color:orange;"></span></a></li>
</ul>

</div>
</footer>
<div class="tools-wrapper">
<a class="gotop" href="#" title="回到顶部"><span class="octicon octicon-arrow-up"></span></a>
</div>

<!-- / footer -->
<script src="{{ site.url }}/assets/vendor/share.js/dist/js/share.min.js"></script>
<script src="{{ site.url }}/assets/js/geopattern.js"></script>
<script src="{{ site.url }}/assets/js/prism.js"></script>
<link rel="stylesheet" href="{{ site.url }}/assets/css/globals/prism.css">
<script>
jQuery(document).ready(function($) {
// geopattern
$('.geopattern').each(function(){
$(this).geopattern($(this).data('pattern-id'));
});
// hljs.initHighlightingOnLoad();
});
</script>

{% if page.mermaid %}
<script src="{{ site.url }}/assets/js/mermaid.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<script src="{{ site.url }}/assets/js/jquery-ui.js"></script>
<script src="{{ site.url }}/assets/js/main.js"></script>
</head>
<body class="{{ page.class }}" data-mz="{{ page.class }}">
<body class="home" data-mz="home">
<header class="site-header">
<div class="container">
<h1><a href="{{ site.url }}/" title="{{ site.title }}"><span class="octicon octicon-mark-github"></span> {{ site.title }}</a></h1>
Expand Down
34 changes: 0 additions & 34 deletions _includes/sidebar-popular-repo.html

This file was deleted.

1 change: 0 additions & 1 deletion _includes/sidebar-post-nav.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

<h3 class="post-directory-title mobile-hidden">Table of Contents</h3>
<div id="post-directory-module" class="mobile-hidden">
<section class="post-directory">
<!-- Links that trigger the jumping -->
Expand Down
4 changes: 0 additions & 4 deletions _includes/sidebar-qrcode.html

This file was deleted.

24 changes: 0 additions & 24 deletions _includes/sidebar-search.html

This file was deleted.

1 change: 0 additions & 1 deletion _includes/sns-share.html

This file was deleted.

7 changes: 1 addition & 6 deletions _layouts/categories.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: default
---
<section class="collection-head small geopattern" data-pattern-id="{{ page.title | truncate: 15, ''}}">
<section class="collection-head small" style="background-color:#4183c4">
<div class="container">
<div class="columns">
<div class="column three-fourths">
Expand All @@ -19,16 +19,11 @@ <h1 class="collection-header">{{ page.title }}</h1>
<article class="article-content markdown-body">
{{ content }}
</article>
<div class="share">
{% include sns-share.html %}
</div>
<div class="comment">
{% include comments.html %}
</div>
</div>
<div class="column one-fourth">
{% include sidebar-search.html %}
{% include sidebar-qrcode.html %}
{% include sidebar-categories-nav.html %}
</div>
</div>
Expand Down
8 changes: 1 addition & 7 deletions _layouts/page.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: default
---
<section class="collection-head small geopattern" data-pattern-id="{{ page.title | truncate: 15}}">
<section class="collection-head small" style="background-color:#4183c4">
<div class="container">
<div class="collection-title">
<h1 class="collection-header">{{ page.title }}</h1>
Expand All @@ -22,17 +22,11 @@ <h1 class="collection-header">{{ page.title }}</h1>
<article class="article-content markdown-body">
{{ content }}
</article>
<div class="share">
{% include sns-share.html %}
</div>
<div class="comment">
{% include comments.html %}
</div>
</div>
<div class="column one-third">
{% include sidebar-search.html %}
{% include sidebar-qrcode.html %}
{% include sidebar-popular-repo.html %}
</div>
</div>
</section>
Expand Down
13 changes: 4 additions & 9 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: default
---
<section class="collection-head small geopattern" data-pattern-id="{{ page.title | truncate: 15, ''}}">
<section class="collection-head small" style="background-color:#4183c4">
<div class="container">
<div class="columns">
<div class="column three-fourths">
Expand All @@ -28,22 +28,17 @@ <h1 class="collection-header">{{ page.title }}</h1>
<!-- / .banner -->
<section class="container content">
<div class="columns">
<div class="column one-fourth">
{ % include sidebar-post-nav.html %}
</div>
<div class="column three-fourths" >
<article class="article-content markdown-body">
{{ content }}
</article>
<div class="share">
{% include sns-share.html %}
</div>
<div class="comment">
{% include comments.html %}
</div>
</div>
<div class="column one-fourth">
{% include sidebar-search.html %}
{% include sidebar-qrcode.html %}
{% include sidebar-post-nav.html %}
</div>
</div>
</section>
<!-- /section.content -->
36 changes: 0 additions & 36 deletions _layouts/wiki.html

This file was deleted.

8 changes: 0 additions & 8 deletions _posts/2000-01-01-template-copy.md

This file was deleted.

Loading

0 comments on commit 4149bcd

Please sign in to comment.