mirror of
https://github.com/netz39/www.netz39.de.git
synced 2025-01-19 12:20:12 +01:00
31 lines
955 B
Text
31 lines
955 B
Text
|
---
|
||
|
layout: default
|
||
|
---
|
||
|
|
||
|
<div class="home">
|
||
|
<style scoped>
|
||
|
{% assign image = site.header_feature_image | relative_url | split: '.' %}
|
||
|
.call-out_img {
|
||
|
background-image: url('{{ image | join: '.' }}');
|
||
|
}
|
||
|
{% if site.header_feature_image_responsive %}
|
||
|
@media screen and (max-width: 768px) {
|
||
|
.call-out_img {
|
||
|
background-image: url('{{ image[0] | append: '-medium.' | append: image[1] | default: image}}');
|
||
|
}
|
||
|
}
|
||
|
@media screen and (max-width: 576px) {
|
||
|
.call-out_img {
|
||
|
background-image: url('{{ image[0] | append: '-small.' | append: image[1] }}');
|
||
|
}
|
||
|
}
|
||
|
{% endif %}
|
||
|
</style>
|
||
|
<div id="main" class="call-out call-out_img">
|
||
|
<h1> {{ site.header_text | default: "Change <code>header_text</code> in <code>_config.yml</code>"}} </h1>
|
||
|
</div>
|
||
|
|
||
|
{% include blog/blog.liquid %}
|
||
|
|
||
|
</div>
|