Skip to content

Instantly share code, notes, and snippets.

@EnigmaCurry
Created April 6, 2011 15:16
Show Gist options
  • Save EnigmaCurry/905832 to your computer and use it in GitHub Desktop.
Save EnigmaCurry/905832 to your computer and use it in GitHub Desktop.
A blogofile template to include Post title and meta keywords
---
categories: General Stuff
date: 201/04/06 15:25:00
title: Just a test
keywords: test, another test, more "tests"
---
%if post:
<title>${post.title}</title>
%else:
<title>${bf.config.blog.name}</title>
%endif
% if post and hasattr(post,"keywords"):
<meta type="keywords" content="${post.keywords | h}"/>
% endif
@xiamx
Copy link

xiamx commented Apr 6, 2011

Thanks, that's really helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment