bjcubsfan
bjcubsfan

Reputation: 53

Octopress style not applied to new blog post

I am using Octopress (based on Jekyll) for a blog. On my latest post, the style has not been applied. The top of the HTML file looks like this, when I viewed the source:

<p>I wrote a <a href="http://www.github.com/bjcubsfan/passphrases">program</a> 
that generates passphrases. <a href="../passphrases">Passphrases are a better 
alternative</a> to commonly-used, hard-to-remember but easy-to-guess passwords 
(&#8216;eyebrow favor advancing homeland&#8217; versus 
&#8216;Tr0ub4dor&amp;3&#8217;). The python program randomly picks four 

My previous post has normal HTML headings, specifies a CSS stylesheet, etc.:

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Passphrases - B. J. Potter</title>
<meta name="author" content="B. J. Potter">


<meta name="description" content="The xkcd comic criticizing the state
 of passwords made sense to me. Why are we subject to password requirements
 that point us toward hard-to-remember &hellip;">


<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link href="/atom.xml" rel="alternate" title="B. J. Potter" type="application/atom+xml">

<link rel="canonical" href="http://www.bjpotter.com/passphrases">
<link href="/favicon.ico" rel="shortcut icon">
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">

I have tried regenerating (rake generate) the site, removing the latest post and creating it fresh, but the outcome is the same.

What could be causing this? How could I troubleshoot this problem?

Upvotes: 2

Views: 191

Answers (1)

Carlos Agarie
Carlos Agarie

Reputation: 4002

Well, this might be caused by missing YAML Front Matter. Are you sure your latest post is getting it? Can you show us your Markdown source?

For troubleshooting, you could try changing first your post, and then the relevant layouts -- such as to see if they're really being used during this post's compilation.

Upvotes: 2

Related Questions