You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: community/write-a-blog-post/index.html
+17-19
Original file line number
Diff line number
Diff line change
@@ -151,25 +151,23 @@ <h2 id="writing-tips">Writing tips</h2><p><strong>Structuring posts about your p
151
151
<li>If your post uses images or other files, put them in the same subdirectory as the <code>contents.lr</code> file.</li>
152
152
<li><p>Fill in <code>contents.lr</code> in the following format (<ahref="https://raw.githubusercontent.com/creativecommons/creativecommons.github.io-source/master/content/blog/entries/open-development-with-saltstack/contents.lr">see example post</a>):</p>
153
153
<pre>
154
-
<code>
155
-
title: Replace this text with the title of your blog post
156
-
---
157
-
categories:
158
-
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.
159
-
example-category-name-1
160
-
example-category-name-2
161
-
---
162
-
author: Replace this text with author's GitHub username. There should be no spaces in the name.
163
-
---
164
-
series: optional-field-for-example-series-name
165
-
---
166
-
pub_date: Replace this text with the publication date in YYYY-MM-DD format.
167
-
---
168
-
body:
169
-
Replace this text with your post's content (minus the title). This field accepts Markdown for formatting.
170
-
If you're including images, you can use the Markdown image syntax i.e. .
171
-
You don't need to specify the path to the image since you have uploaded it to the same folder in Step 3.
172
-
</code>
154
+
<code>
155
+
title: Replace this text with the title of your blog post
156
+
---
157
+
categories:
158
+
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.
159
+
example-category-name-1
160
+
example-category-name-2
161
+
---
162
+
author: Replace this text with author's GitHub username. There should be no spaces in the name.
163
+
---
164
+
pub_date: Replace this text with the publication date in YYYY-MM-DD format.
165
+
---
166
+
body:
167
+
Replace this text with your post's content (minus the title). This field accepts Markdown for formatting.
168
+
If you're including images, you can use the Markdown image syntax i.e. .
169
+
You don't need to specify the path to the image since you have uploaded it to the same folder in Step 3.
170
+
</code>
173
171
</pre><p><em>Read more about <ahref="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet">Markdown formatting here</a>.</em></p>
174
172
</li>
175
173
<li>Create category pages for any new categories that you've assigned to your post. Each category has its own subdirectory in the <ahref="https://github.com/creativecommons/creativecommons.github.io-source/tree/master/content/blog/categories">content/blog/categories</a> directory.<ul>
0 commit comments