Skip to content

Commit

Permalink
[v1.8.2] bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Huxpro committed Mar 22, 2020
1 parent dad59c2 commit 3d03711
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ _archive
node_modules
.vscode
*.log
*.lock
*.sh
.DS_Store
.jekyll-cache
*/.DS_Store
*/*/.DS_Store
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 'jekyll-paginate'

gem "jekyll", "~> 4.0"
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Hux Blog
========

### [View Live Hux Blog →](https://huangxuan.me)
### [View alive Hux Blog →](https://huangxuan.me)

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

Expand All @@ -11,13 +11,13 @@ Boilerplate (beta)

**Bolierplate has been serveral verisons outdated. Helps wanted for updating it on par with the main repo.**

Want to clone a boilerplate instead of my buzz blog? Here comes this!
Boilerplate provide a clean version of this buzz blog.

```
$ git clone [email protected]:Huxpro/huxblog-boilerplate.git
```

**[View Boilerplate Here →](http://huangxuan.me/huxblog-boilerplate/)**
**[View alive Boilerplate →](http://huangxuan.me/huxblog-boilerplate/)**


Porting
Expand All @@ -27,8 +27,8 @@ Porting
- [**React-SSR**](https://github.com/LucasIcarus/huxpro.github.io/tree/ssr) by @LucasIcarus


Translation
-----------
Documents Translation
---------------------

- ![cn](https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/24/China.png) **Chinese (Simplified)**: 感谢 [@BrucZhaoR](https://github.com/BruceZhaoR)[中文翻译 →](https://github.com/Huxpro/huxpro.github.io/blob/master/README.zh.md)

Expand All @@ -38,6 +38,8 @@ Releases

#### V1.8.2

- Merged #333, #336 from @JinsYin.
- Add `Gemfile` due to increasing Bundler using.
- TODO: `multilingual` could be more automative via configurations and convention.
- Drop the entire `portfolio` page until a big rewrite of a better `project` page.

Expand Down Expand Up @@ -352,6 +354,15 @@ For other circumstances, check out existing issues or create a new one!
FAQ
---


### Errors related with `bundle`

Please follow [Using Jekyll with Bundler](https://jekyllrb.com/tutorials/using-jekyll-with-bundler/) to add `jekyll`, then you could exec jekyll with dependencies managed by Bundler.

```sh
$ bundle exec jekyll serve
```

### How can I customize the theme of code block?

This theme uses the default code syntax highlighter of jekyll, "rouge, 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`.
Expand Down
2 changes: 1 addition & 1 deletion _includes/about/en.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
> Your time is limited, so don’t waste it living someone else’s life.
Hi, I am _@huxpro_ (Huang, Xuan), a will-be [Facebook](https://www.facebook.com/) software engineer and a professed digital designer. My interests range from programming languages in general (type system, type-based formal verification, compiler construction, runtime system) to indurstial software engineering (web/mobile app development, user interface and UX, developer infra and DX).
Hi, I am _@huxpro_ (Huang, Xuan), a [Facebook](https://www.facebook.com/) software engineer and a professed digital designer. My interests range from programming languages in general (type system, type-based formal verification, compiler construction, runtime system) to indurstial software engineering (web/mobile app development, user interface and UX, developer infra and DX).

In the past, I worked on [Alitrip (Fliggy)](https://www.alitrip.com/) mobile and web apps under the [Alibaba Group](https://en.wikipedia.org/wiki/Alibaba_Group), found and lead front-end infrastructure team at a unicorn startup [Beijing Weiying (WePiao)](https://www.crunchbase.com/organization/beijing-weiying-technology), and helped [Ele.me](https://en.wikipedia.org/wiki/Ele.me) to upgrade their mobile web into [the first influential PWA (progressive web app) in China](https://medium.com/elemefe/upgrading-ele-me-to-progressive-web-app-2a446832e509).

Expand Down
4 changes: 2 additions & 2 deletions _includes/featured-tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ <h5><a href="{{'/archive/' | prepend: site.baseurl }}">FEATURED TAGS</a></h5>
<a data-sort="{{ site.posts.size | minus: tag[1].size | prepend: '0000' | slice: -4, 4 }}"
href="{{ site.baseurl }}/archive/?tag={{ tag[0] | url_encode }}"
title="{{ tag[0] }}"
rel="{{ tag[1].size }}">{{ tag[0] }}</a>
rel="{{ tag[1].size }}">{{ tag[0] }}</a>__SEPARATOR__
{% endif %}{% endfor %}
{% endcapture %}
{{ tags | split:'</a>' | sort | join:'</a>' }}
{{ tags | split:'__SEPARATOR__' | sort }}
</div>
</section>
{% endif %}
4 changes: 2 additions & 2 deletions archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
title="{{ tag[0] }}" rel="{{ tag[1].size }}">
{{ tag[0] }}
<sup>{{tag[1].size}}</sup>
</a>
</a>__SEPERATOR__
{% endfor %}
{% endcapture %}
{{ tags | split:'</a>' | sort | join:'</a>' }}
{{ tags | split:'__SEPERATOR__' | sort }}
</div>

<!-- Article List -->
Expand Down

0 comments on commit 3d03711

Please sign in to comment.