Skip to content

Commit f39ce68

Browse files
Merge pull request #54 from CodeWithGroup/feature/pretty-the-links
Additional fixes for pretty links
2 parents 1d37590 + ed6aa7c commit f39ce68

File tree

11 files changed

+13
-5
lines changed

11 files changed

+13
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,13 @@ Open a command line in the root directory of the repository.
5757

5858
If this is the first time you have built the site, make sure you have run `bundle pack` before attempting to build the site using jekyll.
5959

60-
Next, run `bundle exec jekyll build` to build the site. This will produce a `_site` folder with the required content.
60+
>:Warning: The website uses extensionless links, meaning we don't need to include the '.html' extension on web pages and in anchor (<a>) links. In order that these links work while you view the site locally, open a new command-line window, navigate to the folder containing the website's source code, and run `bundle exec jekyll serve`. Leave that window running while you make your changes. This will start a local server and the address is shown in the command-line.
6161
62-
>:Warning: do not edit anything in the site folder as it will not be comitted and is overwritten everytime you build the site.
62+
The site rebuilds after every change, so just refresh the page in your browser to see the changes.
6363

64-
Once you have a `_site` folder, open the `index.html` file inside to view the site.
64+
>:Warning: do not edit anything in the site folder as it will not be comitted and is overwritten everytime you build the site.
6565
66-
You will normally need to rebuild the site every time you save a change to a file. To rebuild the site automatically after each update append `--watch` to the end of the command, i.e. `bundle exec jekyll build --watch`
6766

68-
>:Warning: The website uses extensionless links, meaning we don't need to include the '.html' extension on web pages and in anchor (<a>) links. In order that these links work while you view the site locally, open a new command-line window, navigate to the folder containing the website's source code, and run `bundle exec jekyll serve`. Leave that window running while you make your changes.
6967

7068
## Includes
7169

about.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
permalink: /about/
23
layout: default
34
suffixes:
45
- Committee,

activities.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
permalink: /activities/
23
layout: default
34
suffixes:
45
- codecademy,

admin.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
permalink: /admin/
23
layout: default
34
suffixes:
45
- Assistance,

branding.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
permalink: /branding/
23
layout: default
34
suffixes:
45
- Colours,

code-of-conduct.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
permalink: /code-of-conduct/
23
layout: default
34
suffixes:
45
- Assurance,

contact.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
permalink: /contact/
23
layout: default
34
suffixes:
45
- Community,

events.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
permalink: /events/
23
layout: default
34
suffixes:
45
- Databases,

feedback.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
permalink: /feedback/
23
layout: default
34
suffixes:
45
- Change,

people.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
permalink: /people/
23
layout: default
34
suffixes:
45
- Drew,

0 commit comments

Comments
 (0)