Reputation: 53
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
(‘eyebrow favor advancing homeland’ versus
‘Tr0ub4dor&3’). 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 …">
<!-- 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
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