-
-
Notifications
You must be signed in to change notification settings - Fork 188
Expand file tree
/
Copy pathlayout.html
More file actions
205 lines (189 loc) · 8.85 KB
/
layout.html
File metadata and controls
205 lines (189 loc) · 8.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="{{ '/static/vocabulary/favicon/favicon.ico'|url }}" sizes="any">
<link rel="icon" href="{{ '/static/vocabulary/favicon/favicon.svg' |url }}" type="image/svg+xml">
<link rel="manifest" href="{{ '/static/vocabulary/favicon/manifest.webmanifest' |url }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/static/vocabulary/favicon/apple-touch-icon.png' |url}}" />
<link rel="stylesheet" href="{{ '/static/css/style.css'|url }}">
<link rel="stylesheet" href="{{ get_pygments_stylesheet()|url }}">
<script src="{{ '/static/vendor/jquery/jquery.min.js'|url }}"></script>
<script src="{{ '/static/vendor/datatable/datatables.js'|url }}"></script>
<script type="text/javascript" src="{{ '/static/js/table.js'|url }}"></script>
<meta property="og:site_name" content="Creative Commons" />
<meta property="og:title" content="{{ this.title }}" />
{% if this.description %}
{% set desc = this.description|excerpt|striphtmltags %}
<meta property="og:description" content="{{ desc }}" />
{% else %}
{% if this.body %}
{% set desc = this.body|excerpt|striphtmltags %}
<meta property="og:description" content="{{ desc }}" />
{% endif %}
{% endif %}
<meta property="og:url" content="{{ this|url }}" />
<meta property="og:type" content="article" />
{% from "macros/og_image.html" import og_image %}
{{ og_image(this) }}
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{{ this.title }}">
<meta name="twitter:description" content="{{ desc }}">
{% if image %}
<meta name="twitter:image" content="{{ image|url(external=true) }}">
{% endif %}
<meta name="twitter:site" content="@creativecommons">
<meta name="twitter:creator" content="@creativecommons">
<title>{% block title %}Welcome{% endblock %} — Creative Commons Open Source</title>
<body {% if this.is_homepage %} class="home-page" {% elif this.body_class %} class="{{ this.body_class }}" {% endif %}>
<a class="skip-to-content" href="#main-content-marker">Skip to content</a>
<header>
<div class="masthead">
<h1><a class="identity-logo product" href="{{ '/'|url }}">Open source</a></h1>
<button class="expand-menu">Menu</button>
<nav class="primary-menu">
<ul>
<li><a href="{{ '/blog/entries'| url }}">Blog</a></li>
<li><a href="{{ '/contributing-code' | url }}">Contribute</a></li>
<li><a href="{{ '/community'| url }}">Community</a></li>
<li><a href="{{ '/programs' | url }}">Work Programs</a></li>
</ul>
<!--TODO: Evaluate use of dropdown/secondary menu-->
</nav>
<nav class="ancillary-menu">
<ul>
<li><a class="donate icon-attach fa-heart" href="https://www.classy.org/give/313412/#!/donation/checkout?c_src=website&c_src2=top-of-page-banner" target="_blank">Donate</a></li>
<li><button class="explore">Explore CC</button></li>
</ul>
</nav>
</div>
<div class="explore-panel">
<!-- (optional main CC logo, p, link on non-home site back to main site) -->
<aside>
<a
class="identity-logo"
href="https://creativecommons.org"
>Creative Commons</a
>
<h2>Our Work Relies On You!</h2>
<p>Help us keep the internet free and open.</p>
</aside>
<nav class="explore-menu">
<ul>
<li>
<a href="https://network.creativecommons.org/" target="_blank">Global Network</a>
<p>Join a global community working to strengthen the Commons</p>
</li>
<li>
<a href="https://certificate.creativecommons.org/" target="_blank">Certificate</a>
<p>Become an expert in creating and engaging with openly licensed materials</p>
</li>
<li>
<a href="/choose" target="_blank">Chooser</a>
<p>Get help choosing the appropriate license for your work</p>
</li>
<li>
<a href="https://search.creativecommons.org/" target="_blank">Search Portal</a>
<p>Find engines to search openly licensed material for creative and educational reuse</p>
</li>
</ul>
</nav>
</div>
</header>
<!-- Breadcrumb -->
<!--TODO: EVALUATE USE OF BREADCRUMB;REMOVE OR KEEP-->
{#
{% if this._path != '/'%}
<div class="breadcrumb-container">
<nav class="container breadcrumb caption bold" aria-label="breadcrumbs">
<ul>
{% set crumbs = [] %}
{% set current = {'crumb': this} %}
<!-- Extracting the slugs of URL -->
{% for i in this._path.split("/") %}
{% if current.crumb is not none %}
{% if crumbs.insert(0, current.crumb._slug) %}{% endif %}
{% if current.update({"crumb": current.crumb.parent}) %}{% endif %}
{% endif %}
{% endfor %}
{% for crumb in crumbs %}
<!-- Active link -->
{% if this._slug == crumb %}
<li class="is-active"><a aria-current="page">{{ this.title }}</a></li>
{% else %}
<!-- Forming the URL using extracted slugs -->
{% set i = loop.index %}
{% set ns = namespace (link = '') %}
{% for j in range(i) %}
{% set ns.link = ns.link + crumbs[j] + '/' %}
{% endfor %}
<li><a class="link" href="{{ ns.link|url }}">
{% if crumb != '' %}
{{ crumb | title | replace('-', ' ') }}
{% else %}
Home
{% endif %}
</a></li>
{% endif %}
{% endfor %}
</ul>
</nav>
</div>
{% endif %}
#}
<!-- Body -->
<span id="main-content-marker"></span>
<main>
{% block body %}{% endblock %}
</main>
<!-- Footer -->
<footer>
<a class="identity-logo" href="https://www.creativecommons.org">Creative Commons</a>
<nav class="footer-menu" aria-label="Footer menu">
<ul>
<li><a href="{{ '/blog/entries'|url }}">Blog</a></li>
<li><a href="{{ '/community/community-team'|url }}">Community Team</a></li>
<li><a href="{{ '/contributing-code/projects'|url }}">Project List</a></li>
<li><a href="{{ '/archives'|url }}">Archives</a></li>
</ul>
</nav>
<div class="contact">
<h2>Contact Us</h2>
<p>Creative Commons <br /> PO Box 1866, Mountain View, CA 94042</p>
<p><a href="mailto:info@creativecommons.org">info@creativecommons.org</a></p>
<nav class="social-menu" aria-label="Social menu">
<ul>
<li><a class="icon-replace fa-bluesky" href="https://bsky.app/profile/creativecommons.bsky.social" target="_blank">Bluesky</a></li>
<li><a class="icon-replace fa-mastodon" href="https://mastodon.social/@creativecommons" target="_blank">Mastodon</a></li>
<li><a class="icon-replace fa-linkedin" href="https://www.linkedin.com/company/creative-commons/" target="_blank">LinkedIn</a></li>
</ul>
</nav>
</div>
<div class="subscribe">
<h2>Subscribe to our Newsletter</h2>
<form action="https://creativecommons.us4.list-manage.com/subscribe/post?u=fd30364b6577b471373d6076c&id=4603fe102a" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate newsletter" target="_blank">
<input type="email" value="" name="EMAIL" class="email input" id="mce-EMAIL" placeholder="Your email" required>
<div style="position: absolute; left: -5000px" aria-hidden="true">
<input type="text" name="b_fd30364b6577b471373d6076c_4603fe102a" tabindex="-1" value="">
</div>
<input type="submit" value="subscribe" id="mc-embedded-subscribe" class="button small">
</form>
</div>
<div class="donate">
<h2>Support Our Work</h2>
<p>Our work relies on you! Help us keep the Internet free and open.</p>
<a class="donate icon-attach cc-heart-filled" href="https://www.classy.org/give/313412/#!/donation/checkout?c_src=website&c_src2=top-of-page-banner" target="_blank">Donate Now</a>
</div>
<div class="license">
<p>Except where otherwise <a href="https://creativecommons.org/policies/#license">noted</a>, content on this site is licensed under a <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International license</a>. Icons by <a href="https://fontawesome.com/" target="_blank">Font Awesome</a>.</p>
<svg>
<use href="/vocabulary/svg/cc/icons/cc-icons.svg#cc-logo"></use>
</svg>
<svg>
<use href="/vocabulary/svg/cc/icons/cc-icons.svg#cc-by"></use>
</svg>
</div>
</footer>
<script src="{{ '/static/vocabulary/js/vocabulary.js'|url }}"></script>
</body>
</html>