Created
April 6, 2011 15:16
-
-
Save EnigmaCurry/905832 to your computer and use it in GitHub Desktop.
A blogofile template to include Post title and meta keywords
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
categories: General Stuff | |
date: 201/04/06 15:25:00 | |
title: Just a test | |
keywords: test, another test, more "tests" | |
--- | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, that's really helpful