What’s a blog without a few tweets to spice it up?
Here’s my first attempt, which didn’t work. I modified my _config.yml file to have:
1
twitter_user: tleydn
After some desperate googling, I came across this blog post which seems to suggest that twitter support has been remoted from Octopress, with instructions on how to embed a twitter widget.
Here’s a few tricks to make it looks slightly less butt-ugly:
In the twitter widget generator, choose the “dark” theme.
Modify the widget class to have dimensions width="300" height="350" so that it is slightly less distracting when viewing content.
Adding an “About” page
I followed the instructions on Theming & Customization, which added an About section on the top of the sidebar on the right side.
I’m not a hipster, it’s just that my HTML coding skillz are stuck at about 1995. If you are seething with the overwhelming urge to tell me how to do this in 2013 CSS style, go right ahead and add a comment.
$ rvm install 1.9.3
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p448.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Installing requirements for osx.
Updating system......
Error running 'requirements_osx_brew_update_system ruby-1.9.3-p448',
please read /Users/traun/.rvm/log/1378534467_ruby-1.9.3-p448/update_system.log
Requirements installation failed with status: 1.
I managed to get past this error by following this stack overflow post. However, the second time I went through these instructions, I got this error which I haven’t figured out yet.
So this is a little awkward, and looking back I wish I hadn’t pushed that index.html earlier, because it interferes with the github push in the next step.
Delete your entire github repository: username/username.github.io
Create a new empty github repository: username/username.github.io
After doing that, your github repo should have two branches:
Master: the “published blog” goes here, and will have a top-level index.html
Source: the entire octopress source tree, plus a “source” and “sass” directory. The “source” directory is where your blog markdown content will actually live.
Step 12: Oops, don’t forget to push the source changes!
Even though the blog content is deployed (eg, your master branch with your content has been pushed to github), the source is still sitting on your computer. If your hard drive crashes, you’ll lose your markdown, which is no fun.
Here’s how to push the latest changes of your source files up to github:
123
git add .
git commit -m 'I just added a new blog entry'
git push origin source