Updating Octopress Theme
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.,
rake update_source['theme name']Without the brackets, it defaults to .themes/classic.
Caveats:
- Do NOT use
rake installto install the theme again, since it will overwrite the whole thing, including the files insource/_include/customdirectory. - When working on the blog, anything outside of
source/_include/customshould be considered the theme. Thus, do not make changes directly insource. Make changes to theme and update the theme to reflect the changes to the blog.
Comments