|
2 | 2 | <html>
|
3 | 3 | <head>
|
4 | 4 | {% include head.html %}
|
5 |
| - <script src="{{ '/assets/js/distill.js' | prepend: site.baseurl | prepend: site.url }}"></script> |
| 5 | + <script src="{{ '/assets/js/distillpub/template.v2.js' | relative_url }}"></script> |
| 6 | + <script src="{{ '/assets/js/distillpub/transforms.v2.js' | relative_url }}"></script> |
| 7 | + {% if page._styles %} |
| 8 | + <style type="text/css"> |
| 9 | + {{ page._styles }} |
| 10 | + </style> |
| 11 | + {% endif %} |
6 | 12 | </head>
|
7 | 13 |
|
8 | 14 | <d-front-matter>
|
|
14 | 20 | {% for author in page.authors %}
|
15 | 21 | {
|
16 | 22 | "author": "{{ author.name }}",
|
17 |
| - "authorURL": "{{ author.url }}" |
18 |
| - }{% if forloop.last == false %},{% endif %} |
19 |
| - {% endfor %} |
20 |
| - ], |
21 |
| - "editors": [ |
22 |
| - {% for editor in page.editors %} |
23 |
| - { |
24 |
| - "editor": "{{ editor.name }}", |
25 |
| - "editorURL": "{{ editor.url }}" |
| 23 | + "authorURL": "{{ author.url }}", |
| 24 | + "affiliations": [ |
| 25 | + { |
| 26 | + "name": "{{ author.affiliations.name }}", |
| 27 | + "url": "{{ author.affiliations.url }}" |
| 28 | + } |
| 29 | + ] |
26 | 30 | }{% if forloop.last == false %},{% endif %}
|
27 | 31 | {% endfor %}
|
28 | 32 | ],
|
|
43 | 47 | }</script>
|
44 | 48 | </d-front-matter>
|
45 | 49 |
|
46 |
| - <body> |
| 50 | + <body class="{% if site.navbar_fixed %}fixed-top-nav{% endif %} {% unless site.footer_fixed %}sticky-bottom-footer{% endunless %}"> |
| 51 | + |
| 52 | + <!-- Header --> |
47 | 53 |
|
48 | 54 | {% include header.html %}
|
49 | 55 |
|
| 56 | + <!-- Content --> |
| 57 | + |
| 58 | + <div class="container-fluid mt-5"> |
50 | 59 |
|
51 |
| - <div class="page-content"> |
| 60 | + <div class="post distill"> |
52 | 61 |
|
53 |
| - <d-title> |
54 |
| - <h1>{{ page.title }}</h1> |
55 |
| - <p>{{ page.description }}</p> |
56 |
| - </d-title> |
| 62 | + <d-title> |
| 63 | + <h1>{{ page.title }}</h1> |
| 64 | + <p>{{ page.description }}</p> |
| 65 | + </d-title> |
57 | 66 |
|
58 |
| - <d-byline></d-byline> |
| 67 | + <d-byline></d-byline> |
59 | 68 |
|
60 |
| - <d-article> |
61 |
| - {{ content }} |
62 |
| - </d-article> |
| 69 | + <d-article> |
| 70 | + {{ content }} |
| 71 | + </d-article> |
63 | 72 |
|
64 |
| - <d-appendix> |
65 |
| - <d-footnote-list></d-footnote-list> |
66 |
| - <d-citation-list></d-citation-list> |
67 |
| - </d-appendix> |
| 73 | + <d-appendix> |
| 74 | + <d-footnote-list></d-footnote-list> |
| 75 | + <d-citation-list></d-citation-list> |
| 76 | + </d-appendix> |
| 77 | + |
| 78 | + </div> |
68 | 79 |
|
69 | 80 | </div>
|
70 | 81 |
|
| 82 | + <!-- Footer --> |
| 83 | + |
71 | 84 | {% include footer.html %}
|
72 | 85 |
|
73 | 86 | </body>
|
74 | 87 |
|
75 | 88 | {% include hemline.html %}
|
76 | 89 |
|
77 |
| - <d-bibliography src="{{ page.bibliography | prepend: '/assets/distill/' | prepend: site.baseurl | prepend: site.url }}"> |
| 90 | + <d-bibliography src="{{ page.bibliography | prepend: '/assets/bibliography/' | relative_url }}"> |
78 | 91 | </d-bibliography>
|
79 | 92 |
|
80 | 93 | </html>
|
0 commit comments