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

Commit 2a39a90

Browse files
committed
edits
1 parent a6ab508 commit 2a39a90

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ template:
88
name: github-pages-with-jekyll
99
repo: github-pages-with-jekyll-template
1010
before:
11-
- type: updateBranchProtection
1211
- type: createIssue
1312
title: Welcome
1413
body: 00_class-introduction-issue.md
@@ -24,6 +23,8 @@ steps:
2423
with: 01_update-index.md
2524
data:
2625
url: 'https://%user.username%.github.io/%payload.repository.name%'
26+
- type: updateBranchProtection
27+
2728

2829
- title: Customize your homepage
2930
description: Open a pull request with changes to the homepage.

responses/00_class-introduction-issue.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,23 @@ For this course, you'll need to know how to create a branch on GitHub, commit ch
1818

1919
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.
2020

21+
{% if GHE_HOST %}
22+
2123
1. Under your repository name, click [**Settings**]{{ repoUrl }}/settings)
2224
1. In the "GitHub Pages" section, click **Launch automatic page generator**
2325
1. Edit the **Project name** and **Body** to be what you'd like your main page to display
2426
1. Click **Continue to layouts**
2527
1. Select a layout
2628
1. Click **Publish page**
29+
30+
{% else %}
31+
32+
1. Under your repository name, click [**Settings**]{{ repoUrl }}/settings)
33+
1. In the "GitHub Pages" section, click **Choose a theme**
34+
2. Select a theme
35+
3. Click **Select theme**
36+
37+
{% endif %}
2738

2839
After GitHub Pages is enabled and the site is started, we'll be ready to create some more content.
2940

responses/01_update-index.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,24 @@ Your repository has an `index.html` file so we can update it to include your per
88

99
### :keyboard: Activity: Create your homepage
1010

11+
{% if GHE_HOST %}
12+
1113
1. Navigate to the **Code** tab of this repository, and browse to the `index.html` file
12-
1. In the upper right corner, click the :pencil2: pencil icon to open the file editor
14+
1. In the upper right corner, click the the icon to the right of the file to edit the `index.md` file
1315
2. Type the content you want on your homepage
1416
3. Scroll to the bottom, type a commit message, and click **Create a new branch for this commit and start a pull request**
1517
4. Open a pull request
18+
19+
{% else %}
20+
21+
1. Navigate to the **Code** tab of this repository, and browse to the `index.md` file
22+
2. In the upper right corner, click the the icon to the right of the file to edit the `index.md` file
23+
3. Type the content you want on your homepage
24+
4. Scroll to the bottom, type a commit message, and click **Create a new branch for this commit and start a pull request**
25+
5. Open a pull request
26+
27+
{% endif %}
28+
1629

1730
> Once you have created your pull request, I will move over there to discuss next steps.
1831

0 commit comments

Comments
 (0)