Skip to content

Commit 2f31f0a

Browse files
authored
Merge pull request creativecommons#155 from obulat/write-post-format
Remove spaces at the beginning of the blog template lines
2 parents 5c01418 + 7c12f3d commit 2f31f0a

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

content/community/write-a-blog-post/contents.lr

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -42,25 +42,23 @@ Once you have written your post, you can either send it to us (Markdown is easie
4242
1. If your post uses images or other files, put them in the same subdirectory as the `contents.lr` file.
4343
1. Fill in `contents.lr` in the following format ([see example post](https://raw.githubusercontent.com/creativecommons/creativecommons.github.io-source/master/content/blog/entries/open-development-with-saltstack/contents.lr)):
4444
<pre>
45-
<code>
46-
title: Replace this text with the title of your blog post
47-
---
48-
categories:
49-
Replace this text with category names as shown below. Each category name should be on its own line and the name should not contain spaces.
50-
example-category-name-1
51-
example-category-name-2
52-
---
53-
author: Replace this text with author's GitHub username. There should be no spaces in the name.
54-
---
55-
series: optional-field-for-example-series-name
56-
---
57-
pub_date: Replace this text with the publication date in YYYY-MM-DD format.
58-
---
59-
body:
60-
Replace this text with your post's content (minus the title). This field accepts Markdown for formatting.
61-
If you're including images, you can use the Markdown image syntax i.e. ![image-title](image-file-name.jpg).
62-
You don't need to specify the path to the image since you have uploaded it to the same folder in Step 3.
63-
</code>
45+
<code>
46+
title: Replace this text with the title of your blog post
47+
---
48+
categories:
49+
Replace this text with category names as shown below. Each category name should be on its own line and the name should not contain spaces.
50+
example-category-name-1
51+
example-category-name-2
52+
---
53+
author: Replace this text with author's GitHub username. There should be no spaces in the name.
54+
---
55+
pub_date: Replace this text with the publication date in YYYY-MM-DD format.
56+
---
57+
body:
58+
Replace this text with your post's content (minus the title). This field accepts Markdown for formatting.
59+
If you're including images, you can use the Markdown image syntax i.e. ![image-title](image-file-name.jpg).
60+
You don't need to specify the path to the image since you have uploaded it to the same folder in Step 3.
61+
</code>
6462
</pre>
6563

6664
*Read more about [Markdown formatting here](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet).*

0 commit comments

Comments
 (0)