Octopress: Difference between revisions
From charlesreid1
No edit summary |
|||
| Line 35: | Line 35: | ||
Sometimes, you accidentally post your password to your blog, and you gotta clean up after your mess. So how do you do that? | Sometimes, you accidentally post your password to your blog, and you gotta clean up after your mess. So how do you do that? | ||
Okay, this one is actually so easy that it doesn't even need its own page: you just modify or delete the markdown files. | |||
It's that simple. | |||
The next time you run <code>rake generate</code>, Octopress will be re-creating all the site's content from scratch, so no markdown files will be "missing" or "renamed". Octopress doesn't care who moved its cheese. | |||
Revision as of 04:15, 9 April 2014
Some notes on setting up Octopress to work with GitHub pages.
You, too, can have a glamorous GitHub page like mine! http://charlesreid1.github.io/
Setting Up Octopress with Github Personal Page
You can create a repository that hosts static web content and is available at http://username.github.io - and you can use Octopress to deploy the static content from your markdown files.
This whole procedure gets a little lengthy, but my entire procedure is covered here:
Octopress/Octopress with Github Personal Pages
Setting Up Octopress with Github Project Pages
We saw above that Octopress enables you to set up an Octopress directory to work with a Github personal page repository.
But we may also want to set up Octopress for a project page repository - so that we can keep static web content relevant to the project that consists of a project blog and a set of project pages.
Octopress/Octopress with Github Project Pages
Adding Non-Blog Content to Octopress
What if I wanna add an "about me" page? Then I can use the rake new_post command. See this page for details:
Octopress/Adding Non-Blog Content
Octopress Blogging Workflow with 2 Computers
This is a description of my Octopress blogging workflow with 2 computers.
Modifying/Deleting Old Posts
Sometimes, you accidentally post your password to your blog, and you gotta clean up after your mess. So how do you do that?
Okay, this one is actually so easy that it doesn't even need its own page: you just modify or delete the markdown files.
It's that simple.
The next time you run rake generate, Octopress will be re-creating all the site's content from scratch, so no markdown files will be "missing" or "renamed". Octopress doesn't care who moved its cheese.