Updating Octopress Theme

- - posted in octopress

The themes are stored in .themes/<name>, we can use the rake command to update either the source or style, as documented in the office website. However, the syntax should be more clear, i.e.,

1
rake update_source['theme name']

Without the brackets, it defaults to .themes/classic.

Caveats:

  • Do NOT use rake install to install the theme again, since it will overwrite the whole thing, including the files in source/_include/custom directory.
  • When working on the blog, anything outside of source/_include/custom should be considered the theme. Thus, do not make changes directly in source. Make changes to theme and update the theme to reflect the changes to the blog.

Comments