Saved: 2018-07-02 16:43

Torey Heinz committed Jul 02, 2018
commit d81b7bd9a2c1942065c53f52840a7c079e946911
Showing 3 changed files with 4 additions and 5 deletions
app/content_types/industry_links.yml +2 -2
@@ @@ -36,7 +36,7 @@ order_by: manually
# entry_template: '<a href="{{ link }}">{{ entry._label }}</a>' # The default template
# A list describing each field
- fields:
+ fields:
- title: # The lowercase, underscored name of the field
label: Title # Human readable name of the field
type: string
@@ @@ -46,7 +46,7 @@ fields:
- url: # The lowercase, underscored name of the field
label: Url # Human readable name of the field
- type: text
+ type: string
required: false
hint: Explanatory text displayed in the back office
localized: false
app/views/pages/industry-links.liquid +1 -2
@@ @@ -27,12 +27,11 @@ editable_elements:
</div>
{% endif %}
{% editable_text "content" %}Hola!{% endeditable_text %}
- <p>foo</p>
<div class="row small-up-2 medium-up-3">
{% for link in contents.industry_links %}
<div class="column column-block clickable" data-url="{{ link.url }}">
<div class="card text-center">
- <img src="{{ link.logo.url | resize: '400x300#', optimize: 80 }}">
+ <img class="thumbnail" alt="{{ link.title }}" src="{{ link.logo.url | resize: '400x300', optimize: 80 }}">
<p>
<a href="{{ link.url }}">{{ link.title }}</a>
</p>
app/views/pages/layouts/default.liquid +1 -1
@@ @@ -77,7 +77,7 @@ is_layout: true
</div>
</div>
<footer class="row collapse">
- <small>Copyright ©{{ 'now' | date: "%Y" }} VS America. All rights reserved. VS America is a subsidiary of <a href="https://www.vsguss.de/en/">VS Guss<a></small>
+ <small>Copyright ©{{ 'now' | date: "%Y" }} VS America. All rights reserved. VS America is a subsidiary of <a href="https://www.vsguss.de/en/">VS GmbH &amp; Co KG<a></small>
</footer>
</div>
<script src="https://code.jquery.com/jquery-2.2.3.min.js" integrity="sha256-a23g1Nt4dtEYOj7bR+vTu7+T8VP13humZFBJNIYoEJo=" crossorigin="anonymous"></script>