This is a test page for my new blog on Github.
I’ll be gradually moving from my old blog to this one, since my old blog is mostly in Chinese, but it’s likely for me to be writing more English posts in the future.
Anyway, here’s the link to my old blog: http://rednaxelafx.iteye.com
Setting up this blog
Apparently I’m using Octopress to power this blog. Many thanks for the nice framework that save me a lot of time to get up to speed. I probably wouldn’t have decided to move my blog here in the first place if there weren’t ready-to-use solutions for lazy people like me.
Just to remind myself of the steps I took to set it up:
I followed a guide by Zete Lui(@night_song) for the initial setup. Nice and easy.
It’ll take some more time to customizing everything. Let’s see how it goes.
So far, the customizations I’ve made to the default Octopress blog are in:
- modified
Rakefile
These two lines will have to be modified for me to get deploy working right:
1 2 |
|
- modified
_config.yml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
|
- modified
sass/partials/sidebar/_base.scss
Copied the style for the search box from sass/partials/_navigation.scss
for
the tag filter box:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
And, changed the style for <li>
tags so that the blogroll hierarchy can be
shown:
1 2 3 4 5 6 7 8 9 10 11 |
|
- modified
sass/screen.scss
Added the following to make lists indent right. Otherwise they stick out to the left and look weird.
1 2 3 |
|
- added
source/_includes/custom/asides/tags.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|
- modified
source/_includes/custom/navigation.html
1 2 3 4 5 |
|
- modified
source/_includes/custom/asides/about.html
- added
source/_includes/custom/asides/blogroll.html
That’s probably … about it? I’ve got lost track of what else I modified. Anyway, this reminder should be enough if I should ever need to do it again.
Oh, right, I need to update the source/favicon.png
file.
Miscellaneous
I’ve learned that embedding a Gist can be done with:
1
|
|
To make life easier when editing Markdown files on my Ubuntu box with GEdit, I’ve installed gedit-markdown plugin.