Jekyll is a Ruby Gem that can be installed on most systems. installation manual
jekyll serve
Local URL: localhost:4000
Styling is powered with Sass, a preprocessor scripting language that is interpreted or compiled into Cascading Style Sheets (CSS).
Style files are located in the assets/_sass folder. You don't need to run any additional command to compile, it does it automatically with jekyll serve
Along with SASS, the CSS styles are based on BEM terminology.
the plugins used can be found in the Gemfile
file, under group :jekyll_plugins do
(except from Compress who is used as a layout). If any, you can change the plugins settings in _config.yml
.
This plugin provides simple autoprefixer support for Jekyll. Documentation
Used for the built-in support of Sass. Documentation
A Jekyll layout that compresses HTML. Documentation
SVG optimizer and inliner for jekyll. Documentation
The deployment process is run throught Netlify.
Environment | Branch | URL |
---|---|---|
Staging | staging | beta.appliedblockchain.com |
Production | master | appliedblockchain.com |
Even small text changes can have a graphical impact on the look of the website. Carefully check any changes you make on the content.
<section class="section">
{% include containers/sections/header.html
title = ''
subtitle = ''
body = ''
%}
<div class="section__content">
<!-- add your code -->
</div>
</section>
<!-- repeat section if needed -->
Class | Description |
---|---|
section--alt |
Divide left and right padding by two |
section--full |
Fullwidth section |
section--overlap |
Add a negative margin top to the section to make them overlap |
Change the background color of a section (default is white) using section--primary
, section--dark
or section--grey
.
The components are located in the _include
folder. They were created to ensure that every iteration has the same structure, and that it will be easy to edit it. Each of them has a set of attributes.
if you want one attribute not to appear, delete the line
{% include containers/sections/header.html
comment = 'Lorem ipsum'
title = 'Section title'
subtitle = 'Section subitle'
description = 'Lorem ipsum dolor sit amet.'
%}
The website uses a bootstrap like column system. It as based on a twelve column structure. You can add prefixes to the number to set up the responsive behaviour of each column.
<div class="row">
<div class="col--lg3 col--md4"></div>
<div class="col--lg7 col--md8"></div>
<div class="col--lg2 col--md12"></div>
</div>
layout: default # do not change title: # this will appear as the page header and the html header in the browser tab headline: # [optional] overrides the page header subtitle: # [optional] background_color: white # do not change
- Start coding your HTML content below this snippet.
<!------------------------------------------------------>
<p> </p>
<!------------------------------------------------------>
## Create project
- In the `_projects` folder, create a new .md file.
- Name it with a slugified version of the client name (e.g. Lloyd's register becomes `lloyd-s-register.md`).
- Copy/paste the code below and fill it accordingly.
```yml
---
layout: project # do not change
order: # number, specify the order it will appear on the projects page
case_study: true # add if the project has a standalone page
title: # company name
subtitle: # short project/deliverable description
industry:
summary: # longer description of the company/project
link: # [optionnal] external link to company website (or other)
link_title: # [optionnal] # overrides default link title
background_color: white # do not change
deliverables:
challenge-diagram:
challenge:
- lead:
- paragraph:
- paragraph:
# etc.
delivery:
- item:
- paragraph:
- paragraph:
# etc.
- item:
- paragraph:
# etc.
results:
- paragraph:
- paragraph:
# etc.
results-icons:
- image:
title:
- image:
title:
# etc.
testimonial:
- quote:
author:
position:
company:
---
assets/images/carousel/clients_color
folder.Png format. No white space around the logo. File name should be the same as the .md file
jobs.yml
file in _data
folder.- li:
tag.
events.yml
file in _data
folder.Use the YYYY-MM-DD format for the date, it will automatically be displayed in the right format on the website
assets/images/events
..jpg
).image:
tag empty, a default image is set.
_posts
folder.If the title is
Blockchain as a Database
, it becomesYYYY-MM-DD-blockchain-as-a-database
layout: post title: image: # image file name > use a slugify version of the title, remove if no image category: # blog / press-release / news / videos dlc: true # add for PRESS RELEASES if there is a press kit social: # linkedin / medium link: # if news is external headline: # introduction text
- If the news is internal, use [markdown terminology](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) to write the article and it will create the styling automoatically.
<!------------------------------------------------------>
<p> </p>
<!------------------------------------------------------>
---
### [LICENSE](https://github.com/appliedblockchain/ab-website/blob/master/LICENSE)