Skip to content

Commit b563e95

Browse files
authored
Merge pull request #24 from CodeWithGroup/feature/moving-relative-includes
Moving includes
2 parents d8d7127 + d46c0a4 commit b563e95

17 files changed

+199
-176
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,19 @@ This repository holds the code for CodeWith, a group in the UK that offers free
55
We run the event monthly and manage it all through
66
[our Slack group](https://www.slack.com/).
77
It's all free, so if you're in the area please come along!
8+
9+
# To add yourself to the people page
10+
11+
* Create a branch
12+
* Make a copy of one of the existing bios in *pages-people*
13+
* Name it using the convention people-*yourname*
14+
* Modify to be your bio including
15+
* Photograph
16+
* Information paragraph
17+
* Twitter (optional)
18+
* Things you can help with
19+
20+
If you need any help, contact one of the pople who have already added themselves.
21+
22+
Copy the includes code `<br />
23+
{% include_relative pages-people/people-yourname.html %}` to the bottom of people.html (ensure you update the file name)

_includes/sidebar.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@
4545
<span>Resources</span>
4646
</a>
4747
</li>
48-
<li class="sidebar-dropdown">
49-
<a href="branding.html">
50-
<i class="fas fa-palette"></i>
51-
<span>Branding</span>
52-
</a>
53-
</li>
5448
<li class="sidebar-dropdown">
5549
<a href="people.html">
5650
<i class="fa fa-users"></i>
@@ -69,6 +63,12 @@
6963
<span>Feedback</span>
7064
</a>
7165
</li>
66+
<li class="sidebar-dropdown">
67+
<a href="branding.html">
68+
<i class="fas fa-palette"></i>
69+
<span>Branding</span>
70+
</a>
71+
</li>
7272
<li class="sidebar-dropdown">
7373
<a id="change-font" class="change-font" href="#">
7474
<i class="fa fa-font"></i>

activities.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ <h1>{{page.title}}</h1>
1414
Jump to: <a href="#activities-learning">Learning</a> | <a href="#activities-practice">Practice</a>
1515
</p>
1616

17-
{% include_relative activities-learning.html %}
17+
{% include_relative pages-activities/activities-learning.html %}
1818
{% include back-to-top.html %}
19-
{% include_relative activities-practice.html %}
19+
{% include_relative pages-activities/activities-practice.html %}

contact.html.orig

Lines changed: 0 additions & 162 deletions
This file was deleted.

events.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ <h1>{{page.title}}</h1>
1111
attendees, speakers, and mentors must agree with this code of conduct. It helps us all to understand the
1212
community&apos;s shared values and provides clear guidelines on how we should behave.</p>
1313

14-
{% include_relative events-drop-ins.html %}
15-
{% include_relative events-eventbrite-list.html %}
14+
{% include_relative pages-events/events-drop-ins.html %}
15+
{% include_relative pages-events/events-eventbrite-list.html %}
1616
{% include eventbrite-button-script.html %}

0 commit comments

Comments
 (0)