*Theme
To run project locally execute:
$ bundle exec jekyll serve
After that website could be acessed via URL http://127.0.0.1:4000/
Refers to files within the _layouts directory, that define the markup for website.
default.html— The base layout that lays the foundation for subsequent layouts. The derived layouts inject their contents into this file at the line that says{{ content }}.home.html— The layout for your landing-page / home-page / index-page. [More Info.]page.html— The layout for your documents that contain FrontMatter, but are not posts.post.html— The layout for your posts.contact.html— Custom layout for contacts page.404.html— The layout for 404.
Refers to modules within the _includes directory that can be inserted in multiple layouts across website.
-
footer.liquid— Defines the site's footer section. -
head.liquid— Code-block that defines the<head></head>in default layout. -
header.liquid— Defines the site's main header section. -
about-us.liquid— About Us on homepage. Attributes:title,heading,subheading,image,button,url -
blog.liquid— Blog module -
boxes.liquid— Default module to show boxed sections like 'FUTURE LANDSCAPES'.datasets a path to.ymlarray inside_data. Other attributes:heading,subheading. Columns number could be changed incols. -
breadcrumbs.liquid— Breadcrumbs module that included in heading module. -
contact-us.liquid— Contact Us form. -
continents.liquid— 'OTHER CONTINENTS' module from Europe/Oceania pages. Array of continents is stored in_data/continents.yml.headingcould be customized in attributes.excludesets continent to exclude from list (current continent). -
contribute.liquid— 'HOW TO CONTRIBUTE' section from homepage. Attributes:title,heading,subheading,image,button,url -
countries.liquid— Countries section from Europe/Oceania pages.datapoints to an array of countries. Example:_data/europe/countries.yml. -
get-in-touch.liquid— 'GET IN TOUCH' section which automatically included inpagelayout. Attributes:heading,subheading,button,url -
heading.liquid— Page heading which automatically included inpagelayout and could be customized in general oage settings. Attributes:heading,subtitle,background,image,alt,nobuttons,button1,button1_url,button2,button2_url -
index.liquid— Homepage heading which automatically included inhomelayout and could be customized in general oage settings. Attributes:smalltitle,title,subtitle,image,nobuttons,button1,button1_url,button2,button2_url -
organisations.liquid— 'ORGANISATIONS' module from About page. Array of organisations is stored in_data/organisations.yml.headingandallcould be customized in attributes. -
our-blog.liquid— 'OUR BLOG' module from About page.heading,title,all,urlcould be customized in attributes. -
our-events.liquid— 'OUR EVENTS' module from About page.heading,title,all,urlcould be customized in attributes. -
our-vision.liquid— 'OUR VISION' section from About page. Attributes:heading,subheading,image,alt
Array-like data is stored in _data folder and used for arrayed data by many modules.
Refers to various asset files within the assets directory.
assets/css/style.scss— Imports sass files from within the_sassdirectory and gets processed into the theme's stylesheet:_site/assets/css/styles.css.assets/fonts/*.*— local fonts.assets/img/*.*— site images.assets/js/*.*— javascript.
Those parameters are typical for all pages.
$ ---
$ layout: page
$ title: About
$ permalink: /about/
$ ---
layout:sets layout for current pagetitle:Page title which is used in<title>and inheading.liquidmodule.permalink:sets final URL for current page (overrides default placement)
Customisation of headings inside layouts _layout/home.html and typical _layout/page.html is suported in general page settings.
$ ---
$ heading: Europe
$ subtitle: "We aim to capture the state and dynamics of Europe’s landscape."
$ background: "#07073f"
$ image: "/assets/img/heading/europe.jpg"
$ nobuttons: true
$ ---
heading:— sets page heading inheading.liquidmodule. If not settetleis used.subtitle:— sets small subheading inheading.liquidbackground:— sets background color forheading.liquidimage:— URL for image on background ofheading.liquidnobuttons: true/false— turns on/off buttons inheading.liquidbutton1, button2:— Buttons text inheading.liquidbutton1_url, button2_url:— Buttons URL's inheading.liquidnocontact: true/false— hides/showsget-in-touch.liquidmodule at the bottom.
This page uses default _layout/home.html layout.
Page heading settings are set in General settings at the top of page.
This page uses modules below with attibutes:
- Search for Landscapes (
search-landscapes.liquid) - Array of countries is stored in_data/continents.yml.headingcould be set as attribute. - Future Landscapes (
boxes.liquid) - Array of landscapes is fetched from in_data/future/index.yml.headingcould be set as attribute. - About Us (
about-us.liquid) -title,heading,subheadingandimagecould be customized in attributes.buttonandurlare button settings. - Past & Present Landscapes (
tools.liquid) - Array of landscapes is stored in_data/past-present/index.yml.headingandsubheadingcould be customized in attributes.allsets URL for 'View All' button. - Tools (
tools.liquid) - Array of tools is stored in_data/tools.yml.headingandsubheadingcould be customized in attributes. - Contribute (
contribute.liquid) -title,heading,subheadingandimagecould be customized in attributes.buttonandurlare button settings. - Our Blog
our-blog.liquid- Fetches latest blog posts.heading,title,all,urlcould be customized.
This page uses default _layout/page.html layout.
Page heading settings are set in General settings at the top of page.
This page uses modules below with attibutes:
- Future Landscapes (
boxes.liquid) - Array of landscapes is fetched from in_data/future/index.yml.headingandsubheadingcould be set as attribute.
This page uses default _layout/page.html layout.
Page heading settings are set in General settings at the top of page.
This page uses modules below with attibutes:
- Tools (
tools.liquid) - Array of tools is stored in_data/tools.yml.headingandsubheadingcould be customized in attributes.
This page uses default _layout/page.html layout.
Page heading settings are set in General settings at the top of page.
This page uses modules below with attibutes:
- Countries (
countries.liquid) - Array of countries is stored in_data/europe/countries.yml. - Other Continents (
continents.liquid) - Array of continents is stored in_data/continents.yml.headingcould be customized in attributes.excludesets continent to exclude from list (current continent).
This page uses default _layout/page.html layout.
Page heading settings are set in General settings at the top of page.
This page uses modules below with attibutes:
- Countries (
countries.liquid) - Array of countries is stored in_data/oceania/countries.yml. - Other Continents (
continents.liquid) - Array of continents is stored in_data/continents.yml.headingcould be customized in attributes.excludesets continent to exclude from list (current continent).
This page uses default _layout/page.html layout.
Page heading settings are set in General settings at the top of page.
This page uses modules below with attibutes:
- Who We Are
who-we-are.liquid-headingandsubheadingcould be set as strings,countattriblute sets big numbers (comma and semicolon separated string) - Our Vision
our-vision.liquid-heading,subheadingandimagecould be customized for this module - Living Earth
tabs.liquid- static code module - Organisations
organisations.liquid-headingset in attribute,_data/organisations.ymlstores data array of organisations - Video
video.liquid-heading,name,position,avatar,previewcould be customized as attributes. - Our Blog
our-blog.liquid- Fetches latest blog posts.heading,title,all,urlcould be customized. - Our Events
our-events.liquid- Fetches latest events from blog.heading,title,all,urlcould be customized.
This page uses _layout/contact.html as layout.
Page heading settings are set in General settings at the top of page.
- Contacts in left coulmn data could be added and customized simply using markdown markup.
- Contact form source code is in
_includes/contact-us.liquid
- This page uses
tool-earth-track-sidebar.liquid - I have a folder named
jsoncontaining various JSON files intended for data storage. Each JSON file will be the data for each corresponding tab. It will contain information about the list ofFeaturesuch as coordinates, images, and legend.It will be processed logically and displayed on the screen using thefilter-map.jsfile. - In this
filter-map.jsfile, there are two parts. The first part defines the color codes for eachFeaturein the data. The second part performs functions on the page with Leaflet library.