Skip to content

Commit 4e7f4d4

Browse files
committed
Replace verbatim block with a link to raw template
1 parent d9136a7 commit 4e7f4d4

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

docs/tutorials/adding-new-project.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -83,24 +83,7 @@ that is meant to be copied to make new project creation easier. The part we
8383
want is everything between the "---"s. This is called "frontmatter," and it
8484
describes everything about a project, such as the author of the project. Select
8585
and copy the frontmatter out of the template file (make sure that you include
86-
the dashes). This is what you should have:
87-
88-
---
89-
# Fill out as many of these as you can, and delete the rest.
90-
# Text on a line after a "#" is a comment and is ignored for the published page.
91-
92-
author: [ "@wasabifan", "The ev3dev Team" ] # The person(s) who created this project.
93-
# Any author that starts with "@" will pull information from github.
94-
programming_language: "JavaScript" # The programming language used in this project
95-
96-
youtube_video_id: rrNaLfE9PWA # The video ID of the YouTube video to be displayed with this post
97-
98-
project_homepage_url: "http://example.com/my-super-cool-project" # Homepage for this project
99-
source_code_url: "https://github.com/myuser/myrepo" # Provide a link to your code
100-
building_instructions_url: "http://example.com/building-instructions.pdf" # how to build the model out of LEGO (*not* how to build the source code)
101-
102-
excerpt: "An example/template project to make creating a new project page easier." # A short summary of your project. This can be a sentence or a paragraph, but it's recommended to keep it under 3 sentences.
103-
---
86+
the dashes). [This][raw template] is what you should have.
10487

10588
Now use the "back" button of your browser to go back to the posts folder. Click
10689
the "+" button to create a new file.
@@ -155,5 +138,6 @@ edits, and will review and merge your changes when they get the chance.
155138
[kramdown basics]: http://kramdown.gettalong.org/quickref.html
156139
[template project]: https://github.com/ev3dev/ev3dev.github.io/blob/master/projects/_posts/2014-03-21-Example-Project.md
157140
[template page]: http://www.ev3dev.org/projects/2014/03/21/Example-Project/
141+
[raw template]: https://raw.githubusercontent.com/ev3dev/ev3dev.github.io/master/projects/_posts/2014-03-21-Example-Project.md
158142
[website repository]: http://github.com/ev3dev/ev3dev.github.io
159143
[the readme]: https://github.com/ev3dev/ev3dev.github.io

0 commit comments

Comments
 (0)