From a0dcc48d2d3eca55eb6ae8376256b359f1793451 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 09:37:22 -0700
Subject: [PATCH 01/22] Create index.html
Add the landing page for the blog
---
blog/index.html | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 blog/index.html
diff --git a/blog/index.html b/blog/index.html
new file mode 100644
index 00000000..1d7a308f
--- /dev/null
+++ b/blog/index.html
@@ -0,0 +1,19 @@
+---
+layout: default
+title: Refuge Restrooms
+---
+
+
Welcome to Our Blog
+
REFUGE restrooms indexes and maps safe restroom locations for trans, intersex, and gender nonconforming individuals.
+
+ {% for post in site.posts %}
+ {{ post.date | date_to_string }} » {{ post.title }}
+ {% endfor %}
+
+
Our Code of Conduct
+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making
+ participation in our project and our community a harassment-free experience for everyone, regardless of age,
+ body size, disability, ethnicity, gender identity and expression, level of experience, nationality,
+ personal appearance, race, religion, or sexual identity and orientation.
+
Read our full code of conduct here
+
From bdea478b440db0289a41ecf36b112082b3396307 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 09:39:08 -0700
Subject: [PATCH 02/22] Create _config.yml
---
blog/_config.yml | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 blog/_config.yml
diff --git a/blog/_config.yml b/blog/_config.yml
new file mode 100644
index 00000000..88f78708
--- /dev/null
+++ b/blog/_config.yml
@@ -0,0 +1,2 @@
+title: Refuge Restrooms
+permalink: /:year/:month/:day/:title:output_ext
From 6dd46dd5585ecba725c6bee3e04868dbdb88353c Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 09:40:35 -0700
Subject: [PATCH 03/22] Create README.md
---
blog/README.md | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 blog/README.md
diff --git a/blog/README.md b/blog/README.md
new file mode 100644
index 00000000..8c2e39c0
--- /dev/null
+++ b/blog/README.md
@@ -0,0 +1,28 @@
+# How to Create a Blog Post
+Go to the _posts/ directory and create a new file with the format: YYYY-MM-DD-title-of-post.md
+
+Post titles must be in this format to work correctly!
+
+
+Format the contents of the post like so:
+
+
+ ---
+
+
+ layout: post
+
+ title: title of your blog post
+
+
+ ---
+
+
+Then, simply write your post here, using any desired formatting.
+
+
+References:
+
+Writing Blog Posts: https://jekyllrb.com/docs/posts/
+
+Markdown Syntax: https://www.markdownguide.org/basic-syntax/
From db16ed9a552a7c1f31d145054174816dcf7c3195 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 09:41:28 -0700
Subject: [PATCH 04/22] Create .gitignore
---
blog/.gitignore | 1 +
1 file changed, 1 insertion(+)
create mode 100644 blog/.gitignore
diff --git a/blog/.gitignore b/blog/.gitignore
new file mode 100644
index 00000000..57510a2b
--- /dev/null
+++ b/blog/.gitignore
@@ -0,0 +1 @@
+_site/
From 50b15a88f9584aad02080e7ee016536c6e046bf3 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 09:43:12 -0700
Subject: [PATCH 05/22] Create default layout
---
blog/_layouts/default.html | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 blog/_layouts/default.html
diff --git a/blog/_layouts/default.html b/blog/_layouts/default.html
new file mode 100644
index 00000000..0fc62f9b
--- /dev/null
+++ b/blog/_layouts/default.html
@@ -0,0 +1,16 @@
+!DOCTYPE html>
+
+
+ {{page.title}}
+
+
+
+
+
+ {{content}}
+
+
+
+
From 9f7f4ae8a0ba1eede9fa46825c84ef818444d619 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 09:44:13 -0700
Subject: [PATCH 06/22] Create default post layout
---
blog/_layouts/post.html | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 blog/_layouts/post.html
diff --git a/blog/_layouts/post.html b/blog/_layouts/post.html
new file mode 100644
index 00000000..7829c752
--- /dev/null
+++ b/blog/_layouts/post.html
@@ -0,0 +1,18 @@
+
+
+
+ {{page.title}}
+
+
+
+
+ {{ page.title }}
+ {{ page.date | date_to_string }}
+
+ {{ content }}
+
+
+
+
From 283bbfb73db973b99998dc3582e9d9c0a5f3dae1 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 09:45:02 -0700
Subject: [PATCH 07/22] Add stylesheet
---
blog/css/main.css | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 blog/css/main.css
diff --git a/blog/css/main.css b/blog/css/main.css
new file mode 100644
index 00000000..4a4740bf
--- /dev/null
+++ b/blog/css/main.css
@@ -0,0 +1,41 @@
+body {
+ margin: 60px auto;
+ width: 70%;
+ background-image: url("https://freestocks.org/fs/wp-content/uploads/2017/08/early_morning_in_the_city-1000x667.jpg")
+}
+footer {
+ padding: 0.5em;
+ text-align: center;
+ background-color: #d6dbdf;
+ border-left-style: solid;
+ border-left-color: #2c3e50;
+}
+h1 {
+ background-color: #d6dbdf;
+ color: #2c3e50;
+ padding: 0.5em;
+ font-size: 3em;
+ font-family: 'sans-serif';
+ text-align: center;
+}
+h2 {
+ background-color: #f8f9f9;
+ color: #2c3e50;
+ padding: 0.5em;
+ font-family: 'sans-serif';
+ font-style: italic;
+}
+p {
+ font-size: 1.3em;
+ line-height: 1.4em;
+ padding: 0.5em;
+}
+a {
+ padding: 0.5em;
+ font-size: 1.3em;
+}
+.container {
+ background-color: #ffffff;
+ border-left-style: solid;
+ border-left-color: #2c3e50;
+}
From 0a8524a3bd63659900062646f48bbeebd11ad7ae Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 09:45:58 -0700
Subject: [PATCH 08/22] Create test blog post
---
blog/_posts/2020-10-04-hello-world.md | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 blog/_posts/2020-10-04-hello-world.md
diff --git a/blog/_posts/2020-10-04-hello-world.md b/blog/_posts/2020-10-04-hello-world.md
new file mode 100644
index 00000000..530edc94
--- /dev/null
+++ b/blog/_posts/2020-10-04-hello-world.md
@@ -0,0 +1,7 @@
+---
+layout: post
+title: "Hello World!"
+date: 2020-10-04
+---
+
+Just a quick test of the blog post functionality.
From 681640ff0afd1c74c3607083a285ea35760d6771 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 09:48:53 -0700
Subject: [PATCH 09/22] Fix post link
Changed post link to include the /blog directory
---
blog/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blog/index.html b/blog/index.html
index 1d7a308f..c665f855 100644
--- a/blog/index.html
+++ b/blog/index.html
@@ -7,7 +7,7 @@ Welcome to Our Blog
REFUGE restrooms indexes and maps safe restroom locations for trans, intersex, and gender nonconforming individuals.
{% for post in site.posts %}
- {{ post.date | date_to_string }} » {{ post.title }}
+ {{ post.date | date_to_string }} » {{ post.title }}
{% endfor %}
Our Code of Conduct
From 1190a43064bbd87fe66036b734f7176cacf12288 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 09:51:14 -0700
Subject: [PATCH 10/22] Fix post link
Removed duplicate /blog directory
---
blog/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blog/index.html b/blog/index.html
index c665f855..1d7a308f 100644
--- a/blog/index.html
+++ b/blog/index.html
@@ -7,7 +7,7 @@ Welcome to Our Blog
REFUGE restrooms indexes and maps safe restroom locations for trans, intersex, and gender nonconforming individuals.
{% for post in site.posts %}
- {{ post.date | date_to_string }} » {{ post.title }}
+ {{ post.date | date_to_string }} » {{ post.title }}
{% endfor %}
Our Code of Conduct
From a9c1979ef312bfd36b91dccfce9e86ba7d8a55b3 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 09:55:13 -0700
Subject: [PATCH 11/22] Set theme jekyll-theme-slate
---
_config.yml | 1 +
1 file changed, 1 insertion(+)
create mode 100644 _config.yml
diff --git a/_config.yml b/_config.yml
new file mode 100644
index 00000000..c7418817
--- /dev/null
+++ b/_config.yml
@@ -0,0 +1 @@
+theme: jekyll-theme-slate
\ No newline at end of file
From 812f13b09b6358645efcf4c385cb768e142d179c Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 09:56:06 -0700
Subject: [PATCH 12/22] Delete _config.yml
---
blog/_config.yml | 2 --
1 file changed, 2 deletions(-)
delete mode 100644 blog/_config.yml
diff --git a/blog/_config.yml b/blog/_config.yml
deleted file mode 100644
index 88f78708..00000000
--- a/blog/_config.yml
+++ /dev/null
@@ -1,2 +0,0 @@
-title: Refuge Restrooms
-permalink: /:year/:month/:day/:title:output_ext
From 15a6a2e30f80c4cb658b82931a8896330f331313 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 09:56:48 -0700
Subject: [PATCH 13/22] Add _config.yml
---
_config.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/_config.yml b/_config.yml
index c7418817..88f78708 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1 +1,2 @@
-theme: jekyll-theme-slate
\ No newline at end of file
+title: Refuge Restrooms
+permalink: /:year/:month/:day/:title:output_ext
From 78522496feea8c121a9a5a39512865d78c78b1e1 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 09:58:45 -0700
Subject: [PATCH 14/22] Delete _config.yml
Moving back into /blog directory
---
_config.yml | 2 --
1 file changed, 2 deletions(-)
delete mode 100644 _config.yml
diff --git a/_config.yml b/_config.yml
deleted file mode 100644
index 88f78708..00000000
--- a/_config.yml
+++ /dev/null
@@ -1,2 +0,0 @@
-title: Refuge Restrooms
-permalink: /:year/:month/:day/:title:output_ext
From 52c7ba7c9156db407fc613f159781f78c357a799 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 09:59:15 -0700
Subject: [PATCH 15/22] Add config_yml
Moved back into /blog directory from main directory
---
blog/_config.yml | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 blog/_config.yml
diff --git a/blog/_config.yml b/blog/_config.yml
new file mode 100644
index 00000000..88f78708
--- /dev/null
+++ b/blog/_config.yml
@@ -0,0 +1,2 @@
+title: Refuge Restrooms
+permalink: /:year/:month/:day/:title:output_ext
From 0f2e1ef8ea6e889e704945884e4e579aa67472bf Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 10:08:55 -0700
Subject: [PATCH 16/22] Add blog link
Added blog link to README.md
NOTE: Link will only work after setting up GitHub pages for the repository.
To use a custom domain name, navigate to the repository settings, and under GitHub pages enter the desired name. Then, update the readme link to be: https://custom-domain-name/refugerestrooms/blog/
---
README.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/README.md b/README.md
index 85d92518..3b81e588 100644
--- a/README.md
+++ b/README.md
@@ -57,6 +57,10 @@ Please also read our [Code of Conduct](https://github.com/RefugeRestrooms/refuge
If you want to join the Refuge Restrooms Slack channel, you can do so by [clicking on this link.](https://join.slack.com/t/refugelgbt/shared_invite/zt-3zaagpad-DvyfAPcepuRzFBJix1uYkg)
+## Blog
+
+See our latest blog posts [here.](https://RefugeRestrooms.github.io/refugerestrooms/blog/)
+
## License
Copyright (C) 2014–2017 Teagan Widmer and contributors
From 4a427612b9e8cf31a8a04bb4ab3df1d0ae304f4b Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 10:11:39 -0700
Subject: [PATCH 17/22] Delete stylesheet
Switching over to the default Jeykll themes, CSS is obsolete.
---
blog/css/main.css | 41 -----------------------------------------
1 file changed, 41 deletions(-)
delete mode 100644 blog/css/main.css
diff --git a/blog/css/main.css b/blog/css/main.css
deleted file mode 100644
index 4a4740bf..00000000
--- a/blog/css/main.css
+++ /dev/null
@@ -1,41 +0,0 @@
-body {
- margin: 60px auto;
- width: 70%;
- background-image: url("https://freestocks.org/fs/wp-content/uploads/2017/08/early_morning_in_the_city-1000x667.jpg")
-}
-footer {
- padding: 0.5em;
- text-align: center;
- background-color: #d6dbdf;
- border-left-style: solid;
- border-left-color: #2c3e50;
-}
-h1 {
- background-color: #d6dbdf;
- color: #2c3e50;
- padding: 0.5em;
- font-size: 3em;
- font-family: 'sans-serif';
- text-align: center;
-}
-h2 {
- background-color: #f8f9f9;
- color: #2c3e50;
- padding: 0.5em;
- font-family: 'sans-serif';
- font-style: italic;
-}
-p {
- font-size: 1.3em;
- line-height: 1.4em;
- padding: 0.5em;
-}
-a {
- padding: 0.5em;
- font-size: 1.3em;
-}
-.container {
- background-color: #ffffff;
- border-left-style: solid;
- border-left-color: #2c3e50;
-}
From 05ee21fa30a572b666eca92c189671468acfa366 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 10:12:42 -0700
Subject: [PATCH 18/22] Remove stylesheet
Switching over to default Jekylll themes, CSS is obsolete.
---
blog/_layouts/default.html | 1 -
1 file changed, 1 deletion(-)
diff --git a/blog/_layouts/default.html b/blog/_layouts/default.html
index 0fc62f9b..f57671c1 100644
--- a/blog/_layouts/default.html
+++ b/blog/_layouts/default.html
@@ -2,7 +2,6 @@
{{page.title}}
-
From d625015c28928e2cf3a7676d60741f30a45322bd Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 10:13:07 -0700
Subject: [PATCH 19/22] Remove Stylesheet
Switching over to default Jekylll themes, CSS is obsolete.
---
blog/_layouts/post.html | 1 -
1 file changed, 1 deletion(-)
diff --git a/blog/_layouts/post.html b/blog/_layouts/post.html
index 7829c752..b43410a1 100644
--- a/blog/_layouts/post.html
+++ b/blog/_layouts/post.html
@@ -2,7 +2,6 @@
{{page.title}}
-
From 1a46abb8d76ac26bcf21f156bb30b4e870f92131 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Mon, 5 Oct 2020 10:24:51 -0700
Subject: [PATCH 20/22] Add setup instructions
Added instructions to host the blog using GitHub pages
---
blog/README.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/blog/README.md b/blog/README.md
index 8c2e39c0..ec73b287 100644
--- a/blog/README.md
+++ b/blog/README.md
@@ -1,3 +1,6 @@
+# Set up the Blog
+In the repository settings, navigate to GitHub pages. Select a branch to build the website from, a theme if desired, and a custom domain if desired. Save the settings.
+
# How to Create a Blog Post
Go to the _posts/ directory and create a new file with the format: YYYY-MM-DD-title-of-post.md
From 0d54a948fa3d5469da4ea55812b00010799a2d96 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Tue, 27 Oct 2020 09:32:31 -0700
Subject: [PATCH 21/22] Add missing bracket
---
blog/_layouts/default.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blog/_layouts/default.html b/blog/_layouts/default.html
index f57671c1..50b6ec25 100644
--- a/blog/_layouts/default.html
+++ b/blog/_layouts/default.html
@@ -1,4 +1,4 @@
-!DOCTYPE html>
+
{{page.title}}
From 1546b073ae3700620c389ed1ab284a5484352bb0 Mon Sep 17 00:00:00 2001
From: Melissa Peiffer <43871629+mpeiffer@users.noreply.github.com>
Date: Tue, 27 Oct 2020 09:33:38 -0700
Subject: [PATCH 22/22] Add missing bracket
---
blog/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blog/index.html b/blog/index.html
index 1d7a308f..8ea27094 100644
--- a/blog/index.html
+++ b/blog/index.html
@@ -7,7 +7,7 @@ Welcome to Our Blog
REFUGE restrooms indexes and maps safe restroom locations for trans, intersex, and gender nonconforming individuals.
{% for post in site.posts %}
- {{ post.date | date_to_string }} » {{ post.title }}
+ {{ post.date | date_to_string }} » {{ post.title }}
{% endfor %}
Our Code of Conduct