move hero images to their own folder, and add config for setting the hero
This commit is contained in:
parent
316f823b61
commit
d9293ededa
4 changed files with 4 additions and 2 deletions
|
|
@ -3,6 +3,7 @@ email: justin@adafruit.com
|
|||
description: >-
|
||||
The easiest way to program microcontrollers
|
||||
site_image: "https://circuitpython.org/assets/images/CircuitPythonLogo_Black.png"
|
||||
hero_image: CircuitPython_Hero.jpg
|
||||
timezone: America/New_York
|
||||
twitter_username: circuitpython
|
||||
github_username: adafruit
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 174 KiB After Width: | Height: | Size: 174 KiB |
|
|
@ -6,8 +6,9 @@ layout: home
|
|||
<div class="headline-banner">
|
||||
<div class="img-overlay"></div>
|
||||
<img class="image-headline" alt="hero image"
|
||||
src="{{ "assets/images/CircuitPython_Hero.jpg" |
|
||||
relative_url }}"
|
||||
src="{{ "assets/images/heroes/" |
|
||||
append: site.hero_image |
|
||||
relative_url }}"
|
||||
/>
|
||||
<div class="text">
|
||||
<div class="title"><span>The easiest way to program microcontrollers</span></div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue