1
1
# creativecommons.github.io-source
2
2
3
- Source for creativecommons.github.io
3
+ Source for ` creativecommons.github.io `
4
4
5
5
6
6
## Overview
@@ -9,7 +9,7 @@ This site is built using [Lektor][lektor]. All changes to
9
9
[ https://creativecommons.github.io ] [ ccgithubio ] must be made ** here** and
10
10
deployed via lektor (see [ Deploying] ( #deploying ) , below).
11
11
12
- ** DO NOT MAKE CHANGES TO THE [ creativecommons.github.io] [ ccghiorepo ] REPO
12
+ ** DO __ NOT __ MAKE CHANGES TO THE [ creativecommons.github.io] [ ccghiorepo ] REPO
13
13
DIRECTLY** .
14
14
15
15
[ lektor ] :https://www.getlektor.com/
@@ -41,25 +41,26 @@ DIRECTLY**.
41
41
## Deploying
42
42
43
43
When you are ready to deploy a new version of the site, run ` lektor deploy `
44
- (assuming you have your GitHub SSH key set up already). That's it, it's live on
45
- production!
44
+ (assuming you have your GitHub SSH key already set up and you have access to
45
+ the [ creativecommons.github.io] [ ccghiorepo ] repository). That's it, it's live
46
+ on production!
46
47
47
48
48
49
## Project Structure
49
50
50
51
Here's how the code is structured in the top level of the repository:
51
- - ` assets ` : This directory contains the JavaScript and CSS files for the
52
+ - ** ` assets ` ** : This directory contains the JavaScript and CSS files for the
52
53
project. Most of the JavaScript and CSS is third-party code and loaded via
53
54
CDN so this is pretty empty.
54
- - ` content ` : The content of the site lives here. [ Here's an explanation of how
55
- content works in Lektor] [ lektorcontent ] . This is probably what you'll be
55
+ - ** ` content ` ** : The content of the site lives here. [ Here's an explanation of
56
+ how content works in Lektor] [ lektorcontent ] . This is probably what you'll be
56
57
modifying most often.
57
- - ` models ` : [ All content in Lektor is associated with data
58
+ - ** ` models ` ** : [ All content in Lektor is associated with data
58
59
models] [ lektormodels ] to define their schema. Currently, we only use the
59
60
default ` page ` model that ships with Lektor.
60
- - ` templates ` : This is where the [ Jinja2] [ jinja2 ] templates that render content
61
- are stored. See the [ Lektor template documentation] [ lektortemplate ] for more
62
- information.
61
+ - ** ` templates ` ** : This is where the [ Jinja2] [ jinja2 ] templates that render
62
+ content are stored. See the [ Lektor template documentation] [ lektortemplate ]
63
+ for more information.
63
64
64
65
[ lektorcontent ] :https://www.getlektor.com/docs/content/
65
66
[ lektormodels] :(https://www.getlektor.com/docs/models/
0 commit comments