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
1. Create new page content including the layout, title and copy.
142
143
2. Update ```/locale/en/site.json``` to provide page link attributes.
143
144
3. Update the relevant ```/layout``` to add a link to the new page.
144
145
145
146
#### Create the page content
146
-
Create a new markdown file in ```/local/en```. As specified in the [README.md](./README.md#layout), initial development happens in English.
147
+
148
+
Create a new markdown file in ```/local/en```. As specified in the
149
+
[README.md](./README.md#layout), initial development happens in English.
147
150
148
151
At the top of the markdown file, set a page the title and layout.
149
152
@@ -157,17 +160,21 @@ layout: contribute.hbs
157
160
```
158
161
159
162
#### Update locale site.json to add link attributes
160
-
Open ```local/en/site.json``` and find the appropriate page structure. Add a new object defining the link attributes.
163
+
164
+
Open ```local/en/site.json``` and find the appropriate page structure.
165
+
Add a new object defining the link attributes.
161
166
162
167
```
163
168
"event": {
164
-
"link": "get-involved/events",
165
-
"text": "Events"
169
+
"link": "get-involved/events",
170
+
"text": "Events"
166
171
}
167
172
```
168
173
169
174
#### Update the layout to add a link
170
-
Using the example layout, open ```/layouts/contribute.hbs``` and add your new link to the markup. It's essential to update the handlebars paths to site.json.
175
+
176
+
Using the example layout, open ```/layouts/contribute.hbs``` and add your new
177
+
link to the markup. It's essential to update the handlebars paths to site.json.
0 commit comments