From 8ee8cdbcd64f20fdcfecb08ed5c1ae5e068c4f6b Mon Sep 17 00:00:00 2001 From: Rowan Molony Date: Wed, 22 Sep 2021 14:21:36 +0100 Subject: [PATCH] Add tutorial on adding a post to the website --- _posts/2021-09-22-add-map-link.md | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 _posts/2021-09-22-add-map-link.md diff --git a/_posts/2021-09-22-add-map-link.md b/_posts/2021-09-22-add-map-link.md new file mode 100644 index 0000000..225003c --- /dev/null +++ b/_posts/2021-09-22-add-map-link.md @@ -0,0 +1,38 @@ +--- +layout: post +date: 2021-09-22 +title: How to link this website to an existing map +categories: blog +tags: + - tutorial +--- + +1. Fork the [website's Github](https://github.com/rdmolony/codema-dev.github.io) (see [here](https://guides.github.com/activities/forking/)) - this creates a copy of the website just for you. + +fork + +2. On your fork add a new branch (see [here](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-branches)) - this creates a sandbox in which you make changes to your hearts content, and delete if needs be! + +add-branch + +3. Click `_posts` > `Add file` > `Create new file` + +add-post + +4. Create a new file called `YYYY-MM-DD-filename.md` (ex: `2021-09-22-marine-atlas.md`) and add your content. + +> The section between the `---` symbols defines the metadata about your page (see [here](https://jekyllrb.com/docs/front-matter/) for options, [here](https://mmistakes.github.io/minimal-mistakes/year-archive/) for sample posts and [here](https://github.com/mmistakes/minimal-mistakes/tree/master/docs/_posts) for the sample posts Github) + +add-content-zoomed + +5. Commit your new file to your branch + +commit-file + +6. When you're happy with your edits go to [website's Github](https://github.com/rdmolony/codema-dev.github.io), click `Pull Reqeuest` and submit a pull request using your branch. + +create-pull-request + +7. After a final review of the post, merge the changes in and delete your branch if you like + +merge-post