forked from diymysite/blog
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4390a75
commit 887bb15
Showing
31 changed files
with
2,100 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ _site/ | |
.sass-cache/ | ||
.jekyll-cache/ | ||
.jekyll-metadata | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: default | ||
permalink: 404.html | ||
--- | ||
|
||
<center> | ||
<p>你在一个对抗 404 的网站发现了 404 页面!</p> | ||
<img src="{{ site.baseurl }}/images/404.jpg" alt="Constructocat by https://github.com/jasoncostello" style="width: 400px;"/> | ||
</center> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,48 @@ | ||
# terminus-jekyll-template | ||
# terminus-jekyll-template | ||
|
||
基于 [kiko-now](https://github.com/AWEEKJ/kiko-now) 项目,针对中文做了若干优化,增加了置顶、搜索、GitHub Corner 等功能。 | ||
|
||
仅仅配置 `_config.yml` 文件即可。 | ||
|
||
反馈或功能添加请前往 https://2049bbs.xyz/ | ||
|
||
仓库地址 TerminusBot/terminus-jekyll-template | ||
使用此模板的网站 | ||
|
||
* https://terminus2049.github.io/ | ||
* https://terminus2049.github.io/1984bbs/ | ||
|
||
### 名称来源 | ||
|
||
> 在审判中,谢顿说出他的预言,语惊四座。他计划领导众多学者编辑一本包含全人类知识的《银河百科全书》,以此减缓帝国殒落的后遗症。委员会得知他的计划并非颠覆帝国的阴谋诡计后,将哈里·谢顿的团队连同他的计划放逐到银河系的边缘端点星。 | ||
## 本地预览 | ||
|
||
``` | ||
gem install bundler jekyll | ||
gem install jekyll-paginate | ||
gem install jekyll-seo-tag | ||
gem install jekyll-sitemap | ||
git clone --depth=1 https://github.com/Terminus2049/Terminus2049.github.io.git | ||
cd terminus2049.github.io | ||
jekyll serve | ||
``` | ||
|
||
### 开源程序 | ||
|
||
- 博客模板 [kiko-now](https://github.com/AWEEKJ/kiko-now) | ||
- 字体方案 <http://cosx.org> | ||
- [GitHub Corners](http://tholman.com/github-corners/) | ||
- [pangu.js](https://github.com/vinta/pangu.js) | ||
|
||
### 联系我们 | ||
|
||
GitHub: Terminus2049.github.io | ||
|
||
Twitter: 2049bbs | ||
|
||
Forum: 2049bbs.xyz | ||
|
||
Telegram: Terminus2049 | ||
|
||
Email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
# | ||
# This file contains configuration flags to customize your site | ||
# | ||
|
||
# Name of your site (displayed in the header) | ||
name: 网站名称 | ||
|
||
# Short bio or description (displayed in the header) | ||
description: 一句话介绍 | ||
|
||
# | ||
# Flags below are optional | ||
# | ||
|
||
# URL of your avatar or profile pic (you could use your GitHub profile pic) | ||
avatar: https://raw.githubusercontent.com/barryclark/jekyll-now/master/images/jekyll-logo.png | ||
|
||
|
||
# Tabs in header. There are 'Blog', 'About', 'Archive', 'Tags' | ||
# and URL Link(e.g. 'Theme' tab below) tabs. If you don't need one, just delete | ||
# it from the list(Delete '- name: ' and 'url: ', too!) | ||
navigation: | ||
- name: 首页 | ||
url: / | ||
- name: 标签 | ||
url: /tags.html | ||
- name: 分类 | ||
url: /categories.html | ||
- name: RSS | ||
url: /atom.xml | ||
- name: 关于 | ||
url: /about.html | ||
|
||
# Pagination | ||
paginate: 20 | ||
|
||
# Includes an icon in the footer for each username you enter | ||
footer-links: | ||
behance: # https://www.behance.net/<username> | ||
dribbble: | ||
email: [email protected] | ||
facebook: | ||
flickr: | ||
github: TerminusBot/terminus-jekyll-template | ||
googleplus: # anything in your profile username that comes after plus.google.com/ | ||
instagram: | ||
linkedin: | ||
telegram: terminus_9402 | ||
pinterest: | ||
rss: atom.xml # just type anything here for a working RSS icon | ||
stackoverflow: # your stackoverflow profile, e.g. "users/50476/bart-kiers" | ||
tumblr: # https://<username>.tumblr.com | ||
twitter: 2049bbs | ||
youtube: # channel/<your_long_string> or user/<user-name> | ||
|
||
# Text under the icons in footer | ||
footer-text: Powered by <a href="https://github.com/TerminusBot/terminus-jekyll-template">TerminusBot</a> | ||
|
||
# Your website URL (e.g. http://barryclark.github.io or http://www.barryclark.co) | ||
# Used for Sitemap.xml and your RSS feed | ||
url: https://terminusbot.github.io/ | ||
|
||
# If you're hosting your site at a Project repository on GitHub pages | ||
# (http://yourusername.github.io/repository-name) | ||
# and NOT your User repository (http://yourusername.github.io) | ||
# then add in the baseurl here, like this: "/repository-name" | ||
baseurl: /terminus-jekyll-template | ||
|
||
# | ||
# !! You don't need to change any of the configuration flags below !! | ||
# | ||
|
||
# permalink: /:title/ | ||
# paginate_path: /page:num/ | ||
|
||
# The release of Jekyll Now that you're using | ||
version: v3.8.4 | ||
|
||
# Jekyll 3 now only supports Kramdown for Markdown | ||
kramdown: | ||
# Use GitHub flavored markdown, including triple backtick fenced code blocks | ||
input: GFM | ||
# Jekyll 3 and GitHub Pages now only support rouge for syntax highlighting | ||
syntax_highlighter: rouge | ||
syntax_highlighter_opts: | ||
# Use existing pygments syntax highlighting css | ||
css_class: 'highlight' | ||
|
||
strict_front_matter: true | ||
|
||
liquid: | ||
error_mode: strict | ||
|
||
# Set the Sass partials directory, as we're using @imports | ||
sass: | ||
style: :compressed #:expanded # You might prefer to minify using :compressed | ||
|
||
# Use the following plug-ins | ||
plugins: | ||
- jekyll-paginate | ||
- jekyll-seo-tag | ||
- jekyll-sitemap | ||
|
||
# Exclude these files from your production _site | ||
exclude: | ||
- Gemfile | ||
- Gemfile.lock | ||
- LICENSE | ||
- README.md | ||
- CNAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% include svg-icons.html %} | ||
|
||
{% if site.footer-text %} | ||
<p>{{ site.footer-text }}</p> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<head> | ||
<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }}</title> | ||
|
||
{% include meta.html %} | ||
|
||
<!--[if lt IE 9]> | ||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
|
||
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/style.css" /> | ||
<link rel="alternate" type="application/rss+xml" title="{{ site.name }} - {{ site.description }}" href="{{ site.baseurl }}/atom.xml" /> | ||
<link rel="shortcut icon" href="{{ site.baseurl }}/favicon.ico"> | ||
<link rel="canonical" href="https://terminus2049.github.io" /> | ||
|
||
<script src="{{ site.baseurl }}/assets/js/pangu.min.js"></script> | ||
|
||
<!-- Created with Jekyll Now - http://github.com/barryclark/jekyll-now --> | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<meta charset="utf-8" /> | ||
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'> | ||
<meta http-equiv='X-UA-Compatible' content='IE=edge'> | ||
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'> | ||
|
||
{% if page.image_feature %} | ||
<meta name="twitter:card" content="summary_large_image"> | ||
<meta name="twitter:image" content= "{{ page.image_feature }}"> | ||
{% else %} | ||
<meta name="twitter:card" content="summary" /> | ||
<meta name="twitter:image" content="{{ site.url }}{{ site.baseurl }}/images/404.jpg" /> | ||
{% endif %} | ||
|
||
<meta name="twitter:domain" content="{{ site.url }}"> | ||
|
||
<meta name="author" content="{{ site.name }}" /> | ||
|
||
{% if page.title %} | ||
<meta property="twitter:title" content="{{ page.title }}" /> | ||
{% endif %} | ||
|
||
{% seo title=false %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<div class="wrapper-masthead"> | ||
<div class="container" style="padding-left: 15px;padding-right: 15px;"> | ||
<header class="masthead clearfix"> | ||
{% if site.avatar %} | ||
<a href="{{ site.baseurl }}/" class="site-avatar"><img src="{{ site.avatar }}" /></a> | ||
{% endif %} | ||
|
||
<div class="site-info"> | ||
<h1 class="site-name"><a href="{{ site.baseurl }}/">{{ site.name }}</a></h1> | ||
<p class="site-description">{{ site.description }}</p> | ||
</div> | ||
|
||
<nav> | ||
{% for nav in site.navigation %} | ||
{% if nav.url contains 'http://' or nav.url contains 'https://' %} | ||
<a href="{{ nav.url }}">{{ nav.name }}</a> | ||
{% else %} | ||
<a href="{{ site.baseurl }}{{ nav.url }}" style="margin-left: 5px;margin-right: 5px;">{{ nav.name }}</a> | ||
{% endif %} | ||
{% endfor %} | ||
</nav> | ||
</header> | ||
</div> | ||
</div> |
Oops, something went wrong.