djplaner / garden

https://sandysgardening.com.au
GNU General Public License v3.0
0 stars 0 forks source link

How to

Install Jekyll (once off)

Run the site locally for testing

Related example sites

Responsive images

Tag size w Description
xl > 1200px 1200w Extra large desktop
lg 992px - 1200px 900w Large desktop
md 600 600w Tablet
sm 300 300w Mobile

Rainbow

filename w
rainbow-hero.jpg 1200
rainbow-hero-lg.jpg 900
rainbow-hero-md.jpg 600
rainbow-hero-sm.jpg 300

<img 
  src="https://github.com/djplaner/garden/raw/main/images/{{ page.hero_image }}"
  srcset="images/{{ page.hero_image }}-sm.jpg 300w,
    images/{{ page.hero_image }}-md.jpg 900w,
    images/{{ page.hero_image }}-lg.jpg 900w,
    images/{{ page.hero_image }}-xl.jpg 1200w"
  sizes="(max-width: 640px) 100vw,
    (max-width: 960px) 80vw,
    60vw" 
  alt="{{ page.hero_alt }}">

How to

Collections pages - background image

Collections pages are the second level pages that contain a collection of items. For example, the Gardening page contains a collection of gardening services. The visual design of these pages is to have

For the image to work you need to

For example,

To do

General design

Home Page

Gardening

Design

Projects

About

- [x] rewrite - remove business name
- [x] add links to web pages
- [x] not so much "full and"
- [ ] Move "locations and services" to other places? Perhaps implement as an include

    - Contact 
    - Design and gardening services (perhaps these each need to provide some detail)

Contact