From a7491f22ae8be746bb301eda1495833c13202c1e Mon Sep 17 00:00:00 2001 From: Serena Chen Date: Mon, 18 Mar 2024 11:33:54 +0100 Subject: [PATCH 1/2] Create README.md Also added how-to steps for adding a new blog post link to the site :) --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..5dd664e --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# chrome.security + +This website is a glorified list of links; a collection of some of the things we've been working on lately; a little home for Chrome Security on the web :) + +## How to add a new blog post + +Are you a member of Chrome Security who has recently published a blog post? First of all: congrats! + +Add your post to our team website by: + +1. `git clone` this repo +2. Under the `_posts` directory you'll find `template.md`. Fill in the fields (except `excerpt`, unless you want a custom excerpt). +3. **Save as** with a filename in the following format: `YYYY-MM-DD-permalink.md`, where the `YYYY-MM-DD` date is the date of publication, and `permalink` is the permalink string. +4. Convert the body of the blog post to markdown and paste the body of the post under the `---` on line 8. This will be used to generate an excerpt for the link. +5. Save it! Commit it! Bop it! Pull request it! From 871c3792d29d629004a4cfe548df4dc9ba2368f6 Mon Sep 17 00:00:00 2001 From: Serena Chen Date: Mon, 18 Mar 2024 11:43:29 +0100 Subject: [PATCH 2/2] Update README.md Update readme instructions --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5dd664e..a7c3c78 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,14 @@ Are you a member of Chrome Security who has recently published a blog post? Firs Add your post to our team website by: -1. `git clone` this repo +1. `git clone`ing this repo 2. Under the `_posts` directory you'll find `template.md`. Fill in the fields (except `excerpt`, unless you want a custom excerpt). 3. **Save as** with a filename in the following format: `YYYY-MM-DD-permalink.md`, where the `YYYY-MM-DD` date is the date of publication, and `permalink` is the permalink string. 4. Convert the body of the blog post to markdown and paste the body of the post under the `---` on line 8. This will be used to generate an excerpt for the link. 5. Save it! Commit it! Bop it! Pull request it! + +To preview your changes locally, you will need to run [Jekyll](https://jekyllrb.com/docs/). Just open up the cloned directory in your command line tool of choice, run + +1. `gem install bundler jekyll` (if you don't have Jekyll installed) +2. `bundle exec jekyll serve` +3. then browse to `localhost:4000`.