|
1 | 1 | ---
|
2 | 2 | layout: default
|
3 | 3 | ---
|
4 |
| -<div id="download-page"> |
5 |
| - <h1>{{ page.name }}</h1> |
6 |
| - <h3>by {{ page.manufacturer }}</h3> |
7 | 4 |
|
| 5 | +<div id="download-page"> |
8 | 6 | <div class="download-section">
|
9 |
| - <div class="details"> |
| 7 | + <div> |
| 8 | + <div class="image-section"> |
| 9 | + {% assign large_image = "/assets/images/boards/large/" | append: |
| 10 | + page.board_image %} |
| 11 | + <img src="{{ large_image | relative_url }}" alt="Image of Board" /> |
| 12 | + <h1>{{ page.name }} by {{ page.manufacturer }}</h1> |
| 13 | + </div> |
10 | 14 | <div class="section">
|
11 |
| - {% assign large_image = "/assets/images/boards/large/" | append: page.board_image %} |
12 |
| - <img src="{{ large_image | relative_url }}" alt="Image of Board"> |
| 15 | + <p>{{ content }}</p> |
| 16 | + <h2>Contribute</h2> |
13 | 17 | <p>
|
14 |
| - {{ content }} |
| 18 | + Have some info to add for this board? Edit the source for this page |
| 19 | + <a |
| 20 | + href="https://github.com/adafruit/circuitpython-org/edit/main/{{ page.path }}" |
| 21 | + >here</a |
| 22 | + >. |
15 | 23 | </p>
|
16 |
| - <h2>Contribute</h2> |
17 |
| - <p>Have some info to add for this board? Edit the source for this page <a href="https://github.com/adafruit/circuitpython-org/edit/main/{{ page.path }}">here</a>.</p> |
18 | 24 | </div>
|
19 | 25 | </div>
|
20 | 26 | <div class="download">
|
21 |
| - {% if page.blinka == true %} |
22 |
| - {% include download/blinka.html %} |
23 |
| - {% else %} |
24 |
| - {% include download/board.html %} |
25 |
| - {% endif %} |
| 27 | + {% if page.blinka == true %} {% include download/blinka.html %} {% else %} |
| 28 | + {% include download/board.html %} {% endif %} |
26 | 29 | </div>
|
27 | 30 | </div>
|
28 | 31 | </div>
|
29 | 32 |
|
30 |
| -{% if page.family == 'esp32' or page.family == 'esp32s2' or page.family == 'esp32c3' or page.family == 'esp32s3' or page.family == 'esp32c6' %} |
31 |
| -<script src=" https://cdn.jsdelivr.net/gh/adafruit/[email protected]/dist/cpinstaller.min.js" type=" module" ></script> |
| 33 | +{% if page.family == 'esp32' or page.family == 'esp32s2' or page.family == |
| 34 | +'esp32c3' or page.family == 'esp32s3' or page.family == 'esp32c6' %} |
| 35 | +<script |
| 36 | + src=" https://cdn.jsdelivr.net/gh/adafruit/[email protected]/dist/cpinstaller.min.js" |
| 37 | + type="module" |
| 38 | +></script> |
32 | 39 | <!--<script src="/assets/javascript/installer/cpinstaller.js" type="module"></script>-->
|
33 | 40 | {% endif %}
|
34 | 41 | <script src="/assets/javascript/download.js"></script>
|
0 commit comments