GithubHelp home page GithubHelp logo

blog's Introduction

Blog

Build and Deploy to Github Pages Website

Gallery

The gallery system is described here (example website. It is based on lightgallery and isotope.

To generate a new gallery:

First create a set of images of multiple resolutions in images/galleries/<your-gallery>. Images with the same base-name differing only by a suffix will be treated as being the same image with a different resolution. E.g:

images/galleries/<your-gallery>/image1-2000x2000.jpg
images/galleries/<your-gallery>/image1-toto.jpg
images/galleries/<your-gallery>/image1-original.jpg
images/galleries/<your-gallery>/image2-2000x2000.jpg
images/galleries/<your-gallery>/image2-whatever-suffix.jpg
cd _data/galleries
./gallery_creator.py <your-gallery>
# This will rename the images in /images/galleries/<your-gallery> according to their resolution and create a <your-gallery>.yml file containting its configuration

The gallery can then be included with:

{% include gallery-layout.html gallery=site.data.galleries.gallery-test %}

When adding multiple times the same gallery in the same page, then use id_number to distinguish them:

{% include gallery-layout.html gallery=site.data.galleries.gallery-test  id_number="1"  %}
{% include gallery-layout.html gallery=site.data.galleries.gallery-test  id_number="2"  %}

To resize the images in a gallery, edit the width of the .gallery-sizer element in _sass/3-modules/gallery.scss. (TODO this should be a parameter)

CV

The CV page is based on jekyll-cv.

To update the CV, simply edit the information in _data/cv.yaml.

blog's People

Contributors

arntanguy avatar artemsheludko avatar jeyemwey avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.