Skip to content

linksmart/linksmart.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

99732aa · Mar 18, 2021

History

54 Commits
Jul 8, 2019
Jul 24, 2019
Mar 18, 2021
Dec 16, 2020
Jun 7, 2018
May 5, 2018
Jun 7, 2018
Jul 7, 2018
Aug 25, 2017
Aug 25, 2017
Jul 8, 2019
Jul 6, 2019
Jul 7, 2018
Jul 8, 2019
Jul 8, 2019
Aug 25, 2017
Jul 6, 2019
Jul 24, 2019
Oct 21, 2017
Jul 8, 2019

Repository files navigation

linksmart.eu

Source for the LinkSmart website, built and served by GitHub Pages.

Running locally

You need Ruby and gem before starting, then:

# install bundler
gem install bundler

# clone the project
git clone https://github.com/linksmart/linksmart.github.io.git
cd linksmart.github.io

# run jekyll with dependencies
bundle exec jekyll serve

Docker

The docker image generates the site using Jekyll and serves the generated static website with nginx for better performance. Building the image:

$ docker build -t linksmart-site .

Running the image:

$ docker run -p 80:80 -d linksmart-site

Development

This is a Jekyll template to generate the linksmart static website. It uses Sass and Bootstrap v4 for styling. You can add/change variables in _sass/_bootstrap.scss to customize Bootstrap. Other style rules are located in _sass/site.scss.

Content Management

  • The content for tabs is located under _tabs/. You can add new tabs or change the HTML content inside this folder.
  • The domain tab has a list of showcases content that structured as a YAML file under _data/domains.yml.
  • The header is located in _includes/header.html. You can add/change links and elements.
  • Jekyll uses the Liquid templating language to process templates. You can create a new content template to render a data format similar to _includes/header.html & _data/domains.yml.
  • Github Pages automatically builds and serves the content. The build status is shown in the commit history.

License

Apache License, Version 2.0.