Blogging With Octopress -- Posts, Comments and SEO

Posted by Lawrence Sun on 2013-12-22

Run the following code to generate a new post:

1
rake new_post["new post"]

Octopress uses Markdown, which’s clean and simple as writing a text. I am still learning how to use it well.

In order to get better SEO optimizations, add keywords and description at the beginning of each post after catagories.

Octopress also allows us to add google analytics. Simply add Analytics ID in _config.yml file and add included

1
{% include google_analytics.html %}

in _includes/custom/after_footer.html.

If you want to add comments after each post like me, add Disqus shortname in _config.yml file and set URL, username etc. in Disqus Setting.