Skip to content

Instantly share code, notes, and snippets.

@DonKoko
Last active May 27, 2016 14:22
Show Gist options
  • Save DonKoko/c01ae333615228b35de5a41dba424bd5 to your computer and use it in GitHub Desktop.
Save DonKoko/c01ae333615228b35de5a41dba424bd5 to your computer and use it in GitHub Desktop.
{% link_to 'home' %}
<img src="{{ site.metafields.theme.logo_black }}"
data-src-retina="{{ site.metafields.theme.logo_black_retina }}"
class="logo"
width="152" height="21" alt="">
{% endlink_to %}
{% link_to 'home' %}
<img src="{{ site.metafields.theme.logo_white }}"
data-src-retina="{{ site.metafields.theme.logo_white_retina }}"
class="alt"
width="152" height="21" alt="">
{% endlink_to %}
office:
position: 0
label:
default: "Office"
fields:
address:
label: "Address"
hint: "Ex: 7 allee Albert Camus"
type: string
postcode:
label: "Postcode"
hint: "Digits only"
type: string
city:
label: "Stad"
hint: "Chicago, Paris, Blagnac, Toulouse"
type: string
country:
label: "Land"
type: string
hint: "The Netherlands"
theme:
position: 1
label:
default: "Theme"
fields:
logo_white:
label: 'Site logo'
type: image
hint: 'Change your Site logo (50px by 50px). Automatically cropped'
logo_white_retina:
label: 'Site logo for retina'
type: image
hint: 'Change your Site logo (100px by 100px). Automatically cropped'
logo_black:
label: 'Site logo'
type: image
hint: 'Change your Site logo (50px by 50px). Automatically cropped'
logo_black_retina:
label: 'Site logo for retina'
type: image
hint: 'Change your Site logo (100px by 100px). Automatically cropped'
name: "Ondernemers Kontakt Arnhem"
locales: [nl]
domains: []
timezone: "UTC"
seo_title:
meta_keywords:
meta_description:
...
metafields:
office:
address: 'Tivolilaan 205'
postcode: '6824 BV'
city: 'Arnhem'
country: 'The Netherlands'
theme:
logo_white: '/samples/logo_black.png'
logo_white_retina: '/samples/logo_black_2x.png'
logo_black: '/samples/logo_black.png'
logo_black_retina: '/samples/logo_black_2x.png'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment