mirror of
https://github.com/jgthms/bulma
synced 2026-03-21 12:44:30 -07:00
Bulma v9 website (#3249)
* Add Bulma v9 * Add vendor dependencies * Fix native * Fix sponsors * Add style attribute
This commit is contained in:
15
docs/_includes/index/best-screenshot.html
Normal file
15
docs/_includes/index/best-screenshot.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% assign website = site.data.expo.by_id[include.website_id] %}
|
||||
{% assign imageName = include.website_id | slugify %}
|
||||
{% assign imagePath = "/images/expo/" | prepend: site.url | append: imageName %}
|
||||
{% assign size1x = "672x420" %}
|
||||
{% assign size2x = "1344x840" %}
|
||||
|
||||
<a class="bd-screenshot {{ include.modifier }}" href="{{ site.url }}/expo">
|
||||
<img
|
||||
src="{{ imagePath }}-{{ size1x }}.jpg"
|
||||
srcset="{{ imagePath }}-{{ size2x }}.jpg 2x,
|
||||
{{ imagePath }}-{{ size1x }}.jpg 1x"
|
||||
width="672"
|
||||
height="420"
|
||||
/>
|
||||
</a>
|
||||
Reference in New Issue
Block a user