Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tqgx patch 1 #463

Open
wants to merge 59 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
e858fc1
Delete _posts directory
tqgx Sep 16, 2023
7b8e410
Add files via upload
tqgx Sep 16, 2023
e2b5847
Create 有想像中的好嗎?Gentoo.md
tqgx Sep 16, 2023
385462f
Create 123.md
tqgx Sep 16, 2023
36d7ccc
Update and rename 123.md to 2014-08-16-miui6.markdodwn.md
tqgx Sep 16, 2023
ed5dfe3
Rename 有想像中的好嗎?Gentoo.md to 2014-08-16-有想像中的好嗎?Gentoo.md
tqgx Sep 16, 2023
e319707
Add files via upload
tqgx Sep 16, 2023
b4d6ebe
Create 2023-09-16-雜事.md
tqgx Sep 16, 2023
ea96194
Create 2023-09-17-下篇來寫軟件介紹.md
tqgx Sep 16, 2023
cbe5bf5
Create 2023-09-17-凌晨思索著,放空.md
tqgx Sep 16, 2023
13b9234
Update _config.yml
tqgx Sep 16, 2023
e0b2cda
Update _config.yml
tqgx Sep 16, 2023
cc9280c
Update index.html
tqgx Sep 16, 2023
e26d950
Delete about.html
tqgx Sep 16, 2023
7f51756
Update footer.html
tqgx Sep 16, 2023
83f526d
Update footer.html
tqgx Sep 16, 2023
67f7211
Update _config.yml
tqgx Sep 16, 2023
0027f2e
Update short-about.html
tqgx Sep 16, 2023
cf25828
Update short-about.html
tqgx Sep 16, 2023
5364ba1
Update short-about.html
tqgx Sep 16, 2023
6e82881
Update friends.html
tqgx Sep 16, 2023
f0a2210
Update featured-tags.html
tqgx Sep 16, 2023
8a5ec6f
Update archive.html
tqgx Sep 16, 2023
1b9fdde
Update archive.html
tqgx Sep 16, 2023
d43a6f8
Update archive.html
tqgx Sep 16, 2023
4872efb
Update archive.html
tqgx Sep 16, 2023
af2f1ef
Update archive.html
tqgx Sep 16, 2023
b761afd
Update archive.html
tqgx Sep 16, 2023
539b69f
Delete archive.html
tqgx Sep 16, 2023
0a28f3b
Add files via upload
tqgx Sep 16, 2023
1604108
Update archive.html
tqgx Sep 16, 2023
788f97c
Add files via upload
tqgx Sep 16, 2023
d7b67f0
Add files via upload
tqgx Sep 16, 2023
eab176d
Update head.html
tqgx Sep 16, 2023
f9fcc34
Add files via upload
tqgx Sep 16, 2023
6dbabd7
Delete archive.html
tqgx Sep 16, 2023
1fce52d
Add files via upload
tqgx Sep 16, 2023
8ad5e4f
Delete _posts/2014-08-16-miui6.markdodwn.md
tqgx Sep 16, 2023
62f4209
Delete _posts/1.md
tqgx Sep 16, 2023
70aa70e
Update README.md
tqgx Sep 16, 2023
6f188fd
Add files via upload
tqgx Sep 16, 2023
5b1d61e
Update head.html
tqgx Sep 16, 2023
62d7f53
Update 2014-08-16-有想像中的好嗎?Gentoo.md
tqgx Sep 16, 2023
ca95dc0
Update archive.html
tqgx Sep 16, 2023
3b105c7
Update archive.html
tqgx Sep 16, 2023
e2fffc2
Update archive.html
tqgx Sep 16, 2023
8bca9b3
Update archive.html
tqgx Sep 16, 2023
398336a
Update archive.html
tqgx Sep 16, 2023
b48bcb9
Update archive.html
tqgx Sep 16, 2023
65f5249
Update _config.yml
tqgx Sep 16, 2023
578dda8
Update _config.yml
tqgx Sep 16, 2023
7c12028
Update _config.yml
tqgx Sep 16, 2023
b7a2c4d
Add files via upload
tqgx Sep 16, 2023
f60c453
Update _config.yml
tqgx Sep 16, 2023
7f46174
Update 2023-09-17-凌晨思索著,放空.md
tqgx Sep 16, 2023
173cab6
Update 2023-09-17-下篇來寫軟件介紹.md
tqgx Sep 16, 2023
e32fd51
Update 2023-09-16-雜事.md
tqgx Sep 16, 2023
298ac57
Update 2014-08-16-有想像中的好嗎?Gentoo.md
tqgx Sep 16, 2023
4f29df5
Update _config.yml
tqgx Sep 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 1 addition & 63 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,63 +1 @@
[Hux Blog](https://huangxuan.me)
================================

> I never expect this becomes popular.

![](http://huangxuan.me/img/blog-desktop.jpg)


[User Manual 👉](_doc/Manual.md)
--------------------------------------------------

### Getting Started

1. You will need [Ruby](https://www.ruby-lang.org/en/) and [Bundler](https://bundler.io/) to use [Jekyll](https://jekyllrb.com/). Following [Using Jekyll with Bundler](https://jekyllrb.com/tutorials/using-jekyll-with-bundler/) to fullfill the enviromental requirement.

2. Installed dependencies in the `Gemfile`:

```sh
$ bundle install
```

3. Serve the website (`localhost:4000` by default):

```sh
$ bundle exec jekyll serve # alternatively, npm start
```

### Development (Build From Source)

To modify the theme, you will need [Grunt](https://gruntjs.com/). There are numbers of tasks you can find in the `Gruntfile.js`, includes minifing JavaScript, compiling `.less` to `.css`, adding banners to keep the Apache 2.0 license intact, watching for changes, etc.

Yes, they were inherited and are extremely old-fashioned. There is no modularization and transpilation, etc.

Critical Jekyll-related code are located in `_include/` and `_layouts/`. Most of them are [Liquid](https://github.com/Shopify/liquid/wiki) templates.

This theme uses the default code syntax highlighter of jekyll, [Rouge](http://rouge.jneen.net/), which is compatible with Pygments theme so just pick any pygments theme css (e.g. from [here](http://jwarby.github.io/jekyll-pygments-themes/languages/javascript.html) and replace the content of `highlight.less`.


### Interesting to know more? Checkout the [full user manual](_doc/Manual.md)!


Other Resources
---------------

Ports
- [**Hexo**](https://github.com/Kaijun/hexo-theme-huxblog) by @kaijun
- [**React-SSR**](https://github.com/LucasIcarus/huxpro.github.io/tree/ssr) by @LucasIcarus

[Starter/Boilerplate](https://github.com/huxpro/huxblog-boilerplate)
- Out of date. Helps wanted for updating it on par with the main repo

Translation
- [🇨🇳 中文文档(有点过时)](https://github.com/Huxpro/huxpro.github.io/blob/master/_doc/README.zh.md)


License
-------

Apache License 2.0.
Copyright (c) 2015-present Huxpro

Hux Blog is derived from [Clean Blog Jekyll Theme (MIT License)](https://github.com/BlackrockDigital/startbootstrap-clean-blog-jekyll/)
Copyright (c) 2013-2016 Blackrock Digital LLC.
https://tqgx.github.io/
42 changes: 17 additions & 25 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,17 @@
# Site settings
title: Hux Blog
SEOTitle: 黄玄的博客 | Hux Blog
header-img: img/home-bg.jpg
email: huxpro@gmail.com
title: TQGX's Site
SEOTitle: TQGX's Site
header-img: img/cat.jpg
preview_image: img/cat.jpg
email: lilyjone1999@hotmail.com
description: "这里是 @Hux黄玄 的个人博客,与你一起发现更大的世界 | 要做一个有 swag 的程序员"
keyword: "黄玄, Hux黄玄, Hux, 鬼栈, huxpro, @huxpro, 黄玄的博客, Hux Blog, 博客, 个人网站, 互联网, Web, JavaScript, React, React Native, 前端, 设计"
url: "https://huangxuan.me" # your host, for absolute URL
url: "https://tqgx.github.io/" # your host, for absolute URL
baseurl: "" # for example, '/blog' if your blog hosted on 'host/blog'

# Publish posts or collection documents with a future date.
future: true

# SNS settings
RSS: false
weibo_username: huxpro
zhihu_username: huxpro
github_username: huxpro
twitter_username: huxpro
#facebook_username: huxpro
#linkedin_username: firstname-lastname-idxxxx

# Build settings
# from 2016, 'pygments' is unsupported on GitHub Pages. Use 'rouge' for highlighting instead.
highlighter: rouge
Expand Down Expand Up @@ -74,8 +66,8 @@ ga_domain: huangxuan.me

# Sidebar settings
sidebar: true # whether or not using Sidebar.
sidebar-about-description: "要做一个有 swag 的程序员 <br> React Team @ Meta"
sidebar-avatar: https://github.com/Huxpro.png # use absolute URL, seeing it's used in both `/` and `/about/`
sidebar-about-description: "Hello! I'm Lily Joneś, a.k.a. TQGX <br> OpenTools & Portabler"
sidebar-avatar: https://github.com/tqgx.png # use absolute URL, seeing it's used in both `/` and `/about/`

# Featured Tags
featured-tags: true # whether or not using Feature-Tags
Expand All @@ -88,15 +80,15 @@ service-worker: true
# MathJax rendering for layout:page (e.g. post preview)
page-mathjax: false

# Friends
# More Links
friends:
[
{ title: "乱序(Midare)", href: "http://mida.re/" },
{ title: "Ebn Zhang", href: "https://ebnbin.dev/" },
{ title: "Kun Qian", href: "http://kunq.me" },
{ title: "Sherry Woo", href: "https://sherrywoo.me/" },
{ title: "SmdCn", href: "http://blog.smdcn.net" },
{ title: "JiyinYiyong", href: "http://tiye.me/" },
{ title: "DHong Say", href: "http://dhong.co" },
{ title: "尹峰以为", href: "http://ingf.github.io/" },
{ title: "Back Blog", href: "https://tqgx.github.io/" },
{ title: "XGQT Blog", href: "https://xgqt.gitlab.io/" },
{ title: "IVON Blog", href: "https://ivonblog.com/" },
{ title: "Github", href: "https://github.com/tqgx" },
{ title: "Piped", href: "https://piped.video/trending" },
{ title: "invidious", href: "https://yewtu.be/" },
{ title: "Rsload", href: "https://rsload.net },
{ title: "Bitdefender 30Days Trial", href: "https://central.bitdefender.com/devices?service=add_trial&code=34291885-79d4-4ba6-bf01-30b0d6bdd0a1" },
]
4 changes: 2 additions & 2 deletions _includes/featured-tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{% if include.bottom %}
<hr class="hidden-sm hidden-xs">
{% endif %}
<h5><a href="{{'/archive/' | prepend: site.baseurl }}">FEATURED TAGS</a></h5>
<h5><a href="{{'/archive/' | prepend: site.baseurl }}">Tags</a></h5>
<div class="tags">
{% capture tags %}
{% comment %}
Expand All @@ -25,4 +25,4 @@ <h5><a href="{{'/archive/' | prepend: site.baseurl }}">FEATURED TAGS</a></h5>
{{ tags | split:'__SEPARATOR__' | sort }}
</div>
</section>
{% endif %}
{% endif %}
12 changes: 1 addition & 11 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,6 @@
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<!-- SNS Link -->
{% include sns-links.html center=true %}

<p class="copyright text-muted">
Copyright &copy; {{ site.title }} {{ site.time | date: '%Y' }}
<br>
Powered by <a href="http://huangxuan.me">Hux Blog</a> |
<iframe style="margin-left: 2px; margin-bottom:-5px;" frameborder="0" scrolling="0" width="100px"
height="20px"
src="https://ghbtns.com/github-btn.html?user=huxpro&repo=huxpro.github.io&type=star&count=true">
</iframe>
</p>
</div>
</div>
</div>
Expand Down Expand Up @@ -327,4 +317,4 @@
}
});
});
</script>
</script>
4 changes: 2 additions & 2 deletions _includes/friends.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{% if site.friends %}
<hr>
<h5>FRIENDS</h5>
<h5>Links More</h5>
<ul class="list-inline">
{% for friend in site.friends %}
<li><a href="{{friend.href}}">{{friend.title}}</a></li>
{% endfor %}
</ul>
{% endif %}
{% endif %}
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<link rel="manifest" href="{{ site.baseurl }}/pwa/manifest.json">

<!-- Favicon -->
<link rel="shortcut icon" href="{{ site.baseurl }}/img/favicon.ico">
<link rel="shortcut icon" href="{{ site.baseurl }}/img/6.ico">

<!-- Canonical URL -->
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
Expand Down
6 changes: 3 additions & 3 deletions _includes/short-about.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<section class="visible-md visible-lg">
<hr>
<h5><a href="{{'/about/' | prepend: site.baseurl }}">ABOUT ME</a></h5>
<h5></h5>
<div class="short-about">
{% if site.sidebar-avatar %}
<img src="{{site.sidebar-avatar}}" />
<img src="{{site.sidebar-avatar}}" alt="我的頭像" />
{% endif %}
{% if site.sidebar-about-description %}
<p>{{site.sidebar-about-description}}</p>
{% endif %}
<!-- SNS Link -->
{% include sns-links.html %}
</div>
</section>
</section>
74 changes: 0 additions & 74 deletions _posts/2014-01-29-hello-2015.markdown

This file was deleted.

60 changes: 0 additions & 60 deletions _posts/2014-08-16-miui6.markdown

This file was deleted.

Loading