Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add infra blog post to site #60

Closed
tosteiner opened this issue Aug 31, 2019 · 2 comments
Closed

Add infra blog post to site #60

tosteiner opened this issue Aug 31, 2019 · 2 comments

Comments

@tosteiner
Copy link
Contributor

tosteiner commented Aug 31, 2019

@dannycolin soo, I was thinking... if I wanted to add the infrastructure post to the blog roll, how would this work?

Just add the md-file to https://github.com/OpenScienceMOOC/site/tree/master/_posts , and that's it? And where can I put media files?
Thanks in advance!

(just thinking aloud here: maybe we can also pull Lisa's post in as per #47 ? cc @Protohedgehog )

@dannycolin
Copy link
Member

dannycolin commented Aug 31, 2019

Create a new markdown file in _posts following this naming convention

YYYY-MM-DD-your-post-title.md

After that, add the following metadata at the top of your post:

---
title: "Your Post Title"
author: "Your Name"
date: "YYYY-MM-DD"
layout: post
categories: cat1 cat2
---

Now for the images, create a folder posts inside /assets/img/ and put your images in it. You should now be able to link to your image in your markdown file like so:

![Image description](/assets/img/posts/your-image.ext)

Don't hesitation to ping me on Slack if something doesn't work ;)

@dannycolin
Copy link
Member

Done (#61). 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants