Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraji committed Dec 11, 2023
0 parents commit 0ae687f
Show file tree
Hide file tree
Showing 258 changed files with 12,756 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
*~
~*
*.diff
*.patch
*.bak
.DS_Store
*.swp
*.swo
*.log
*.log.*

/.vscode/

node_modules/
.sass-cache/

/.bundle/
/vendor/bundle
*.gem

yarn.lock
package-lock.json
Gemfile.lock

_site/
.jekyll-metadata
.jekyll-cache/
11 changes: 11 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: page
title: 404
show_title: false
---
<div class="layout--404">
<div class="sign">
<h1>404</h1>
<p>Page not found :(</p>
</div>
</div>
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ultraji.xyz
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source "https://rubygems.org"

# gem "github-pages", group: :jekyll_plugins
gemspec
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 Tian Qi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Personal Blog

The Blog is established in the ultraji.github.io, and use [jekyll-TeXt-theme](https://github.com/kitian616/jekyll-TeXt-theme) as the jekyll theme.
158 changes: 158 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
#
# ,--------. ,--. ,--. ,--.
# '--. .--',---. \ `.' /,-' '-.
# | | | .-. : .' \ '-. .-'
# | | \ --. / .'. \ | |
# `--' `----''--' '--' `--'




## => Site Settings
url : https://ultraji.xyz
baseurl :
title : ultrajiのblog
description: >
操千曲而后晓声,观千剑而后识器
## => Language and Timezone
lang: zh
timezone: Asia/Shanghai

## => Author and Social
author:
type : person
name : Jack Wang
url : https://github.com/ultraji
avatar : /assets/mstile-150x150.png
bio : cloud computing software engineer
email : [email protected]
github : ultraji


## => GitHub Repository (if the site is hosted by GitHub)
##############################
repository: ultraji/ultraji.github.io
repository_tree: master


## => Paths
##############################
paths:
root : # title link url, "/" (default)
home : # home layout url, "/" (default)
archive : # "/archive.html" (default)
rss : # "/feed.xml" (default)


## => Post
##############################
## excerpt
excerpt_separator: <!--more-->

## license
license: CC-BY-NC-4.0 # "CC-BY-4.0", "CC-BY-SA-4.0", "CC-BY-NC-4.0", "CC-BY-ND-4.0"

## TOC
toc:
selectors: "h1,h2,h3"


## => Markdown Enhancements
##############################
## Mathjax
mathjax: # false (default), true
mathjax_autoNumber: # false (default), true

## Mermaid
mermaid: # false (default), true

## Chart
chart: # false (default), true

## => Paginate
##############################
paginate: 10
paginate_path: /page/:num # don't change this unless for special need


## => Sources
##############################
sources: # bootcdn (default), unpkg

## => Comments
##############################
giscus:
repo: "ultraji/ultraji.github.io"
repo-id: "MDEwOlJlcG9zaXRvcnkyMTQxODU5MTk="
category: "Announcements"
category-id: "DIC_kwDODMQ3v84CA-G3"
mapping: "pathname"
reaction-enabled: "1"
theme: "light"
crossorigin: "anonymous"

## => Search
##############################
search:
provider: default # "default" (default), false, "google", "custom"

## Google Custom Search Engine
google:
custom_search_engine_id: # Google Custom Search Engine ID


## => Analytics
analytics:
google:
tracking_id : G-NESVTLV2JY
anonymize_ip: false # Anonymize IP tracking for Analytics


## => Build
##############################
markdown : kramdown
highlighter : rouge
permalink : pretty

exclude:
- Gemfile
- Gemfile.lock
- LICENSE
- README.md
- gulpfile.js
- jekyll-text-theme.gemspec
- package-lock.json
- package.json
- /node_modules
- /screenshots
- /test
- /vendor

defaults:
- scope:
path: ""
type: posts
values:
layout: article
license: true
aside:
toc: true
show_edit_on_github: true

## => Plugins
##############################
plugins:
- jekyll-feed
- jekyll-paginate
- jekyll-sitemap
- jemoji

# deployment:
host: 0.0.0.0
Empty file added _data/authors.yml
Empty file.
16 changes: 16 additions & 0 deletions _data/licenses.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
CC-BY-4.0:
name: Attribution 4.0 International
url: https://creativecommons.org/licenses/by/4.0/
image: https://i.creativecommons.org/l/by/4.0/88x31.png
CC-BY-SA-4.0:
name: Attribution-ShareAlike 4.0 International
url: https://creativecommons.org/licenses/by-sa/4.0/
image: https://i.creativecommons.org/l/by-sa/4.0/88x31.png
CC-BY-NC-4.0:
name: Attribution-NonCommercial 4.0 International
url: https://creativecommons.org/licenses/by-nc/4.0/
image: https://i.creativecommons.org/l/by-nc/4.0/88x31.png
CC-BY-ND-4.0:
name: Attribution-NoDerivatives 4.0 International
url: https://creativecommons.org/licenses/by-nd/4.0/
image: https://i.creativecommons.org/l/by-nd/4.0/88x31.png
57 changes: 57 additions & 0 deletions _data/locale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# @start locale config
## => English
########################
en: &EN
SUBSCRIBE : "Subscribe"
READMORE : "Read more"
SEARCH : "Search"
CANCEL : "Cancel"
VIEWS : "views"
LAST_UPDATED : "Last updated"
PREVIOUS : "PREVIOUS"
NEXT : "NEXT"
ARTICLE_DATE_FORMAT : "%b %d, %Y"
ARTICLE_LIST_DATE_FORMAT: "%b %d"
STATISTICS : "[POST_COUNT] post articles, [PAGE_COUNT] pages."
LICENSE_ANNOUNCE : "This work is licensed under a [LICENSE] license."
POST_ON_GITHUB : "Edit on Github"
FOLLOW_ME : "Follow me on [NAME]."
EMAIL_ME : "Send me an Email."
COPYRIGHT_DATES : "2018"

en-GB:
<<: *EN
en-US:
<<: *EN
en-CA:
<<: *EN
en-AU:
<<: *EN

## => Simplified Chinese
########################
zh-Hans: &ZH_HANS
SUBSCRIBE : "订阅"
READMORE : "阅读更多"
SEARCH : "搜索"
CANCEL : "取消"
VIEWS : "阅读"
LAST_UPDATED : "更新于"
PREVIOUS : "上篇"
NEXT : "下篇"
ARTICLE_DATE_FORMAT : "%Y年 %m月%d日"
ARTICLE_LIST_DATE_FORMAT: "%m月%d日"
STATISTICS : "共计 [POST_COUNT] 篇文章,[PAGE_COUNT] 页。"
LICENSE_ANNOUNCE : "本文遵守 [LICENSE] 许可协议。"
POST_ON_GITHUB : "在 Github 上修改"
FOLLOW_ME : "在 [NAME] 上关注我"
EMAIL_ME : "给我发邮件"
COPYRIGHT_DATES : "2018"

zh:
<<: *ZH_HANS
zh-CN:
<<: *ZH_HANS
zh-SG:
<<: *ZH_HANS
# @end locale config
42 changes: 42 additions & 0 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
header:
- titles:
# @start locale config
en : &EN Memos
en-GB : *EN
en-US : *EN
en-CA : *EN
en-AU : *EN
zh-Hans : &ZH_HANS 笔记
zh : *ZH_HANS
zh-CN : *ZH_HANS
zh-SG : *ZH_HANS
# @end locale config
url: https://memos.ultraji.xyz

- titles:
# @start locale config
en : &EN Archive
en-GB : *EN
en-US : *EN
en-CA : *EN
en-AU : *EN
zh-Hans : &ZH_HANS 归档
zh : *ZH_HANS
zh-CN : *ZH_HANS
zh-SG : *ZH_HANS
# @end locale config
url: /archive.html

- titles:
# @start locale config
en : &EN About
en-GB : *EN
en-US : *EN
en-CA : *EN
en-AU : *EN
zh-Hans : &ZH_HANS 关于
zh : *ZH_HANS
zh-CN : *ZH_HANS
zh-SG : *ZH_HANS
# @end locale config
url: /about.html
Loading

0 comments on commit 0ae687f

Please sign in to comment.