Skip to content

Commit

Permalink
change to leonids theme
Browse files Browse the repository at this point in the history
  • Loading branch information
renyuanz committed Sep 11, 2015
1 parent b00698e commit 80d3455
Show file tree
Hide file tree
Showing 17 changed files with 93 additions and 225 deletions.
27 changes: 8 additions & 19 deletions README.md
@@ -1,25 +1,14 @@
# Leonids Jekyll Themes
# My personal blog

**[Leonids](http://renyuanz.github.io/leonids)** is a two column responsive Jekyll theme perfect for powering your GitHub hosted blog. The idea is inspired by PureCSS blog layout.
## About the blog

## What is Leonids?
I'll share regularly my life and interesting things with you. This blog supposed to be a multi-languages one, so that I can write everything here. Hope you enjoy!

* Responsive templates. Looking good on mobile, tablet, and desktop.
* Gracefully degrading in older browsers. Compatible with Internet Explorer 9+ and all modern browsers.
* Minimal embellishments -- content first.
* Simple and clear permalink structure.
* Support for Disqus Comments
* Support for multi-authors
* Random color for Tags
## About the blog theme

![screenshot of Leonids theme](http://renyuanz.github.io/leonids/img/screenshot-1.jpg)
If you like this theme, you can find it [here](https://github.com/renyuanz/leonids) and a [live demo](http://renyuanz.github.io/leonids). This is a Jekyll blog theme, if you don't know what Jekyll is, check its [official site](http://jekyllrb.com/). You gonna love it! Otherwise, I'll keep working on this theme and make it better, so any reviews or suggestions are welcome!

and ![full support for code syntax highlighting](http://renyuanz.github.io/leonids/img/screenshot-2.jpg)
You can contact me by [email](mailto:zourenyuan@gmail.com) or [open an issue](https://github.com/renyuanz/leonids/issues/new).

See a [live version of Leonids](http://renyuanz.github.io/leonids/) hosted on GitHub.

## Getting Started

Leonids jekyll theme takes advantage of Sass and data files to make customizing easier. These features require Jekyll 2.x and will not work with older versions of Jekyll.

To learn how to install and use this theme check out the [Setup Guide](http://renyuanz.github.io/leonids/theme-setup/) for more information.
Cheers,
Renyuan
7 changes: 3 additions & 4 deletions _config.yml
Expand Up @@ -3,11 +3,10 @@
# Site wide configuration
####################################
#
title: Leonids
title: Renyuan
email: zourenyuan@gmail.com
description: > # this means to ignore newlines until "baseurl:"
A simple and awesome blog theme powered by jekyll. Inspired by PureCSS blog layout and build by bootstrap 4.
url: http://renyuanz.github.io/leonids # the base hostname & protocol for your site
description: "My personal blog using beautiful leonids jekyll theme."
url: http://renyuanz.github.io # the base hostname & protocol for your site

#
###################################
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion _includes/head.html
Expand Up @@ -6,7 +6,7 @@
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ site.url }}/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ site.url }}/css/font-awesome.min.css">
<link rel="stylesheet" href="{{ site.url }}/css/main.css">

Expand Down
2 changes: 1 addition & 1 deletion _includes/js.html
@@ -1,3 +1,3 @@
<script type="text/javascript" src="{{ site.url }}/js/jquery-2.1.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="{{ site.url }}/js/bootstrap.min.js"></script>
<script type="text/javascript" src="{{ site.url }}/js/main.js"></script>
1 change: 0 additions & 1 deletion _includes/sidebar.html
Expand Up @@ -4,7 +4,6 @@

<div class="header">


<a href="{{ site.url }}/" class="brand-title">{{ author.name }}</a>
<span class="brand-tagline">{{ author.bio }}</span>

Expand Down
48 changes: 48 additions & 0 deletions _posts/2015-09-11-这大半年的总结.md
@@ -0,0 +1,48 @@
---
layout: page
title: 这大半年的总结
tags: [谈人生谈理想]
comments: true
---

Hey,

我叫任远,是一名Web开发者,目前还在法国就读研究生。
不过专业方向是主攻Java的,嗯,法国这边大学主要是Java和PHP,可我偏偏爱上了Ruby。

第一次接触到Ruby是为什么我已经不记得了,不,确切的说是知道了Rails先于Ruby
(当时还不知道Ruby是一门语言)。之后,开始疯狂在lynda、codecademy和codeschool上看有关于Ruby on Rails
的视频和教程,去淘宝上买几十块钱一个月的lynda会员。但却迟迟不能入门。

<!--more-->

之后可能是在知乎或是Ruby China上看到了Michael hartl的Tutorial,买了第三版,跟着教程一步一步敲代码。
也是这本教程让我入门了很多Web以及应用开发的知识,让我受益良多。不过之后看到很多人对此书的评价,
我也确实要良心的说一句,一开始学习Rails就接触边写应用边写测试会有点复杂,但是会让你明白一个系统的开发流程,
这对我之后的学习也有很大的帮助,可以说这本书帮我真正敲开了Rails的大门。

大概学了将近大半年的时间后,我在巴黎找了一家设计公司实习,也敲出了第一个Rails的专案。我把Staging版本
托管在heroku上,一来可以降低客户与我们的沟通成本,二来可以利用免费的heroku展示我的作品。如果有人感兴趣,
可以点[这里](https://msushi.herokuapp.com/)

简单介绍一下这个专案吧,我用到了devise做前台的用户系统,一个开源的Rails e-commerce框架shoppe做后台,
以及foundation 5来做响应式布局。这不算是一个成功的专案,它里面还有很多没解决的问题:

- 比如Shoppe这个gem
已经提供了一套customer系统,在我用devise在前台创建用户的时候,我还不能很好的将这两者联系起来。
- 比如新注册的用户,必须要填写个人信息才能点单、付款,但是这个逻辑我做的很粗糙。

不过我也是第一次深入了解了gem的运作原理,我把shoppe fork到自己的repo中做了很多自定义的改动来
迎合客户的需求:

- 比如增加了法语版的翻译
- 比如优化了商品批量上传的功能
- 比如修改了一些数据库栏位,以使得资料和信息更符合法国公司的使用习惯

用一个切实的专案来加强巩固自己的所学非常重要。所以,在结束实习之后,我开始折腾了自己的Jekyll theme,
并取名leonids,意为“狮子座流星雨”,我就是狮子座的,所以有些自恋在所难免。

如你所见,这个博客就是用的leonids,如果你觉得还不错,欢迎来我的[repo](https://github.com/renyuanz/leonids)
fork或download这个theme,如果能给我一个star就再好不过啦!

如果有任何问题或建议,可以给我[发邮件](mailto:zourenyuan@gmail.com)或是直接在页面下留言。
13 changes: 13 additions & 0 deletions _posts/2015-9-10-New-site-new-life.md
@@ -0,0 +1,13 @@
---
layout: post
title: New site new life
comments: true
---

I did finish my 3 months internship few weeks ago and I reworked my blog site during these holidays so that I won't be boring.

I was thinking about to design my own jekyll theme for a long time and I did finally achieve the goal, cheers! As you can see, this blog is my first github open source project and I got already 4 stars at the moment. Such an accomplishment! Therefor, I will keep working on this project and make it better. If you have any question or suggestion, feel free to leave a message here or [open an issue](https://github.com/renyuanz/leonids/issues/new) at Github, I will try my best to make this theme to be your best friend while you want write something down.

Look back into the last three months, it was a wonderful experience to work on what I really love. I did complete two projects, the first one is a presentation website for a Chinese air condition manufacturer -- [VeckChina](http://www.veckchina.com), and the second one is a ruby on rails e-commerce project for a Parisian restaurant -- [Msushi](https://msushi.herokuapp.com). I made a lot of progresses of coding skills and negotiation abilities. And I did learn what and how to do when there is a conflict between developer and designer or between customer and company.

Now it's time to moving on, I am on the train to Marseille while writing this post. Hope everything will be ok.
13 changes: 7 additions & 6 deletions _sass/pages/_layout.scss
Expand Up @@ -53,6 +53,13 @@ img {
}
}

.author-avatar {
border-radius: 50%;
width: 128px;
border: .4em solid #fff;
float: right;
}

.brand-title,
.brand-tagline {
margin: 0;
Expand Down Expand Up @@ -122,12 +129,6 @@ a.post-title {
margin-bottom: 0.2em;
}

.post-avatar {
border-radius: 50px;
float: right;
margin-left: 1em;
}

a.post-author {
color: $secondary;
}
Expand Down
5 changes: 5 additions & 0 deletions css/bootstrap.min.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions js/bootstrap.min.js

Large diffs are not rendered by default.

193 changes: 0 additions & 193 deletions theme-setup.md

This file was deleted.

0 comments on commit 80d3455

Please sign in to comment.