Skip to content

Commit 5ab4544

Browse files
committed
new blog
0 parents  commit 5ab4544

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+20315
-0
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
_site
2+
.sass-cache
3+
.jekyll-metadata
4+
.settings
5+
.buildpath
6+
.project

404.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE HTML>
2+
<html>
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5+
<title>404</title>
6+
</head>
7+
<body>
8+
<script type="text/javascript" src="http://www.qq.com/404/search_children.js" charset="utf-8" homePageUrl="/" homePageName="回到首页"></script>
9+
</body>
10+
</html>

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blog.runphp.net

_config.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely need to edit after that.
5+
# For technical reasons, this file is *NOT* reloaded automatically when you use
6+
# 'jekyll serve'. If you change this file, please restart the server process.
7+
8+
# Site settings
9+
title: runphp的笔记
10+
email: runphp@qq.com
11+
description: > # this means to ignore newlines until "baseurl:"
12+
不积跬步无以至千里,不积小流无以成江海,学习工作生活中的点滴记录。
13+
baseurl: "" # the subpath of your site, e.g. /blog
14+
url: "http://blog.runphp.net" # the base hostname & protocol for your site
15+
github_username: runphp
16+
permalink: /:categories/:year-:month-:day-:title.html
17+
paginate: 10
18+
# Build settings
19+
markdown: kramdown
20+
kramdown:
21+
input: GFM
22+
gems:
23+
- jekyll-paginate
24+
- jekyll-gist

_includes/duoshuo.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!-- 多说评论框 start -->
2+
<div class="ds-thread" data-thread-key="{{ page.id }}" data-title="{{ page.title }}" data-url="{{site.url}}{{ page.url }}"></div>
3+
<!-- 多说评论框 end -->
4+
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
5+
<script type="text/javascript">
6+
var duoshuoQuery = {short_name:"heui"};
7+
(function() {
8+
var ds = document.createElement('script');
9+
ds.type = 'text/javascript';ds.async = true;
10+
ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
11+
ds.charset = 'UTF-8';
12+
(document.getElementsByTagName('head')[0]
13+
|| document.getElementsByTagName('body')[0]).appendChild(ds);
14+
})();
15+
</script>
16+
<!-- 多说公共JS代码 end -->

_includes/footer.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<footer>
2+
<div class="container">
3+
<p class="text-muted">{{ site.description }}</p>
4+
</div>
5+
</footer>
6+
<!-- Latest compiled and minified JavaScript -->
7+
<script src="{{ "/js/jquery.min.js" | prepend: site.baseurl }}"></script>
8+
<script src="{{ "/js/bootstrap.min.js" | prepend: site.baseurl }}"></script>

_includes/head.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
6+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
7+
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
8+
9+
<!-- Latest compiled and minified CSS -->
10+
<link rel="stylesheet" href="{{ "/css/bootstrap.min.css" | prepend: site.baseurl }}">
11+
<!-- Optional theme -->
12+
<link rel="stylesheet" href="{{ "/css/bootstrap-theme.min.css" | prepend: site.baseurl }}">
13+
<link rel="stylesheet" href="{{ "/css/syntax.css" | prepend: site.baseurl }}">
14+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
15+
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
16+
</head>

_includes/header.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<nav class="navbar navbar-inverse navbar-fixed-top">
2+
<div class="container">
3+
<div class="navbar-header">
4+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
5+
<span class="sr-only">Toggle navigation</span>
6+
<span class="icon-bar"></span>
7+
<span class="icon-bar"></span>
8+
<span class="icon-bar"></span>
9+
</button>
10+
<a class="navbar-brand glyphicon glyphicon-home" href="{{ site.baseurl }}/">{{ site.title }}</a>
11+
</div>
12+
<div id="navbar" class="collapse navbar-collapse">
13+
<ul class="nav navbar-nav">
14+
<li class="active"><a href="{{ site.baseurl }}/">Home</a></li>
15+
{% for my_page in site.pages %}
16+
{% if my_page.title %}
17+
<li><a href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a></li>
18+
{% endif %}
19+
{% endfor %}
20+
<li><a href="{{ "/feed.xml" | prepend:site.baseurl }}">RSS</a></li>
21+
</ul>
22+
</div><!--/.nav-collapse -->
23+
</div>
24+
</nav>
25+
<div class="jumbotron"></div>

_layouts/default.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html>
3+
{% include head.html %}
4+
<body>
5+
{% include header.html %}
6+
<div class="container">
7+
{{ content }}
8+
</div><!-- /.container -->
9+
{% include footer.html %}
10+
</body>
11+
</html>

_layouts/page.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: default
3+
---
4+
5+
<article class="post">
6+
<header class="post-header">
7+
<h1 class="post-title">{{ page.title }}</h1>
8+
</header>
9+
10+
<div class="post-content">
11+
{{ content }}
12+
</div>
13+
14+
</article>
15+
{% include duoshuo.html %}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy