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
- Install Jekyll with `gem install jekyll bundle`.
24
+
- Install dependencies with `bundle install` in the project directory.
25
+
- Run the server with `bundle exec jekyll serve`.
26
+
- Open the rendered website at http://localhost:4000/
27
+
28
+
How to add your chapter
29
+
-----------------------
30
+
31
+
Send a pull request adding a new file `_chapters/<your-chapter-name>.md`, where
32
+
`<your-chapter-name>` is the name of your chapter in ascii lowercase, and
33
+
separating words with underscore (e.g. `london_pyton_sprints`).
34
+
35
+
The content of the file should list:
36
+
- layout: default
37
+
- object_id: same as the name of the file, as described before (without the extension)
38
+
- title: name of your chapter (using normal text)
39
+
- website_link: link to your website
40
+
- address: name of the city, country... or anything relevant so users understand where
41
+
you are based
42
+
- lnt and lng: latitude and longitude used to display a marker for your chapter in
43
+
a map
44
+
45
+
How does Jekyll work?
46
+
---------------------
47
+
48
+
#### Create layouts (templates for django people) to generate your views
49
+
#### Create content files with yml variables(date) and html / plain text to feed into the layouts
50
+
#### Use scss (sass) or less to style (automatically preprocessed into css during build) - see _sass (partials)
51
+
#### Main content goes into _pages
52
+
#### Use Liquid templating language (similar to jinja2 / django templating languages) to create logic
53
+
#### includes are your friends - use them as modules, functions , snippets of html or whatever
54
+
#### time related files - _posts (see chapters_events), categories are automatically generated by jekyll using the parent folder name as the category name
55
+
#### subject related files - collections, have to add them in _config.yml for jekyll to see them properly (see _sponsors, _chapters)
56
+
#### Config in _config.yml
57
+
#### Static content - images, javascript, css in static folder.
58
+
59
+
#### When change pushed to master / origin - github pages rebuilds the site.
0 commit comments