To make changes you need to edit two items:
config.toml
. This file handles the routes for the app.contributorPages = [
"/contributors/",
"/contributors/tom-hanson/",
"/contributors/firstname-surname/"
]
Enter a new entry following the above convention ensuring a comma at the end of the previous entry, similar to JSON standards.
The code tree below shows the layout of the project.
skybet-graduate-articles
│ ...
└─── pages
│ 404.md
│ _template.jsx
│ index.md
│
├─── contributors
│ │
│ │─── tom-hanson
│ │ │ index.md
| |
│ │─── TEST-DIRECTORY
│ │ │ index.md
| |
│ │ _template.jsx
│ │ index.md
│ │ ...
│
└─── docs
│ ...
Create a directory, similar to the TEST-DIRECTORY with lowercase firstname-surname
Within that directory, create an index.md
file - this is your homepage file where you will list all your links for Medium.
Edit the index.md
to have the following beginning of file:
---
title: Firstname Surname
---
...
Restart the gatsby develop
command and refresh your browser to see the addition of your directory within Contributors.
Do the classic git add .
& git commit -m "..."
& git push
to your own GitHub repo.
Create a PR with brief description of change.
To make changes you need to edit two items:
config.toml
. This file handles the routes for the app.contributorPages = [
"/contributors/",
"/contributors/tom-hanson/",
"/contributors/firstname-surname/"
]
Enter a new entry following the above convention ensuring a comma at the end of the previous entry, similar to JSON standards.
The code tree below shows the layout of the project.
skybet-graduate-articles
│ ...
└─── pages
│ 404.md
│ _template.jsx
│ index.md
│
├─── contributors
│ │
│ │─── tom-hanson
│ │ │ index.md
| |
│ │─── TEST-DIRECTORY
│ │ │ index.md
| |
│ │ _template.jsx
│ │ index.md
│ │ ...
│
└─── docs
│ ...
Create a directory, similar to the TEST-DIRECTORY with lowercase firstname-surname
Within that directory, create an index.md
file - this is your homepage file where you will list all your links for Medium.
Edit the index.md
to have the following beginning of file:
---
title: Firstname Surname
---
...
Restart the gatsby develop
command and refresh your browser to see the addition of your directory within Contributors.
Do the classic git add .
& git commit -m "..."
& git push
to your own GitHub repo.
Create a PR with brief description of change.