Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 7250104

Browse files
committed
resolve conflicts
2 parents 2a39a90 + 55aa42c commit 7250104

File tree

7 files changed

+26
-16
lines changed

7 files changed

+26
-16
lines changed

config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ steps:
106106
filename: _config.yml
107107
action_id: file
108108
- type: gate
109-
left: '/^theme:\s?minima$/m'
109+
left: '/^theme:\s?jekyll-theme-minimal$/m'
110110
operator: test
111111
right: '%actions.file%'
112112
else:
@@ -118,6 +118,7 @@ steps:
118118
body: 04_create-blog-post.md
119119
data:
120120
branch: '%payload.pull_request.head.ref%'
121+
date: '%payload.pull_request.created_at%'
121122

122123
- title: Create a blog post
123124
description: Create a new file that will become your first blog post.

responses/00_class-introduction-issue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Welcome to GitHub Pages and Jekyll :tada:!
44

5-
In this course, you'll learn how to build and host a [GitHub Pages](https://pages.github.com) site. With GitHub Pages, you can host content like [documentation](https://flight-manual.atom.io/), [resumes](https://github.com/jglovier/resume-template), or any other static content you’d like.
5+
If you're new to GitHub Pages, or you want to learn how to build and host a [GitHub Pages](https://pages.github.com) site, you're in the right place. With GitHub Pages, you can host content like [documentation](https://flight-manual.atom.io/), [resumes](https://github.com/jglovier/resume-template), or any other static content you’d like.
66

77
In this course, you'll create a blog hosted on GitHub Pages and learn how to:
88

responses/03_change-theme.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,17 @@ You can check out the `_config.yml` file on the **Code** tab of your repository.
1010

1111
### :keyboard: Activity: Modify the config file
1212

13-
Let's change the `_config.yml` so it's a perfect fit for your new blog. First, we need to use a blog-ready theme. For this activity, we will use a theme named `minima`.
14-
15-
1. Navigate to the **Code** tab of this repository, and browse to the `_config.yml` file
16-
1. In the upper right corner, click :pencil2: to open the file editor
17-
1. Change `theme:` to **minima** and modify the other configuration variables such as `title:`, `author:`, and `description:` to customize your site
18-
1. Click **Create a new branch for this commit and start a pull request**
19-
1. Open a pull request
13+
Let's change the `_config.yml` so it's a perfect fit for your new blog. First, we need to use a blog-ready theme. For this activity, we will use a theme named `jekyll-theme-minimal`.
14+
15+
1. Navigate to the **Code** tab of this repository, and browse to the `_config.yml` file, or click this link [here]({{ repoUrl }}/blob/master/_config.yml).
16+
2. In the upper right corner, click :pencil2: to open the file editor.
17+
3. Change `theme:` to **jekyll-theme-minimal** so it shows in the `_config.yml` file as below:
18+
```
19+
theme: jekyll-theme-minimal
20+
```
21+
4. Modify the other configuration variables such as `title:`, `author:`, and `description:` to customize your site.
22+
5. Click **Create a new branch for this commit and start a pull request**.
23+
6. Open a pull request.
2024
2125
<hr>
2226
<h3 align="center">Look for my next response in your pull request.</h3>

responses/04_create-blog-post.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ This pull request looks great so far. :sparkles: You've just edited the `_config
66

77
### :keyboard: Activity: Add some content to your blog
88

9+
**Shortcut Note**: Click this link [here](https://github.com/{{ owner }}/{{ repo }}/new/{{ branch }}/?filename=_posts/{{ date | date: "%Y-%m-%d" }}-my-first-blog-post.md) to automatically complete steps 1-4.
10+
911
1. On the "Code" tab, select your `{{ branch }}` branch
1012
1. Click **Create new file**
11-
1. Name the file `_posts/YYYY-MM-DD-title.md`, but replace the `YYYY-MM-DD` with today's date, and `title` with the title you'd like to use for your first blog post
13+
1. Name the file `_posts/YYYY-MM-DD-title.md`
14+
1. Replace the `YYYY-MM-DD` with today's date, and change the `title` of your first blog post if you'd like. _Note:_ If you do edit the title, make sure there are hyphens between your words.
1215

1316
- If your blog post date doesn't follow the correct date convention, you'll receive an error and your site won't build. For more information, see "[Page build failed: Invalid post date](https://help.github.com/articles/page-build-failed-invalid-post-date/)".
1417

responses/04_wrong-theme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
It looks like you changed your theme, but for this activity we want to use `minima`.
1+
It looks like you changed your theme, but for this activity we want to use `jekyll-theme-minimal`.
22

3-
### :keyboard: Activity: Change the theme to minima
3+
### :keyboard: Activity: Change the theme to jekyll-theme-cayman
44

55
Let's change the theme to `minima`:
66

77
1. At the top of this Pull Request, click the **Files changed** tab
8-
1. Click the :pencil2: icon to enter edit mode and change the `theme:` to **minima**
8+
1. Click the :pencil2: icon to enter edit mode and change the `theme:` to **jekyll-theme-minimal**
99
1. Scroll to the bottom of the window to create a commit
1010
1. Enter a commit message then click **Commit changes**
1111

responses/05_add-front-matter.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ date: 2019-01-20
1111

1212
This example adds a title and date to your blog post. There are other useful things you could add here in the future like layouts, categories, or any other logic that is useful to you. For more information about configuring front matter, see the [Jekyll front matter documentation](https://jekyllrb.com/docs/frontmatter/).
1313

14-
### :keyboard: Activity: Add Front Matter
14+
### :keyboard: Activity: Add Front Matter to your Blog Post
1515

1616
1. Click the "Files Changed" tab in this pull request
17+
1. There are two files in the "Files Changed" tab, the `_config.yml` file and the `_posts/YYYY-MM-DD-title.md` file. Make sure to edit the file in the `_posts` folder.
1718
1. Click on the pencil icon on the right side of the screen
1819
1. Type the following content at the top of your blog post:
1920

responses/06_incorrect-front-matter.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ date: YYYY-MM-DD
1515
---
1616
```
1717

18-
### :keyboard: Activity: Edit your file
18+
### :keyboard: Activity: Edit your blog post
1919

2020
1. Click the "Files Changed" tab in this pull request
21+
1. Scroll past the config file, and find the file that you created
2122
1. Click on the pencil icon on the right side of the screen
2223
1. Make adjustments based on the above errors
2324
1. Scroll to the bottom, and commit your changes
2425

2526
If you would like assistance troubleshooting the issue you are encountering, create a post on the [GitHub Community]({{ communityBoard }}) board. You might also want to search for your issue to see if other people have resolved it in the past.
2627

2728
<hr>
28-
<h3 align="center">Watch below for my response.</h3>
29+
<h3 align="center">Watch below for my response.</h3>

0 commit comments

Comments
 (0)