You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 1, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: responses/00_class-introduction-issue.md
+7-10Lines changed: 7 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Welcome to GitHub Pages and Jekyll :tada:!
4
4
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.
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 that you’d like.
6
6
7
7
In this course, you'll create a blog hosted on GitHub Pages and learn how to:
8
8
@@ -12,23 +12,20 @@ In this course, you'll create a blog hosted on GitHub Pages and learn how to:
12
12
13
13
### New to GitHub?
14
14
15
-
Before we can begin, you'll need to know how to create a branch on GitHub, commit changes using Git, and open a pull request on GitHub. If you need a refresher on the GitHub flow, check out the [Introduction to GitHub course]({{ host }}/courses/introduction-to-github).
15
+
For this course, you'll need to know how to create a branch on GitHub, commit changes using Git, and open a pull request on GitHub. If you need a refresher on the GitHub flow, check out the [the Introduction to GitHub course]({{ host }}/courses/introduction-to-github).
16
16
17
-
### :keyboard: Activity: Turn on GitHub Pages
17
+
### :keyboard: Activity: Generate a GitHub Pages site
18
18
19
19
The first step to publishing your blog to the web is to enable GitHub Pages on this repository <sup>[:book:](https://help.github.com/articles/github-glossary/#repository)</sup>. When you enable GitHub Pages on a repository, GitHub takes the content that's on the master branch and publishes a website based on its contents.
20
20
21
-
1. Under your repository name, click [**Settings**]({{ repoUrl }}/settings)
22
-
1. In the "GitHub Pages" section, use the Select source drop-down menu to select the `master branch` as your GitHub Pages publishing source.
23
-
1. Click **Save**
21
+
1. Under your repository name, click [**Settings**]({{ repoUrl }}/settings).
22
+
1. In the "GitHub Pages" section, in the Source drop-down, select **master branch**.
24
23
25
-
After GitHub Pages is enabled, we'll be ready to create some content.
26
-
27
-
For a printable version of the steps in this course, check out the [Quick Reference Guide]({{ host }}/public/{{ course.slug }}.pdf).
24
+
After GitHub Pages is enabled and the site is started, we'll be ready to create some more content.
28
25
29
26
> Turning on GitHub Pages creates a deployment of your repository. I may take up to a minute to respond as I await the deployment.
30
27
31
28
<hr>
32
-
<h3align="center">Return to this issue for my next comment</h3>
29
+
<h3align="center">Return to this issue for my next comment.</h3>
33
30
34
31
> _Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response from me, wait a few seconds and refresh the page for your next steps._
Great job! Now that GitHub Pages is enabled, you can view your website here: {{ deploymentUrl }}
4
+
5
+
You can customize your homepage by adding content to either an `index` file or the `README.md` file. GitHub Pages first looks for an `index` file. If an `index` file is found, GitHub Pages uses the content in the file to create the homepage. If an `index` file isn’t found, it uses the `README.md` to create the homepage.
6
+
7
+
Your repository has an `index.md` file so we can update it to include your personalized content.
8
+
9
+
### :keyboard: Activity: Create your homepage
10
+
11
+
1. Navigate to the **Code** tab of this repository, and browse to the `index.md` file, or click this link [here]({{ repoUrl }}/blob/master/index.md)
12
+
2. In the upper right corner, click the the icon to the right of the file to edit the `index.md` file
13
+
3. Type the content you want on your homepage
14
+
4. Scroll to the bottom, type a commit message, and click **Create a new branch for this commit and start a pull request**
15
+
5. Open a pull request
16
+
17
+
> Once you have created your pull request, I will move over there to discuss next steps.
18
+
19
+
<hr>
20
+
<h3align="center">Look for my next response in your pull request.</h3>
Copy file name to clipboardExpand all lines: responses/02_pull-request-blank.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,4 +8,4 @@ For example, if you type `closes #2` in your pull request description, the open
8
8
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.
9
9
10
10
<hr>
11
-
<h3align="center">Check below for next steps</h3>
11
+
<h3align="center">Check below for next steps.</h3>
Great work! You can see your published page [here]({{ deploymentUrl }}). If you don't see your changes right away, refresh the page.
4
+
5
+
### Getting your page blog ready
6
+
7
+
Jekyll uses a file titled `_config.yml` to store settings for your site, a your theme and reusable content like your site title and GitHub handle.
8
+
9
+
You can check out the `_config.yml` file on the **Code** tab of your repository.
10
+
11
+
### :keyboard: Activity: Modify the config file
12
+
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. Add a `theme:` set 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.
24
+
25
+
<hr>
26
+
<h3 align="center">Look for my next response in your pull request.</h3>
0 commit comments