|
14 | 14 | <article class="post"> |
15 | 15 | <div class="container-fluid"> |
16 | 16 | <div class="row"> |
17 | | - <div class="post__content col-12"> |
| 17 | + <div class="col-md-9"> |
| 18 | + <h2>{{ page.title }}</h2> |
| 19 | + <div class="infobox post__sponsor-box"> |
| 20 | + <a href="{{ sponsor.link }}"> |
| 21 | + <img class="post__sponsor-img" |
| 22 | + src="{{ site.baseurl }}/{{ sponsor.logo }}" |
| 23 | + alt="Sponsor logo"> |
| 24 | + </a> |
| 25 | + <p>Thanks to <a href="{{ sponsor.link }}">{{ sponsor.name }}</a> for hosting this event!</p> |
| 26 | + <p>{{ sponsor.content }}</p> |
| 27 | + </div> |
| 28 | + <p>{{ page.content }}</p> |
| 29 | + |
| 30 | + <hr/> |
| 31 | + |
18 | 32 | {% if project.logo %} |
19 | 33 | <img class="post__project-logo" src="{{ site.baseurl }}/{{ project.logo }}"> |
20 | 34 | {% endif %} |
21 | | - </div> |
22 | | - </div> |
23 | | - <div class="row"> |
24 | | - <div class="post__content col-md-8"> |
25 | | - <h1 class="post__content-title">{{ page.title }}</h1> |
26 | | - <h2 class="post__title">Level: {{ page.level }}</h2> |
27 | | - <hr> |
28 | | - <p class="post__paragraph">{{ project.content }}</p> |
29 | | - <p class="post_paragraph">More information about {{ project.name }}: <a href="{{ project.website }}">{{ project.website }}</a></p> |
30 | | - <p class="post__paragraph">{{ page.content }}</p> |
31 | | - <hr> |
| 35 | + <p>{{ project.content }}</p> |
| 36 | + <p>More information about {{ project.name }}: <a href="{{ project.website }}">{{ project.website }}</a></p> |
32 | 37 | {% if project.setup_html %} |
33 | | - <h2 class="post__address-title">Set up instructions</h2> |
| 38 | + <h3>Set up instructions</h3> |
34 | 39 | {{ project.setup_html }} |
35 | 40 | {% endif %} |
36 | 41 | </div> |
37 | | - <div class="post__info col-md-4"> |
38 | | - <h1 class="post__content-title">Location</h1> |
39 | | - <p class="post__address-title">{{ sponsor.name }}</p> |
40 | | - <a class="post__sponsor-container post__sponsor-link" href="{{ host_sponsor.link }}"> |
41 | | - <img class="post__sponsor-img" |
42 | | - src="{{ site.baseurl }}/{{ sponsor.logo }}" |
43 | | - alt="Sponsor logo"> |
44 | | - </a> |
45 | | - <p class="post__address">{{ page.date | date: "%e %B %Y" }}, {{ page.time }}</p> |
46 | | - <p class="post__address">{{ sponsor.address }}</p> |
47 | | - <div id="chapters__map"></div> |
48 | | - {% comment %} |
49 | | - Create a javascript variable for use in the function adding map markers. |
50 | | - {% endcomment %} |
51 | | - {% assign locations = "" | split: ',' %} |
52 | | - {% assign location = page %} |
53 | | - {% assign locations = locations | push: location %} |
54 | | - {% include locations_variable_generator.html locations_array = locations %} |
55 | | - <script async defer |
56 | | - src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB0NCzoIqGkYFdpRl-LmgWTKpxPBkqxxO0&callback=initMap"> |
57 | | - </script> |
| 42 | + <div class="col-md-3"> |
| 43 | + <div class="infobox"> |
| 44 | + <h3>Information</h3> |
| 45 | + <hr/> |
| 46 | + <p><b>RSVP:</b> <a href="{{ page.rsvp_link }}">Click here</a></p> |
| 47 | + <p><b>Level:</b> {{ page.level }}</p> |
| 48 | + <p><b>Date:</b> {{ page.date | date: "%e %B %Y" }}</p> |
| 49 | + <p><b>Time:</b> {{ page.time }}</p> |
| 50 | + <p> |
| 51 | + <b>Address:</b><br/> |
| 52 | + {{ sponsor.name }}<br/> |
| 53 | + {{ sponsor.address }} |
| 54 | + <div id="chapters__map"></div> |
| 55 | + {% comment %} |
| 56 | + Create a javascript variable for use in the function adding map markers. |
| 57 | + {% endcomment %} |
| 58 | + {% assign locations = "" | split: ',' %} |
| 59 | + {% assign location = page %} |
| 60 | + {% assign locations = locations | push: location %} |
| 61 | + {% include locations_variable_generator.html locations_array = locations %} |
| 62 | + <script async defer |
| 63 | + src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB0NCzoIqGkYFdpRl-LmgWTKpxPBkqxxO0&callback=initMap"> |
| 64 | + </script> |
| 65 | + </p> |
| 66 | + </div> |
58 | 67 | </div> |
59 | 68 | </div> |
60 | 69 | </div> |
|
0 commit comments