-
-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathindex.html
More file actions
1029 lines (695 loc) · 30.5 KB
/
index.html
File metadata and controls
1029 lines (695 loc) · 30.5 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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Vocabulary - Docs</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" media="all" href="style.css">
</head>
<body>
<header>
<h1>Vocabulary</h1>
<p>A cohesive system of design for Creative Commons.</p>
<p><strong>note:</strong> This documentation is still in draft mode.</p>
<p><strong>note:</strong> At present Vocabulary is unversioned, and hyper localized to the <a href="https://creativecommons.org">Index Project</a> (CreativeCommons.org). This means that apart from the global <span class="distinct">Header</span> and <span class="distinct">Footer</span> areas; components, elements, pieces, tokens, etc. are not adequately generalized enough to be as composable within other site/project contexts. The work to correct this is underway, caution should be exercised in the meantime.</p>
</header>
<aside class="menu">
<nav>
<ul>
<li><a href="#introduction" class="active">Introduction</a></li>
<li><a href="#installation">Installation</a></li>
<li><a href="#components">Components</a></li>
</ul>
</nav>
</aside>
<main>
<h2 id="introduction">Introduction</h2>
<p>Vocabulary is a refactor and reimplementation of the original, now archived, <a href="https://github.com/cc-archive/vocabulary-legacy">Vocabulary Legacy</a> project.</p>
<p>Both projects are informed by the <a href="https://creativecommons.org/wp-content/uploads/2019/10/Creative-Commons-Style-Guide-2019.pdf">CC Style Guide (2019)</a>, and incorporate or adapt its guidance into a digital context.</p>
<h3>Structure & Behavior</h3>
<p>Vocabulary is raw material design system with inherent rules and generalized implementable documentation.</p>
<p>Vocabulary is then implemented within a project via an upstream/downstream relationship as follow:</p>
<pre>
Design System → Static Implementation → Dynamic Implementation
vocabulary → prototype → final
vocabulary → [project]-prototype → [project]-[implementation(s)] (*-dev-env *-theme, etc.)
</pre>
<p>In the case of the <a href="https://creativecommons.org">Index Project (CreativeCommons.org)</a> it looks like this:</a> </p>
<pre>
<a href="https://github.com/creativecommons/vocabulary">vocabulary</a> → <a href="https://github.com/creativecommons/index-prototype">index-prototype</a> → <a href="https://github.com/creativecommons/vocabulary-theme">vocabulary-theme</a>
</pre>
<h4>A prototype contains:</h4>
<ul>
<li>[vocabulary]</li>
<li>project source of truth implementations (contexts mostly)</li>
<li>localized functionality (new contexts, etc., until moved into vocabulary) (functionality)</li>
<li>patches (temp overrides, until moved into vocabulary) (fixes)</li>
</ul>
<p>We need to maintain a way to test F/E UX absent a CMS layer. That way the static layer prototype describes the intended output the CMS would create. It becomes a form of documentation and testing. It's an expectation spec.</p>
<p>It's one additional layer of downstream changes, but it provides a clear and distinct documentation for how and where things are localized when vocabulary is implemented, and can offer good examples for where we can pull varied localized implementations upstream into vocabulary generally, so the localizations can then be removed.
</p>
<h3>Upstream/Downstream Change Flow</h3>
This enables two modes of build work.
<h4>A: upstream → downstream</h4>
<ol>
<li>new functionality introduced into Vocabulary</li>
<li>documented and generalized</li>
<li>available to prototypes and implementations</li>
</ol>
<h4>B: downstream → upstream → downstream</h4>
<ol>
<li>new functionality introduced local to project prototype</li>
<li>documented and implemented here locally</li>
<li>migrated to vocabulary</li>
<li>documented and generalized</li>
<li>removed in downstream project's prototype localization</li>
<li>available to prototypes and implementations</li>
</ol>
<p>Either route is valid, and has its reasons for being the more viable route. But it is generally preferred that route A be the default consideration wherever possible. </p>
<h2 id="installation">Installation</h2>
<h3>01. Get the Vocabulary Files</h3>
<p>Download the <a href="https://github.com/creativecommons/vocabulary">creativecommons/vocabulary</a> repository, rename the <span class="distinct">/src</span> directory to <span class="distinct">/vocabulary</span>, and move it into desired location.</p>
<p>Vocabulary needs to be included via CSS <strong>and</strong> JavaScript routes. Both are generally required, and recommended.</p>
<h3>02. CSS Installation</h3>
<p>Your project should include a “main/root” css styles file, which is included within the <span class="distinct">head</span> element of your HTML.</p>
<aside>
<p>It is recommended you call this file style.css; depending on the requirements of the system you could also call this file main.css, root.css, or manifest.css. WordPress Theme's, for example, require 'style.css'.</p>
</aside>
<pre>
<code class="lang-html">
<link rel="stylesheet" media="all" href="PATH/TO/style.css">
</code>
</pre>
<p>Include <span class="distinct">vocabulary.css</span> from within <span class="distinct">style.css</span> via a <a href="#">CSS @layer import</a> at the top of the file.</p>
<aside>
<p>CSS Layers provide a reliable, and safely overridable cascade of rulesets.</p>
</aside>
<pre>
<code class="lang-css">
@import 'PATH/TO/vocabulary/css/vocabulary.css' layer(vocabulary);
</code>
</pre>
<p><strong>Note:</strong> (for in-dev implementations) You can also include the <span class="distinct">vocabulary-tests.css</span> file to perform basic tests against recommended and required approaches within the HTML markup.</p>
<pre>
<code class="lang-css">
@import 'PATH/TO/vocabulary/css/vocabulary.css' layer(vocabulary);
@import 'PATH/TO/vocabulary/css/vocabulary-tests.css' layer(vocabulary-tests);
</code>
</pre>
<p>Production use of the <span class="distinct">vocabulary-tests.css</span> file is not recommended generally.</p>
<h3>03. JS Installation</h3>
<p>Vocabulary has a minimal JavaScript footprint, but does have some required behaviors that rely on JS.</p>
<p>Include the <span class="distinct">vocabulary.js</span> file at the bottom of your HTML markup, prior to the closing <span class="distinct">body</span> tag.</p>
<pre>
<code class="lang-html">
<script src="PATH/TO/vocabulary/js/vocabulary.js"></script>
</code>
</pre>
<h2 id="components">Components</h2>
<p><span class="distinct">Components</span> are discrete collected elements in a semantic order that provide a coherent meaning, and can be placed in various contexts which expect them. Various presentations and/or behaviors can then be applied to them depending on the needs, rules, and use cases of various contexts.</p>
<aside>
<p>There are perhaps better naming conventions than "components", but when used here it doesn't mean JS Components generally, Web Components, or React Components; it's just the term as general as possible.</p>
</aside>
<h3 id="global-header">Header - Global Area</h3><a class="permalink" href="#global-header">permalink</a>
<p>Each CC site utilizing Vocabulary should include the global <span class="distinct">Header</span> & <span class="distinct">Footer</span> areas at the top and bottom of the site respectively.</p>
<p>The Global Header component contains several sub-elements.</p>
<ul>
<li>
Masthead
<ul>
<li>Entity Logo</li>
<li>Primary Nav Menu</li>
<li>Ancilliary Nav Menu</li>
</ul>
</li>
<li>
Explore Panel (Explore CC)
<ul>
<li>Optional main Index Site identity/link / blurb (used for non Index Project sites)</li>
<li>Explore Nav Menu</li>
</ul>
</li>
</ul>
<p>These sub-elements are not independent and are not meant to be used outside of the Global Header component.</p>
<h4>Expected Contexts</h4>
<ul>
<li>The <span class="distinct">Header</span> begins directly after the opening <span class="distinct">body</span> tag, and appears only once per page, on all page levels</li>
</ul>
<pre>
<code class="lang-html">
<a class="skip-to-content" href="#main-content-marker">Skip to content</a>
<header>
<div class="masthead">
<h1><a class="identity-logo product" href="#">Vocabulary</a></h1>
<button class="expand-menu">Menu</button>
<nav class="primary-menu">
<ul>
<li><a href="#">Who We Are</a></li>
<li><a href="#">What We Do</a></li>
<li><a href="#">Licenses and Tools</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Support Us</a></li>
<li><a class="attention" href="https://summit.creativecommons.org/">Global Summit 2023</a></li>
</ul>
</nav>
<nav class="ancilliary-menu">
<ul>
<!-- uncomment below line, if translation functionality is present on site -->
<!-- <li><button class="locale icon-attach fa-globe">English</button></li> -->
<!-- uncomment below line, if search functionality is present on site -->
<li><a class="search icon-attach fa-search" href="#">Search</a></li>
<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="https://summit.creativecommons.org/" target="_blank">Global Summit</a>
<p>Attend our annual event, promoting the power of open licensing</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>
<li>
<a href="https://opensource.creativecommons.org/" target="_blank">Open Source</a>
<p>Help us build products that maximize creativity and innovation</p>
</li>
</ul>
</nav>
</div>
</header>
</code>
</pre>
<h3 id="global-footer">Footer - Global Area</h3><a class="permalink" href="#global-footer">permalink</a>
<p>Each CC site utilizing Vocabulary should include the global <span class="distinct">Header</span> & <span class="distinct">Footer</span> areas at the top and bottom of the site respectively.</p>
<p>The Global Header component contains several sub-elements.</p>
<ul>
<li>main Index Project Site identity/link</li>
<li>Footer Nav Menu</li>
<li>Contact Information</li>
<li>Social Nav Menu</li>
<li>Newsletter Subscription Form</li>
<li>Donation Call-to-action button</li>
<li>License Information</li>
</ul>
<p>These sub-elements are not independent and are not meant to be used outside of the Global Footer component.</p>
<h4>Expected Contexts</h4>
<ul>
<li>The <span class="distinct">Footer</span> begins directly before the bottom <span class="distinct">script</span> includes, which appear before the closing <span class="distinct">body</span> tag, and appears only once per page, on all page levels</li>
</ul>
<pre>
<code class="lang-html">
<footer>
<a class="identity-logo" href="#">Creative Commons</a>
<nav class="footer-menu">
<ul>
<li><a href="/about/contact">Contact</a></li>
<li><a href="https://mail.creativecommons.org/subscribe" target="_blank">Newsletter</a></li>
<li><a href="/privacy">Privacy</a></li>
<li><a href="/policies">Policies</a></li>
<li><a href="/terms">Terms</a></li>
</ul>
</nav>
<div class="contact">
<!-- this area lacks a heading? -->
<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>
<p><a href="tel:+14154296753">+1-415-429-6753</a></p>
<nav class="social-menu">
<ul>
<!-- <li><a class="icon-replace fa-instagram" href="#">Instagram</a></li> -->
<li><a class="icon-replace fa-twitter" href="https://twitter.com/creativecommons" target="_blank">Twitter</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-facebook" href="https://www.facebook.com/creativecommons" target="_blank">Facebook</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" novalidate="">
<input type="email" value="" name="EMAIL" class="email input" id="mce-EMAIL" placeholder="Your email" required="">
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<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="/policies/#license">noted</a>, content on this site is licensed under a <a href="/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>
</code>
</pre>
<h3 id="attribution-list-block">Attribution List - Block</h3><a class="permalink" href="#attribution-list-block">permalink</a>
<h4>Expected Contexts</h4>
<ul>
<!-- <li><span class="distinct">Main Content Region</span> of the <span class="distinct">Home Index</span></li>
<li><span class="distinct">Main Content Region</span> of the <span class="distinct">Blog Archive</span></li> -->
<li><span class="distinct">body.home-index > main > article.authored-posts > footer > article.attribution-list</span>; on the <span class="distinct">home-index</span> page-level</li>
<li><span class="distinct">body.blog-index > main > article.attribution-list</span>; after referenced media; on the <span class="distinct">blog-index</span> page-level</li>
</ul>
<pre>
<code class="lang-html">
<article class="attribution-list">
<h2>Images Attribution</h2>
<button class="expand-attribution">view</button>
<ul class="attribution-panel">
<li>
<article>
<figure>
<img src="PATH/TO/image.png">
<span class="attribution">attribution here</span>
</figure>
</article>
</li>
...
</ul>
</article>
</code>
</pre>
<h3 id="attention-block">Attention - Block</h3><a class="permalink" href="#attention-block">permalink</a>
<h4>Expected Contexts</h4>
<ul>
<li><span class="distinct">body.* > article.attention</span>; after <span class="distinct">body > header</span>; before <span class="distinct">body > main</span>; all page-levels</li>
<li><span class="distinct">body.archive-page > aside > article.attention</span>; as last child item, only <span class="distinct">default-page</span>, <span class="distinct">archive-page</span> levels</li>
</ul>
<pre>
<code class="lang-html">
<article class="attention">
content here
</article>
</code>
</pre>
<h3 id="person-snippet-singular-block">Person Snippet - Singular - Block</h3><a class="permalink" href="#person-snippet-singular-block">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">article.persons > ul > li > article.person</span> </li>
</ul>
<pre>
<code class="lang-html">
<article class="person">
<h3><a href="#">Name Here</a></h3>
<span class="title">Position/Title here</span>
<figure>
<img src="PATH/TO/profile.jpg" />
</figure>
<p>Truncated bio here…</p>
</article>
</code>
</pre>
<h3 id="persons-snippet-plural-block">Persons Snippets - Plural - Block</h3><a class="permalink" href="#persons-snippet-plural-block">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">body.team-index main</span>, directly after <span class="distinct">main > header</span> </li>
</ul>
<pre>
<code class="lang-html">
<article class="persons">
<h2>Persons</h2>
<ul>
<li>
<article class="person">
<h3><a href="#">Name Here</a></h3>
<span class="title">Position/Title here</span>
<figure>
<img src="PATH/TO/profile.jpg" />
</figure>
<p>Truncated bio here…</p>
</article>
</li>
...
</ul>
</article>
</code>
</pre>
<h3 id="post-singular-block">Post - Singular - Block</h3><a class="permalink" href="#post-singular-block">permalink</a>
<p><span class="distinct">Post</span> components nested within a <span class="distinct">Posts</span> component can be direct children or nested within an html list element (<span class="distinct">ol/ul</span>)</p>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">main > article.post</span> </li>
<li><span class="distinct">main > article.posts > article.post</span> </li>
<li><span class="distinct">article.posts ul > li > article.post</span> </li>
</ul>
<pre>
<code class="lang-html">
<article class="post">
<header>
<h2><a href="#">Title Here</a></h2>
<span class="byline">by <a href="#">Author Name</a>, <a href="#">Author Name</a></span>
<span class="categories"><a href="#">Open Culture</a></span>
</header>
<figure>
<img src="PATH/TO/image.jpg" />
<span class="attribution">attribution here</span>
</figure>
<p>truncated teaser excerpt </p>
</article>
</code>
</pre>
<h3 id="posts-plural-block">Posts - Plural - Block</h3><a class="permalink" href="#posts-plural-block">permalink</a>
<p><span class="distinct">Posts</span> components support a pseudo-semantic variant class of <span class="distinct">featured</span> or <span class="distinct">related</span>. This helps further describe what they are more specifically, but allows a semantic-ish target for their change in behavior or provided sub-elements. </p>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">main > article.posts</span>, directly after the <span class="distinct">main > header</span> </li>
<li><span class="distinct">body.blog-index > main > article.posts.featured</span>, directly after the <span class="distinct">main > header</span> </li>
<li><span class="distinct">body.blog-index > main > article.posts</span>, directly after the <span class="distinct">main > article.posts.featured</span> </li>
<li><span class="distinct">body.archive-page > main > article.posts</span>, directly after the <span class="distinct">main > aside</span> </li>
<li><span class="distinct">body.person-page > main > article.posts</span>, directly after the <span class="distinct">main > header</span> </li>
<li><span class="distinct">body.blog-post > main > article.posts.related</span>, as the last child of <span class="distinct">body > main</span> </li>
</ul>
<pre>
<code class="lang-html">
<article class="posts">
<h2>Title Here</h2>
<article class="story">
<header>
<h3><a href="#">Title Here</a></h3>
<span class="byline">by <a href="#">Author Name</a>, <a href="#">Author Name</a></span>
<span class="categories"><a href="#">Open Culture</a></span>
</header>
<figure>
<img src="PATH/TO/image.jpg" />
<span class="attribution">attribution here</span>
</figure>
<p>truncated teaser excerpt </p>
</article>
<footer> <!-- optional footer -->
<a class="more" href="#">more posts</a>
<article class="attribution-list">
...
</article>
</footer>
</article>
</code>
</pre>
<h3 id="pagination-nav">Pagination - Nav</h3><a class="permalink" href="#pagination-nav">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">body.archive-page > main > nav.pagination</span>, as the last child of <span class="distinct">body > main</span> </li>
<li><span class="distinct">body.person-page > main > nav.pagination</span>, as the last child of <span class="distinct">body > main</span> </li>
<li><span class="distinct">body.search-index > main > nav.pagination</span>, as the last child of <span class="distinct">body > main</span> </li>
</ul>
<pre>
<code class="lang-html">
<nav class="pagination">
<ol>
<li class="current"><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li>…</li>
<li><a href="#">527</a></li>
<!-- <li><a href="#"><</a></li> -->
<li><a href="#">></a></li>
</ol>
</nav>
</code>
</pre>
<h3 id="opening-summary-block">Opening Summary - Block</h3><a class="permalink" href="#opening-summary-block">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">body.blog-post > main > aside.opening</span>; optionally after <span class="distinct">main > header</span></li>
</ul>
<pre>
<code class="lang-html">
<aside class="opening">
<p>content here</p>
</aside>
</code>
</pre>
<h3 id="closing-summary-block">Closing Summary - Block</h3><a class="permalink" href="#closing-summary-block">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">body.blog-post > main > aside.closing</span>; optionally before <span class="distinct">main > span.pub-date</span></li>
</ul>
<pre>
<code class="lang-html">
<aside class="closing">
<p>content here</p>
</aside>
</code>
</pre>
<h3 id="tags-listing-block">Tags listing - Block</h3><a class="permalink" href="#tags-listing-block">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">body.blog-post > main > article.tags</span>; optionally after <span class="distinct">main > span.pubdate</span></li>
</ul>
<pre>
<code class="lang-html">
<article class="tags">
<h2>Tags</h2>
<ul>
<li><a href="#">open culture</a></li>
...
</ul>
</article>
</code>
</pre>
<h3 id="sidebar-region">Sidebar - Region</h3><a class="permalink" href="#sidebar-region">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">body > aside</span>; optionally after <span class="distinct">main > header</span></li>
<li><span class="distinct">body.archive-page > aside</span>, after <span class="distinct">main > header</span></li>
</ul>
<pre>
<code class="lang-html">
<aside>
contents here
</aside>
</code>
</pre>
<h3 id="filter-menu-nav">Filter Menu - Nav</h3><a class="permalink" href="#filter-menu-nav">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">body.archive-page > aside > nav.filter-menu</span></li>
</ul>
<pre>
<code class="lang-html">
<nav class="filter-menu">
<h2>Categories</h2>
<ul>
<li><a href="#">All posts</a></li>
<li class="current"><a href="#">Open Culture</a></li>
<li><a href="#">Open Knowledge</a></li>
</ul>
</nav>
</code>
</pre>
<h3 id="general-menu-nav">General Menu - Nav</h3><a class="permalink" href="#general-menu-nav">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">body.archive-page > aside > nav</span></li>
</ul>
<pre>
<code class="lang-html">
<nav>
<h2>Related Links</h2>
<ul>
<li><a href="#">All posts</a></li>
<li><a href="#">Open Culture</a></li>
<li><a href="#">Open Knowledge</a></li>
</ul>
</nav>
</code>
</pre>
<h3 id="data-points-singular-block">Data Points - Singular - Block</h3><a class="permalink" href="#data-points-singular-block">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">article.case-studies > ul > li > article-data-point</span></li>
</ul>
<pre>
<code class="lang-html">
<article class="data-point">
<h2>Title</h2>
<h3 class="stat">55+ million articles</h3>
<p>Descriptive text here</p>
</article>
</code>
</pre>
<h3 id="data-points-plural-supporting-block">Data Points - Plural - Supporting Block</h3><a class="permalink" href="#data-points-plural-supporting-block">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">article.case-studies > footer > article.data-points</span></li>
</ul>
<pre>
<code class="lang-html">
<article class="data-points supporting">
<ul>
<li>
<article class="data-point">
<h2>Title</h2>
<h3 class="stat">55+ million articles</h3>
<p>Descriptive text here</p>
</article>
</li>
...
</ul>
</article>
</code>
</pre>
<h3 id="case-studies-block">Case Studies - Block</h3><a class="permalink" href="#case-studies-block">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">body.home-index > main > article.case-studies</span></li>
</ul>
<pre>
<code class="lang-html">
<article class="case-studies">
<h2>Title here</h2>
<p>Descriptive text</p>
<ul>
<li>
<figure>
<img src="PATH/TO/home.jpg" />
<span class="attribution">attribution here</span>
</figure>
</li>
...
</ul>
<footer>
<article class="data-points supporting">
<ul>
<li>
<article class="data-point">
<h2>Title</h2>
<h3 class="stat">55+ million articles</h3>
<p>Descriptive text here</p>
</article>
</li>
...
</ul>
</article>
</footer>
</article>
</code>
</pre>
<h3 id="search-form-block">Search Form - Block</h3><a class="permalink" href="#search-form-block">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">body.search-index > main > header</span>; directly after the <span class="distinct">main > header > h1</span></span></li>
</ul>
<pre>
<code class="lang-html">
<article class="search-form">
<form role="search" method="get" class="search-form" action="https://creativecommons.org/">
<input type="search" class="search-field" placeholder="Search for..." value="" name="s" title="Search">
<button type="submit" value="Search">Search</button>
</form>
</article>
</code>
</pre>
<h3 id="topic-summary-block">Topic Summary - Block</h3><a class="permalink" href="#topic-summary-block">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">body.home-index > main > article.topic-summary</span></li>
</ul>
<pre>
<code class="lang-html">
<article class="topic-summary">
<h2>Title</h2>
<figure>
iframe or img here
<span class="attribution">attribution here.</span>
</figure>
<div class="description">
<p>Descriptive text here</p>
<a href="#">Learn more</a>
</div>
</article>
</code>
</pre>
<h3 id="page-header-region">Page Header - Region</h3><a class="permalink" href="#page-header-region">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">body > main > header</span></li>
<li><span class="distinct">body.archive-page > main > header</span></li>
<li><span class="distinct">body.blog-index > main > header</span></li>
<li><span class="distinct">body.blog-post > main > header</span></li>
<li><span class="distinct">body.search-index > main > header</span></li>
<li><span class="distinct">body.team-index > main > header</span></li>
</ul>
<pre>
<code class="lang-html">
<header>
<h1>Title Here</h1>
<span class="byline">by <a href="#">Name Here</a>, <a href="#">Name Here</a></span>
<p>lead in paragraph</p> <!-- optional -->
<span class="categories"> <!-- optional -->
<a href="#">Open Culture</a>
</span>
</header>
</code>
</pre>
<h3 id="person-header-region">Person Header - Region</h3><a class="permalink" href="#person-header-region">permalink</a>
<h4>Expected Contexts</h3>
<ul>
<li><span class="distinct">body.person-page > main > header</span></li>
</ul>
<pre>
<code class="lang-html">
<header>
<h1>Name</h1>
<span class="title">position/title here</span>
<span class="pronouns">pronouns optionally here</span>
<figure>
<img src="PATH/TO/profile.jpg" />
<span class="attribution">attribution here</span>
</figure>
<div class="bio">
<p>Bio here</p>
</div>
</header>
</code>
</pre>